Skip to content

A Documentation for Classifiers other than Liblinear? #31

@allenanie

Description

@allenanie

Hi,

I am a graduate student very new to NLP. I really enjoy the convenience of Scala so I decide to try out Breeze (and turns out it shared out it's NLP package). I need to use classifiers so I picked up Nak :)

The documentation is good and APIs are great. However, after spending 3 hours writing and reading the document (plus two examples), I can't help but notice they are both for LibLinear classifier. However I really want to try out NaiveBayes, Maximum Entropy (Logistic classifier), and Perceptron (well, I need to do my assignments as students right (: The NakContext has many utility functions like "trainClassifier" or "trainModel" that help building up classifiers but they are again, for Liblinear.

So what should I do if I want to use the three classifiers I mentioned above? I tried to just new them, but certainly I can't put unlabeled and unfeatured raw example in. Is there a way to use them??

I also posted this message on Google Group (at least the first half is the same..)

https://groups.google.com/forum/?fromgroups#!topic/scalanlp-discuss/KeFSy841NIE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions