Skip to content

Commit

Permalink
Updated system to include row-map and re-released.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuernber committed Aug 21, 2021
1 parent 7f7b2c2 commit 042d5ec
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 21 deletions.
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{:paths ["src"]
;;We serialize datasets to transit-json
:deps {com.cognitect/transit-cljs {:mvn/version "0.8.269"}
techascent/tech.ml.dataset {:mvn/version "6.015"}
techascent/tech.ml.dataset {:mvn/version "6.016"}
tick/tick {:mvn/version "0.4.24-alpha"}
com.cognitect/transit-clj {:mvn/version "1.0.324"}}
:aliases
Expand All @@ -21,7 +21,7 @@
:exec-fn hf.depstar/jar
:exec-args {:group-id "com.cnuernber"
:artifact-id "tmdjs"
:version "1.000-beta-8"
:version "1.000-beta-9"
:sync-pom true
:jar "target/tmdjs.jar"}}
;;deploy to clojars
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

54 changes: 41 additions & 13 deletions docs/tech.v3.dataset.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tech.v3.datatype.argops.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>tech.v3.datatype.argops documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="highlight/solarized-light.css" /><script type="text/javascript" src="highlight/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a> with <a href="https://github.com/xsc/codox-theme-rdash">RDash UI</a> theme</h2><h1><a href="index.html"><span class="project-title"><span class="project-name"></span> <span class="project-version">1.000-beta-7</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tech</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>v3</span></div></div></li><li class="depth-3 branch"><a href="tech.v3.dataset.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dataset</span></div></a></li><li class="depth-3"><a href="tech.v3.datatype.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>datatype</span></div></a></li><li class="depth-4 branch current"><a href="tech.v3.datatype.argops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>argops</span></div></a></li><li class="depth-4"><a href="tech.v3.datatype.functional.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>functional</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>libs</span></div></div></li><li class="depth-4"><a href="tech.v3.libs.cljs-ajax.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cljs-ajax</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argfilter"><div class="inner"><span>argfilter</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-arggroup"><div class="inner"><span>arggroup</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-arglast-every"><div class="inner"><span>arglast-every</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argmax"><div class="inner"><span>argmax</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argmin"><div class="inner"><span>argmin</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argsort"><div class="inner"><span>argsort</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-binary-search"><div class="inner"><span>binary-search</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">tech.v3.datatype.argops</h1><div class="doc"><div class="markdown"><p>Index-space algorithms. Implements a subset of the jvm-version.</p>
<html><head><meta charset="UTF-8" /><title>tech.v3.datatype.argops documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="highlight/solarized-light.css" /><script type="text/javascript" src="highlight/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a> with <a href="https://github.com/xsc/codox-theme-rdash">RDash UI</a> theme</h2><h1><a href="index.html"><span class="project-title"><span class="project-name"></span> <span class="project-version">1.000-beta-9</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tech</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>v3</span></div></div></li><li class="depth-3 branch"><a href="tech.v3.dataset.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dataset</span></div></a></li><li class="depth-3"><a href="tech.v3.datatype.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>datatype</span></div></a></li><li class="depth-4 branch current"><a href="tech.v3.datatype.argops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>argops</span></div></a></li><li class="depth-4"><a href="tech.v3.datatype.functional.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>functional</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>libs</span></div></div></li><li class="depth-4"><a href="tech.v3.libs.cljs-ajax.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cljs-ajax</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argfilter"><div class="inner"><span>argfilter</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-arggroup"><div class="inner"><span>arggroup</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-arglast-every"><div class="inner"><span>arglast-every</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argmax"><div class="inner"><span>argmax</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argmin"><div class="inner"><span>argmin</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-argsort"><div class="inner"><span>argsort</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.argops.html#var-binary-search"><div class="inner"><span>binary-search</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">tech.v3.datatype.argops</h1><div class="doc"><div class="markdown"><p>Index-space algorithms. Implements a subset of the jvm-version.</p>
</div></div><div class="public anchor" id="var-argfilter"><h3>argfilter</h3><div class="usage"><code>(argfilter pred data)</code><code>(argfilter data)</code></div><div class="doc"><div class="markdown"><p>Return an array of indexes that pass the filter.</p>
</div></div><div class="src-link"><a href="https://github.com/cnuernber/tmdjs/blob/master/src/tech/v3/datatype/argops.cljs#L29">view source</a></div></div><div class="public anchor" id="var-arggroup"><h3>arggroup</h3><div class="usage"><code>(arggroup data)</code></div><div class="doc"><div class="markdown"><p>Return a map from value-&gt;indexes that hold that value.</p>
</div></div><div class="src-link"><a href="https://github.com/cnuernber/tmdjs/blob/master/src/tech/v3/datatype/argops.cljs#L65">view source</a></div></div><div class="public anchor" id="var-arglast-every"><h3>arglast-every</h3><div class="usage"><code>(arglast-every rdr pred)</code></div><div class="doc"><div class="markdown"><p>Return the last index where (pred (rdr idx) (rdr (dec idx))) was true by
Expand Down
2 changes: 1 addition & 1 deletion docs/tech.v3.datatype.functional.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>tech.v3.datatype.functional documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="highlight/solarized-light.css" /><script type="text/javascript" src="highlight/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a> with <a href="https://github.com/xsc/codox-theme-rdash">RDash UI</a> theme</h2><h1><a href="index.html"><span class="project-title"><span class="project-name"></span> <span class="project-version">1.000-beta-7</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tech</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>v3</span></div></div></li><li class="depth-3 branch"><a href="tech.v3.dataset.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dataset</span></div></a></li><li class="depth-3"><a href="tech.v3.datatype.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>datatype</span></div></a></li><li class="depth-4 branch"><a href="tech.v3.datatype.argops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>argops</span></div></a></li><li class="depth-4 current"><a href="tech.v3.datatype.functional.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>functional</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>libs</span></div></div></li><li class="depth-4"><a href="tech.v3.libs.cljs-ajax.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cljs-ajax</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-descriptive-statistics"><div class="inner"><span>descriptive-statistics</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-distance"><div class="inner"><span>distance</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-distance-squared"><div class="inner"><span>distance-squared</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-equals"><div class="inner"><span>equals</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-magnitude"><div class="inner"><span>magnitude</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-magnitude-squared"><div class="inner"><span>magnitude-squared</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-mean"><div class="inner"><span>mean</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-median"><div class="inner"><span>median</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-percentiles"><div class="inner"><span>percentiles</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-quartiles"><div class="inner"><span>quartiles</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-reduce-max"><div class="inner"><span>reduce-max</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-reduce-min"><div class="inner"><span>reduce-min</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-standard-deviation"><div class="inner"><span>standard-deviation</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-sum"><div class="inner"><span>sum</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-variance"><div class="inner"><span>variance</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">tech.v3.datatype.functional</h1><div class="doc"><div class="markdown"><p>Simple math primitives.</p>
<html><head><meta charset="UTF-8" /><title>tech.v3.datatype.functional documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="highlight/solarized-light.css" /><script type="text/javascript" src="highlight/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a> with <a href="https://github.com/xsc/codox-theme-rdash">RDash UI</a> theme</h2><h1><a href="index.html"><span class="project-title"><span class="project-name"></span> <span class="project-version">1.000-beta-9</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tech</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>v3</span></div></div></li><li class="depth-3 branch"><a href="tech.v3.dataset.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dataset</span></div></a></li><li class="depth-3"><a href="tech.v3.datatype.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>datatype</span></div></a></li><li class="depth-4 branch"><a href="tech.v3.datatype.argops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>argops</span></div></a></li><li class="depth-4 current"><a href="tech.v3.datatype.functional.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>functional</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>libs</span></div></div></li><li class="depth-4"><a href="tech.v3.libs.cljs-ajax.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cljs-ajax</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-descriptive-statistics"><div class="inner"><span>descriptive-statistics</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-distance"><div class="inner"><span>distance</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-distance-squared"><div class="inner"><span>distance-squared</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-equals"><div class="inner"><span>equals</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-magnitude"><div class="inner"><span>magnitude</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-magnitude-squared"><div class="inner"><span>magnitude-squared</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-mean"><div class="inner"><span>mean</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-median"><div class="inner"><span>median</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-percentiles"><div class="inner"><span>percentiles</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-quartiles"><div class="inner"><span>quartiles</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-reduce-max"><div class="inner"><span>reduce-max</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-reduce-min"><div class="inner"><span>reduce-min</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-standard-deviation"><div class="inner"><span>standard-deviation</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-sum"><div class="inner"><span>sum</span></div></a></li><li class="depth-1"><a href="tech.v3.datatype.functional.html#var-variance"><div class="inner"><span>variance</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">tech.v3.datatype.functional</h1><div class="doc"><div class="markdown"><p>Simple math primitives.</p>
</div></div><div class="public anchor" id="var-descriptive-statistics"><h3>descriptive-statistics</h3><div class="usage"><code>(descriptive-statistics stats v)</code></div><div class="doc"><div class="markdown"><p>Given a sequence of desired stats return a map of statname-&gt;value.</p>
<p>Example:</p>
<pre><code class="language-clojure">cljs.user&gt; (dfn/descriptive-statistics [:min :max :mean :n-values] (range 10))
Expand Down
Loading

0 comments on commit 042d5ec

Please sign in to comment.