Liking cljdoc? Tell your friends :D

anglican.results

Processing results

Processing results
raw docstring

cli-optionsclj


countable?clj

(countable? value)

true when the value looks countable

true when the value looks countable
raw docstring

default-configclj

default option values

default option values
raw 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
raw 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
raw 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
raw docstring

error-msgclj

(error-msg errors)

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

included?clj

(included? only exclude label)

true when the label should be included

true when the label should be included
raw docstring

KLclj

(KL p-freqs q-freqs)

computes Kullback-Leibler divergence for value frequencies.

computes Kullback-Leibler divergence for value frequencies.
raw docstring

KSclj

(KS sa sb)

computes Kolmogorov-Smirnov distance for two samples

computes Kolmogorov-Smirnov distance for two samples
raw docstring

L2clj

(L2 p-freqs q-freqs)

computes L2 distance for value frequencies.

computes L2 distance for value frequencies.
raw 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
raw 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
raw docstring

parse-linecljmultimethod

parses output line and returns [label value height]

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

parsed-line-seqclj

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

parses line sequence

parses line sequence
raw 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
raw 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.
raw 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
raw docstring

sm-seqclj

(sm-seq predicts)

accets a sequence of predicts and produces sample sequence

accets a sequence of predicts and produces sample sequence
raw 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
raw 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
raw docstring

unmapclj

(unmap options)

transforms keyword arguments from map to sequence

transforms keyword arguments from map to sequence
raw docstring

usageclj

(usage summary)

weights-to-freqsclj

(weights-to-freqs weights)

computes frequences from weights for each label

computes frequences from weights for each label
raw docstring

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

× close