Class NaiveBayesClassifier
- Namespace
- LibGameAI.NaiveBayes
- Assembly
- NaiveBayes.dll
public class NaiveBayesClassifier
- Inheritance
-
NaiveBayesClassifier
- Inherited Members
Constructors
NaiveBayesClassifier(IEnumerable<string>, IEnumerable<Attrib>)
public NaiveBayesClassifier(IEnumerable<string> labels, IEnumerable<Attrib> attributes)
Parameters
labels
IEnumerable<string>attributes
IEnumerable<Attrib>
Methods
Predict(IDictionary<Attrib, string>)
public string Predict(IDictionary<Attrib, string> attribValues)
Parameters
attribValues
IDictionary<Attrib, string>
Returns
Update(string, IDictionary<Attrib, string>)
public void Update(string label, IDictionary<Attrib, string> attribValues)
Parameters
label
stringattribValues
IDictionary<Attrib, string>