Liking cljdoc? Tell your friends :D

scicloj.ml.smile.maxent


bow->sparse-arrayclj

(bow->sparse-array ds bow-col indices-col options)

Converts a bag-of-word column bow-col to sparse indices column indices-col, as needed by the Maxent model. vocab size is the size of vocabluary used, sorted by token frequency

Converts a bag-of-word column `bow-col` to sparse indices column `indices-col`,
as needed by the Maxent model.
`vocab size` is the size of vocabluary used, sorted by token frequency 
sourceraw docstring

maxent-default-parametersclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close