Liking cljdoc? Tell your friends :D

tech.xgboost.dataset


average-prediction-errorclj

(average-prediction-error train-fn predict-fn label-key loss-fn dataset-seq)

Average prediction error across models generated with these datasets Page 242, https://web.stanford.edu/~hastie/ElemStatLearn/

Average prediction error across models generated with these datasets
Page 242, https://web.stanford.edu/~hastie/ElemStatLearn/
sourceraw docstring

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->k-fold-datasetsclj

(dataset->k-fold-datasets dataset k)
source

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

dataset-seq->dataset-model-seqclj

(dataset-seq->dataset-model-seq train-fn dataset-seq)

Given a sequence of {:train-ds ...} datasets, produce a sequence of: {:model ...} train-ds is removed to keep memory usage as low as possible

Given a sequence of {:train-ds ...} datasets, produce a sequence of:
{:model ...}
train-ds is removed to keep memory usage as low as possible
sourceraw docstring

get-dataset-itemclj

(get-dataset-item dataset-values item-key)
source

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

× close