Message Boards Message Boards

0
|
7063 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

Get right probability for Classify Colors in MMA 11.3.0.0 on RPi?

This seems to execute incorrectly on RPi with incorrect probability any thoughts would be appreciated! Thanks.

Directly from the Wolfram Documentation Center :

Classify >> Examples >> Scope >> Custom Classifiers

Train a classifier on image examples, gathered by their class:

enter image description here

POSTED BY: Terrance Teslow

Dear Terrance, this behavior is strange because the automation is supposed to discard models that give bad probabilities like this, but it can happen in small dataset. Most likely the "RandomForest" method is selected here (you can obtain such information by doing ClassifierInformation[c] ), and this method is not great to give good probabilities.

You can try to improve the model quality by doing

Classify[..., PerformanceGoal ->"Quality"] 

or setting up a time goal, e.g.

Classify[..., TimeGoal -> 10]

or choosing a method yourself, e.g.

Classify[..., Method->"LogisticRegression"]

Finally, you can try to add more data, this should help the automation to do the right thing by testing on larger test sets.

Thanks, Etienne

POSTED BY: Etienne Bernard
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract