Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NaiveBayes ¶
type NaiveBayes struct {
// contains filtered or unexported fields
}
func NewFromDataset ¶
func NewFromDataset(data ml.Dataset) *NaiveBayes
func (*NaiveBayes) Fit ¶
func (nb *NaiveBayes) Fit(dataset [][]Column)
func (*NaiveBayes) PredictTo ¶
func (nb *NaiveBayes) PredictTo(probs []DType, object []DType)
func (*NaiveBayes) SetProb ¶
func (nb *NaiveBayes) SetProb(prob []DType)
Click to show internal directories.
Click to hide internal directories.