Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
maschine
v0.1.2
Maschine
Bayes
BayesClassifier
Category
Built with Crystal 1.9.2
2023-10-07 16:29:43 UTC
class
Maschine::Bayes::Category
Maschine::Bayes::Category
Reference
Object
Defined in:
maschine/bayes/bayes_classifier.cr
Constructors
.new
Instance Method Summary
#word_count
: Int32
#word_count=
(val : Int32)
#words
: Hash(String, Int32)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
word_count
: Int32
#
[
View source
]
def
word_count=
(val : Int32)
#
[
View source
]
def
words
: Hash(String, Int32)
#
[
View source
]