dotnet / dotnet/infer

Strings Features for BayesPointMachineClassifier

Open
#92 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
1.6k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

I tried to made a model able to predict a string through a list of number and strings, when I tried to give a object for the mapping I can´t because it only recibe a Vector for the feature.

IClassifierMapping, int, IList, string, **Vector**>

Then I made a dictionary for all the strings in the features, and take the index of each words to pass the value in the vector, but when the model was made the results allways are the same, no matter if I change the parammeters.

If I used the ML.net library with the same data and a Stochastic model, I recibe corrects values for the parammeters.

Do you have some example for strings features to the BayesPointMachineClassifier or is not possible for this kind of models take strigns.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.