class

Naive::TrainedData

Inherits Reference < Object

Constructors

Instance methods

docCountOfClasses
Source
frequencies
Source
getClassDocCount(className : String)

returns document count of the class. If class is not available, it returns Nil

Source
getClasses

returns the names of the available classes as list

Source
getDocCount

returns all documents count

Source
getFrequency(token : String, className : String) : Int32 | Nil
Source
increaseClass(className : String, byAmount : Int = 1)
Source
increaseToken(token : String, className : String, byAmount : Int = 1)
Source