We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 700ad09 commit 299c7e2Copy full SHA for 299c7e2
src/emodel.jl
@@ -59,6 +59,7 @@ function VectorModel(ent::EntropyWeighting, lw::LocalWeighting, voc::Vocabulary,
59
comb::CombineWeighting=NormalizedEntropy(),
60
minbatch=0, verbose=true
61
)
62
+ labels = categorical(labels)
63
@assert length(labels) == length(corpus)
64
labels = categorical_labels(labels)
65
n = length(labels)
0 commit comments