Re: a slightly updated rpm spec file for Ger Hobbelt crm114 branch
Bill Yerazunis <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
From: Paolo <[email protected]> yes, and no: that's the old point of fully modularizing it, like the (now only) compile-time classifiers-list option - just add the crm-engine as module. But once you've torn it apart into its little components, it'll be a nice option among a host of others for experts, and little interesting for many others. Not everybody interested in stats/data mining/whatever grok some prg idiom, esp these days with abundant computing facilities; in this scenario, the stock crm114 is a small & fast, self-contained 1-stop solution for such tasks, and once you get reasonably used to crm, you can use it ~same way in a few platforms. > GerH is a fork. And apparently, that's official. there's nothing wrong with that. Indeed. Nice thing about forks is you don't feel bad about looking thru their code. :) Also- Ger's point about having the _classifers_ separated from the filesystem is really quite important. We'll do it that way. (thanks, Ger.) So, the calls really should look something like (in context...) ... blah blah blah... // some code that gets me a pointer to the in-memory statistics bytes, // like crm_mmap(), mmap(), even stat()+malloc()+fread() crm_classify ( "osb unique", char * unk_ptr, long unk_length_bytes, long unk_start_index, char * statistics_1_ptr, long statistics_1_len, CRM_RESULT_STRUCT *results ); Now, here's the question... what about multiple statistics files (that is, more than one?) The "new" statistics files are pluripotent, that is, they will contain both positive and negative examples. But should we have a way to put more than one of them into a call? I vote "figure that out later, probably in a wrapper function". - Bill Yerazunis ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword