(->pipeline ops)
(->pipeline config ops)
Create pipeline from declarative description.
Create pipeline from declarative description.
(def-ctx varname)
Convenience macro for defining pipelined operations that bind the current value of the context to a var, for simple debugging purposes.
Convenience macro for defining pipelined operations that bind the current value of the context to a var, for simple debugging purposes.
(do-ctx f)
Apply f:: ctx -> any, ignore the result, leaving pipeline unaffected. Akin to using doseq for side-effecting operations like printing, visualization, or binding to vars for debugging.
Apply f:: ctx -> any, ignore the result, leaving pipeline unaffected. Akin to using doseq for side-effecting operations like printing, visualization, or binding to vars for debugging.
(fit data & ops)
Helper function which executes pipeline op(s) in mode :fit on the given data and returns the fitted ctx.
Main use is for cases in which the pipeline gets executed ones and no model is part of the pipeline.
Helper function which executes pipeline op(s) in mode :fit on the given data and returns the fitted ctx. Main use is for cases in which the pipeline gets executed ones and no model is part of the pipeline.
(fit-pipe data pipe-fn)
Helper function which executes pipeline op(s) in mode :fit on the given data and returns the fitted ctx.
Main use is for cases in which the pipeline gets executed ones and no model is part of the pipeline.
Helper function which executes pipeline op(s) in mode :fit on the given data and returns the fitted ctx. Main use is for cases in which the pipeline gets executed ones and no model is part of the pipeline.
(lift op & params)
Create context aware version of the given op
function. :metamorph/data
will be used as a first parameter.
Result of the op
function will be stored under :metamorph/data
Create context aware version of the given `op` function. `:metamorph/data` will be used as a first parameter. Result of the `op` function will be stored under `:metamorph/data`
(pipe-it data & ops)
Takes a data objects, executes the pipeline op(s) with it in :metamorph/data in mode :fit and returns content of :metamorph/data. Usefull to use execute a pipeline of pure data->data functions on some data
Takes a data objects, executes the pipeline op(s) with it in :metamorph/data in mode :fit and returns content of :metamorph/data. Usefull to use execute a pipeline of pure data->data functions on some data
(transform-pipe data pipe-fn ctx)
Helper functions which execute the passed pipe-fn
on the given data
in mode :transform.
It merges the data into the provided ctx
while doing so.
Helper functions which execute the passed `pipe-fn` on the given `data` in mode :transform. It merges the data into the provided `ctx` while doing so.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close