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 db7cdf5 commit a583542
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 5 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## DruidJS — A JavaScript Library for Dimensionality Reduction.

<a href="#"><img src="icon.svg" width=80 align="left" hspace="10" vspace="6"></a>

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.

<br/><br/>

### Resources
- [Documentation](https://saehm.github.io/DruidJS/index.html)
- [Demo](https://renecutura.eu/druid_demo)
Expand Down Expand Up @@ -49,7 +57,7 @@ If you want to use a `druid.Matrix` object, for instance, with [d3](https://d3js
let data = await d3.csv("data.csv");
let matrix = druid.Matrix.from(data);
d3.selectAll("datapoints").data(matrix.to2dArray)//...
d3.selectAll("datapoints").data(matrix.iterate_rows)//...
d3.selectAll("datapoints").data(matrix.iterate_rows())//...
d3.selectAll("datapoints").data(matrix)//...
```
### DR methods
Expand Down
1 change: 1 addition & 0 deletions clustering/OPTICS.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class OPTICS {
this._expand_cluster(seeds, clusters[cluster_index]);
}
}
return this;
}

/**
Expand Down
181 changes: 181 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@saehrimnir/druidjs",
"version": "0.1.8",
"version": "0.2.0",
"description": "A JavaScript Library for Dimensionality Reduction.",
"keywords": [
"dimensionality reduction",
Expand All @@ -17,9 +17,9 @@
"name": "Rene Cutura",
"url": "http://renecutura.eu"
},
"main": "./dist/druid.js",
"unpkg": "./dist/druid.js",
"jsdelivr": "./dist/druid.js",
"main": "dist/druid.js",
"unpkg": "dist/druid.js",
"jsdelivr": "dist/druid.js",
"module": "index.js",
"devDependencies": {
"better-docs": "^2.3.1",
Expand Down

0 comments on commit a583542

Please sign in to comment.