(reduce-dimensions algorithm target-dims cnames opts)
Metamorph transformer, which reduces the dimensions of a given dataset.
algorithm
can be any of:
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 . |
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`.
(smile-mercer k)
Create Smile Mercer Kernel object
Used to pass to Smile constructors/functions.
Create Smile Mercer Kernel object Used to pass to Smile constructors/functions.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close