Liking cljdoc? Tell your friends :D
Clojure only.

tech.ml.protocols


PMLSystemcljprotocol

coalesce-optionsclj

(coalesce-options system options)

Force double or float arrays by setting coalesce options. See dataset/coalesce-dataset, dataset/apply-dataset-options

Force double or float arrays by setting coalesce options.
See dataset/coalesce-dataset,
dataset/apply-dataset-options

gridsearch-optionsclj

(gridsearch-options system options)

Given an options map which must include at least model-type, return a new options map in the format that gridsearch requires. Note these are general options, documentation specific to each system will include much more extensive possible options.

Given an options map which must include at least model-type, return a new
options map in the format that gridsearch requires.  Note these are general options,
documentation specific to each system will include much more extensive possible
options.

predictclj

(predict system options model coalesced-dataset)

Predict the result given this model. Regression predictions can be sequences of doubles as can binary classification predictions. Multiclass predictions should have each return a map of class probabilities.

Predict the result given this model.  Regression predictions can be sequences of doubles
as can binary classification predictions.  Multiclass predictions should have each return a map
of class probabilities.

system-nameclj

(system-name system)

trainclj

(train system options coalesced-dataset)

Given these options return a model. Model ideally is either a primitive byte array or a clojure hash map.

Given these options return a model.  Model ideally is either a primitive byte array
or a clojure hash map.
source

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

× close