Liking cljdoc? Tell your friends :D

scicloj.ml.smile.projections


process-reduction-fitclj

(process-reduction-fit ds algorithm target-dims cnames opts)

process-reduction-transformclj

(process-reduction-transform ds model cnames target-columns)

reduce-dimensionsclj

(reduce-dimensions algorithm target-dims cnames opts)

Metamorph transformer, which reduces the dimensions of a given dataset.

algorithm can be any of:

  • :pca-cov
  • :pca-cor
  • :pca-prob
  • :kpca
  • :gha
  • :random

target-dims is number of dimensions to reduce to.

cnames is a sequence of column names on which the reduction get performed

opts are the options of the algorithm

metamorph.
Behaviour in mode :fitReduces dimensions of the dataset at key :metamorph/data and stores the trained model in ctx under key at :metamorph/id
Behaviour in mode :transformReads trained reduction model from ctx and applies it to data in :metamorph/data
Reads keys from ctxIn mode :transform : Reads trained model to use from ctx at key in :metamorph/id.
Writes keys to ctxIn mode :fit : Stores trained model in ctx under key in :metamorph/id.
Metamorph transformer, which reduces the dimensions of a given dataset.

`algorithm` can be any of:
  * :pca-cov
  * :pca-cor
  * :pca-prob
  * :kpca
  * :gha
  * :random

`target-dims` is number of dimensions to reduce to.

`cnames` is a sequence of column names on which the reduction get performed

`opts` are the options of the algorithm

metamorph                            | .
-------------------------------------|----------------------------------------------------------------------------
Behaviour in mode :fit               | Reduces dimensions of the dataset at key `:metamorph/data` and stores the trained model in ctx under key at `:metamorph/id`
Behaviour in mode :transform         | Reads trained reduction model from ctx and applies it to data in `:metamorph/data`
Reads keys from ctx                  | In mode `:transform` : Reads trained model to use from ctx at key in `:metamorph/id`.
Writes keys to ctx                   | In mode `:fit` : Stores trained model in ctx under key in `:metamorph/id`.

raw docstring

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

× close