Processing results
Processing results
(countable? value)
true when the value looks countable
true when the value looks countable
(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
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
(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 each
step' 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
(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
(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
reads truth from stdin and returns a structure suitable for diff-seq
reads truth from stdin and returns a structure suitable for diff-seq
(included? only exclude label)
true when the label should be included
true when the label should be included
(KL p-freqs q-freqs)
computes Kullback-Leibler divergence for value frequencies.
computes Kullback-Leibler divergence for value frequencies.
(KS sa sb)
computes Kolmogorov-Smirnov distance for two samples
computes Kolmogorov-Smirnov distance for two samples
(L2 p-freqs q-freqs)
computes L2 distance for value frequencies.
computes L2 distance for value frequencies.
(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
(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
parses output line and returns [label value height]
parses output line and returns [label value height]
(parsed-line-seq lines)
(parsed-line-seq lines format)
parses line sequence
parses line sequence
(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
(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.
(search-sorted grid values)
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
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
(sm-seq predicts)
accets a sequence of predicts and produces sample sequence
accets a sequence of predicts and produces sample sequence
(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
(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
(unmap options)
transforms keyword arguments from map to sequence
transforms keyword arguments from map to sequence
(weights-to-freqs weights)
computes frequences from weights for each label
computes frequences from weights for each label
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close