November 2018
Beginner to intermediate
348 pages
8h 32m
English
In the earlier parts of the chapter, we sketched out a dummy Classifier type that does nothing. Let's make it do something now:
type Classifier struct { corpus *corpus.Corpus tfidfs [MAXCLASS]*tfidf.TFIDF totals [MAXCLASS]float64 ready bool sync.Mutex}
Here, there are introductions to a few things. Let's walk them through one by one:
Read now
Unlock full access