Liking cljdoc? Tell your friends :D

scicloj.metamorph.core


->pipelineclj

(->pipeline ops)
(->pipeline config ops)

Create pipeline from declarative description.

Create pipeline from declarative description.
sourceraw docstring

def-ctxcljmacro

(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.
sourceraw docstring

do-ctxclj

(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.
sourceraw docstring

fitclj

(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.
sourceraw docstring

fit-pipeclj

(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.
sourceraw docstring

liftclj

(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`
sourceraw docstring

pipe-itclj

(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
sourceraw docstring

pipelineclj

(pipeline & ops)
source

transform-pipeclj

(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.
sourceraw docstring

uuidclj

(uuid)
source

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

× close