
For my research at the university, I've become a lead developer for
ELKI, a framework
for developing data mining algorithms along with index structures, to be
able to one one hand quickly implement new algorithms (by being able to
reuse a lot of code, in particular index structures, parsers, ...),
but also on the other hand to evaluate the interaction of index structures
with different algorithms, distance functions, and so on.
The new version 0.3 which adds a lot of new outlier detection methods will be
published beginning of April at
DASFAA 2010.
(Note that this is designed for research and teaching use; code extensibility,
readability etc. instead of maximized performance. You might want to do a
rewrite in C for maximum performance, since Java does give you quite a memory
and performance overhead in these setups.)After this release, we will be doing a major redesign of the database and
index layer, to allow better comparison of different index structures in
parallel; right now it's hard to use more than one at a time, and building
e.g. a combined index structure is a larger effort than we'd like it to be.
During the process of redesigning the database layer, I'll also be improving
the database update or "streaming" API.If you know of a nice API for streaming databases, please send me an Email
to
erich -at- debian -dot- org.Note that I'm looking for a programming API, i.e. "interfaces". Not for random
data sources such as Twitter. Also I really need an API able to model
data changes, not just "
events" aka "instances". So please
don't point me to what Twitter calls a "streaming API". What I'm looking for is
a nicely-designed API to allow programmers to react to
Database
changes, such as insertions, deletions, updates, bulk operations etc. and
update their index structures and algorithm results accordingly. An example
would be the "oracle streams" API I believe; MySQL probably has a logging (used
in their replication hacks) which can also be seen as a database stream. But
these are designed around a RDBMS view, and not so much for data mining.
Weka/MOA Streams seems to be just event/instance streams, where there is no
such thing as a bulk insert or even a deletion. Of course there are many use
cases where you will be happy with working on just the previous n instances.
The more general case however handles arbitrary inserts and deletes, instead of
having just inserts (and implicit delitions by an expiry strategy). And yes,
of course you can in turn wrap database events as instances into an event
stream (with "insert", "update", "delete" events) ...Yes, I'm aware that this kind of setup was abandoned for what is called a
"stream processing engine" (SPE) in many use cases, that do not care about
"old" data or deletions in general. We'd like to be able to support both
approaches, also to be able to do fair comparisons.Of course you can also point me to badly done APIs, and explain me where they
fall short for you. We're not so much interested in copying some API, but we'd
just like to design a good API for people to do research on stream processing
in a database context (e.g. index support for streaming data, online
algorithms, ...) Or you can write me a mock-up API that you would deem
useful.