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.
raw docstring

check-metamorph-compliantclj

(check-metamorph-compliant ctx op)

ctxclj


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.
raw 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.
raw 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.
raw 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.
raw 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`
raw docstring

log-and-applyclj

(log-and-apply f args)

opclj


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
raw docstring

pipelineclj

(pipeline & ops)

Create a metamorph pipeline function out of operators.

ops are metamorph compliant functions (basicaly fn, which takle a ctx as first argument)

This function returns a function, whcih can ve execute with a ctx as parameter.

Create a metamorph pipeline function out of operators.

`ops` are metamorph compliant functions (basicaly fn, which takle a ctx as first argument)

This function returns a function, whcih can ve execute with a ctx as parameter.
raw docstring

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.
raw docstring

uuidclj

(uuid)

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

× close