Liking cljdoc? Tell your friends :D

anglican.results

Processing results

Processing results
raw docstring

cli-optionsclj

source

countable?clj

(countable? value)

true when the value looks countable

true when the value looks countable
sourceraw docstring

default-configclj

default option values

default option values
sourceraw docstring

diffclj

(diff & args)

command-line/REPL utility that takes problem configuration and inference output and produces differences between the input and the truth

command-line/REPL utility that takes problem configuration
and inference output and produces differences between
the input and the truth
sourceraw docstring

diff-seqcljmultimethod

reads results from stdin and returns a lazy sequence of distances from the truth

reads results from stdin and returns a lazy sequence
of distances from the truth
sourceraw docstring

distance-seqclj

(distance-seq smry-seq
              distance
              truth
              &
              {:keys [skip step only exclude]
               :or {skip 0 step 1 only nil exclude #{}}
               :as options})

reads results from stdin and returns a lazy sequence of distances, skipping first skip' predict lines and then producing a sequence entry eachstep' predict lines

reads results from stdin and returns a lazy sequence
of distances, skipping first `skip' predict lines and
then producing a sequence entry each `step' predict lines
sourceraw docstring

error-msgclj

(error-msg errors)
source

fq-seqclj

(fq-seq predicts)

accepts a sequence of predicts and produces a sequence of frequencies

accepts a sequence of predicts
and produces a sequence of frequencies
sourceraw docstring

freqsclj

(freqs)

reads results from stdin and writes the frequency table for every integer-valued predict

reads results from stdin and writes the frequency table
for every integer-valued predict
sourceraw docstring

get-truthcljmultimethod

reads truth from stdin and returns a structure suitable for diff-seq

reads truth from stdin and returns
a structure suitable for diff-seq
sourceraw docstring

included?clj

(included? only exclude label)

true when the label should be included

true when the label should be included
sourceraw docstring

KLclj

(KL p-freqs q-freqs)

computes Kullback-Leibler divergence for value frequencies.

computes Kullback-Leibler divergence for value frequencies.
sourceraw docstring

KSclj

(KS sa sb)

computes Kolmogorov-Smirnov distance for two samples

computes Kolmogorov-Smirnov distance for two samples
sourceraw docstring

L2clj

(L2 p-freqs q-freqs)

computes L2 distance for value frequencies.

computes L2 distance for value frequencies.
sourceraw docstring

meansdclj

(meansd)

reads results from stdin and writes the mean and standard deviation for each predict

reads results from stdin and writes the mean and
standard deviation for each predict
sourceraw docstring

ms-seqclj

(ms-seq predicts)

accepts a sequence of predicts and produces a sequence of mean and sd for each label

accepts a sequence of predicts
and produces a sequence of mean and sd for each label
sourceraw docstring

parse-linecljmultimethod

parses output line and returns [label value height]

parses output line and returns [label value height]
sourceraw docstring

parsed-line-seqclj

(parsed-line-seq lines)
(parsed-line-seq lines format)

parses line sequence

parses line sequence
sourceraw docstring

read-summariesclj

(read-summaries smry-seq
                &
                {:keys [skip step only exclude]
                 :or {skip 0 step 1 only nil exclude #{}}
                 :as options})

reads summaries from standard input

reads summaries from standard input
sourceraw docstring

redircljmacro

(redir [& {:keys [in out] :as args}] & body)

Input/output redirection macro, useful for running inference and processing results from the REPL. The syntax is:

(redir [:in "input-file-name" :out "output-file-name"] actions ...)

Either :in or :out (or both) can be omitted. if the output file name begins with '+', '+' is removed and the output is appended to the file.

Input/output redirection macro,
useful for running inference and processing results
from the REPL. The syntax is:

  (redir [:in "input-file-name" :out "output-file-name"]
    actions ...)

Either :in or :out (or both) can be omitted.
if the output file name begins with '+', '+' is removed
and the output is appended to the file.
sourceraw docstring

search-sortedclj

(search-sorted grid values)

returns a sequence of indices such that if values' are inserted at the indices intogrid', grid' remains sorted; assumes that bothgrid' and `values' are sorted

returns a sequence of indices such that if `values' are
inserted at the indices into `grid', `grid' remains sorted;
assumes that both `grid' and `values' are sorted
sourceraw docstring

sm-seqclj

(sm-seq predicts)

accets a sequence of predicts and produces sample sequence

accets a sequence of predicts and produces sample sequence
sourceraw docstring

sums-to-meansdclj

(sums-to-meansd sums)

accepts total sums for labels and computes mean and sd for each label

accepts total sums for labels
and computes mean and sd for each label
sourceraw docstring

totalsclj

(totals smry-seq & {:keys [only exclude] :or {only nil exclude #{}}})

reads results from stdin and returns totals filtered by smry-seq

reads results from stdin and returns totals filtered by smry-seq
sourceraw docstring

unmapclj

(unmap options)

transforms keyword arguments from map to sequence

transforms keyword arguments from map to sequence
sourceraw docstring

usageclj

(usage summary)
source

weights-to-freqsclj

(weights-to-freqs weights)

computes frequences from weights for each label

computes frequences from weights for each label
sourceraw docstring

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

× close