Skip to content

Commit

Permalink
bugfixes for generator
Browse files Browse the repository at this point in the history
  • Loading branch information
saehm committed Aug 11, 2023
1 parent a4a7504 commit a8c3d97
Show file tree
Hide file tree
Showing 122 changed files with 211 additions and 2,043 deletions.
1,831 changes: 0 additions & 1,831 deletions dist/druid.esm.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/druid.esm.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions dist/druid.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/druid.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/druid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/druid.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/BallTree.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/DR.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DisjointSet.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/FASTMAP.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/HIPP.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/HNSW.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Heap.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Hierarchical_Clustering.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/ISOMAP.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/KMeans.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/KMedoids.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/KNN.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/LDA.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/LLE.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/LSP.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/LTSA.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/MDS.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Matrix.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/NNDescent.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/OAP.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/OPTICS.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/PCA.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Randomizer.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/SAMMON.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/TSNE.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/TopoMap.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/TriMap.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/UMAP.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/XMeans.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/clustering_Hierarchical_Clustering.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/clustering_KMeans.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/clustering_KMedoids.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/clustering_OPTICS.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/clustering_XMeans.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/clustering_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/datastructure_DisjointSet.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/datastructure_Heap.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/datastructure_index.js.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/dimred_DR.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_FASTMAP.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_HIPP.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_ISOMAP.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_LDA.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_LLE.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_LSP.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_LTSA.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_MDS.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_OAP.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_PCA.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_SAMMON.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_SQDMDS.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_TSNE.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_TopoMap.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_TriMap.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_UMAP.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dimred_index.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/global.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/knn_BallTree.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/knn_HNSW.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/knn_KNN.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/knn_NNDescent.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/knn_dijkstra.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/knn_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_inner_product.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_poweriteration_m.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_poweriteration_n.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_qr.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_qr_givens.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_qr_householder.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_sapi.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_simultaneous_poweriteration.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/linear_algebra_svrg.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_Matrix.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_distance_matrix.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_k_nearest_neighbors.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_linspace.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_norm.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/matrix_normalize.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_canberra.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_chebyshev.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_cosine.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_euclidean.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_euclidean_squared.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_hamming.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_jaccard.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_manhattan.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_sokal_michener.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/metrics_yule.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-clustering.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-datastructure.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-dimensionality_reduction.exports.SQDMDS.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-dimensionality_reduction.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-knn.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-linear_algebra.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-matrix.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/module-metrics.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-numerical.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-optimization.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-utils.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/numerical_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/numerical_kahan_sum.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/numerical_neumair_sum.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/optimization_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/optimization_powell.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/util_index.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/util_max.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/util_min.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/util_randomizer.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@saehrimnir/druidjs",
"version": "0.7.2",
"version": "0.7.3",
"description": "A JavaScript Library for Dimensionality Reduction.",
"keywords": [
"dimensionality reduction",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default [
name: "druid",
},
onwarn,
},/*
} /*
{
input: "index.js",
plugins: [
Expand All @@ -71,5 +71,5 @@ export default [
name: "druid",
},
onwarn,
}, */
}, */,
];
2 changes: 1 addition & 1 deletion src/dimred/DR.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class DR {
* @yields {Matrix|number[][]} the intermediate steps of the projection.
*/
*generator() {
return this.transform();
yield this.transform();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export * from "./dimred/index.js";
export * from "./optimization/index.js";
export * from "./clustering/index.js";
//export { version } from "../package.json" assert { type: "json"};
export const version = "0.7.2";
export const version = "0.7.3";

0 comments on commit a8c3d97

Please sign in to comment.