[Israel.pm] Classifier
Shlomo Yona
shlomo at cs.haifa.ac.il
Mon Jun 7 23:23:11 PDT 2004
On Tue, 8 Jun 2004, Pinkhas Nisanov wrote:
> I think "Classifier" looks better in OO way, something like:
> my $classifier = new Classifier (
> learning_rate => LEARNING_RATE,
> threshold => THRESHOLD );
> $classifier->learn(
> [[TRUE, TRUE],
> [FALSE, FALSE]],
> [TRUE, FALSE] );
> $classifier->classify( [TRUE, FALSE] );
I agree, it does look better -- nonetheless, I'm not a big
fan of OOP.. perhaps because I don't practice it more than I
really have to.
> It could be interesting to implement "Classifier" with "XS" and
> compare performance.
I suppose XS will be faster :-)
> >There are also other classifiers out there on CPAN, so if
> >you're into machine learning, you might want to check them
> >out too.
> >
> >
> bring some live examples for using it if you can
AI::Categorizer
AI::DecisionTree
AI::Genetic
AI::Perceptron
and more...
--
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/
More information about the Perl
mailing list