Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
saehm committed Sep 6, 2020
1 parent a583542 commit c44179f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
5 changes: 3 additions & 2 deletions dist/druid.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// https://renecutura.eu v0.1.8 Copyright 2020 Rene Cutura
// https://renecutura.eu v0.2.0 Copyright 2020 Rene Cutura
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
Expand Down Expand Up @@ -3928,6 +3928,7 @@ class OPTICS {
this._expand_cluster(seeds, clusters[cluster_index]);
}
}
return this;
}

/**
Expand Down Expand Up @@ -4136,7 +4137,7 @@ class LSP extends DR {
}
}

var version = "0.1.8";
var version = "0.2.0";

exports.BallTree = BallTree;
exports.FASTMAP = FASTMAP;
Expand Down
4 changes: 2 additions & 2 deletions dist/druid.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/OPTICS.html
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ <h5>Parameters:</h5>
<p class="tag-source">
<a href="clustering_OPTICS.js.html" class="button">View Source</a>
<span>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line97">line 97</a>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line98">line 98</a>
</span>
</p>

Expand Down Expand Up @@ -766,7 +766,7 @@ <h5>Parameters:</h5>
<p class="tag-source">
<a href="clustering_OPTICS.js.html" class="button">View Source</a>
<span>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line138">line 138</a>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line139">line 139</a>
</span>
</p>

Expand Down Expand Up @@ -914,7 +914,7 @@ <h5>Parameters:</h5>
<p class="tag-source">
<a href="clustering_OPTICS.js.html" class="button">View Source</a>
<span>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line76">line 76</a>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line77">line 77</a>
</span>
</p>

Expand Down Expand Up @@ -1116,7 +1116,7 @@ <h5>Parameters:</h5>
<p class="tag-source">
<a href="clustering_OPTICS.js.html" class="button">View Source</a>
<span>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line112">line 112</a>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line113">line 113</a>
</span>
</p>

Expand Down Expand Up @@ -1209,7 +1209,7 @@ <h4 class="name" id="get_cluster_affirmation">
<p class="tag-source">
<a href="clustering_OPTICS.js.html" class="button">View Source</a>
<span>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line175">line 175</a>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line176">line 176</a>
</span>
</p>

Expand Down Expand Up @@ -1331,7 +1331,7 @@ <h4 class="name" id="get_clusters">
<p class="tag-source">
<a href="clustering_OPTICS.js.html" class="button">View Source</a>
<span>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line157">line 157</a>
<a href="clustering_OPTICS.js.html">clustering/OPTICS.js</a>, <a href="clustering_OPTICS.js.html#line158">line 158</a>
</span>
</p>

Expand Down
1 change: 1 addition & 0 deletions docs/clustering_OPTICS.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ <h1>clustering/OPTICS.js</h1>
this._expand_cluster(seeds, clusters[cluster_index]);
}
}
return this;
}

/**
Expand Down
7 changes: 6 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ <h3> </h3>

<section>
<article><h2>DruidJS — A JavaScript Library for Dimensionality Reduction.</h2>
<p><a href="#"><img src="icon.svg" width=80 align="left" hspace="10" vspace="6"></a></p>
<p>DruidJS is a JavaScript library for dimensionality reduction.
With dimesionality reduction you can project high-dimensional data to a lower dimensionality while keeping method-specific properties of the data.
DruidJS makes it easy to project a dataset with the implemented dimensionality reduction methods.</p>
<p><br/><br/></p>
<h3>Resources</h3>
<ul>
<li><a href="https://saehm.github.io/DruidJS/index.html">Documentation</a></li>
Expand Down Expand Up @@ -140,7 +145,7 @@ <h3>Matrix</h3>
<pre class="prettyprint source lang-js"><code> let data = await d3.csv(&quot;data.csv&quot;);
let matrix = druid.Matrix.from(data);
d3.selectAll(&quot;datapoints&quot;).data(matrix.to2dArray)//...
d3.selectAll(&quot;datapoints&quot;).data(matrix.iterate_rows)//...
d3.selectAll(&quot;datapoints&quot;).data(matrix.iterate_rows())//...
d3.selectAll(&quot;datapoints&quot;).data(matrix)//...
</code></pre>
<h3>DR methods</h3>
Expand Down

0 comments on commit c44179f

Please sign in to comment.