Liking cljdoc? Tell your friends :D

tech.xgboost.dataset


dataset->dmatrixclj

(dataset->dmatrix dataset feature-keys label-key)

Dataset is a sequence of maps. Each contains a feature key. Returns a dmatrix.

Dataset is a sequence of maps.  Each contains a feature key.
Returns a dmatrix.
sourceraw docstring

dataset->labeled-point-iteratorclj

(dataset->labeled-point-iterator dataset
                                 feature-keys
                                 label-key
                                 &
                                 {:keys [weight group]
                                  :or {weight 1.0 group -1}})

Create an iterator to labeled points from a possibly quite large sequence of maps. Sets expected length to length of first entry

Create an iterator to labeled points from a possibly quite large
sequence of maps.  Sets expected length to length of first entry
sourceraw docstring

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

× close