@datagrok/eda 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/src/package.ts +10 -10
package/package.json
CHANGED
package/src/package.ts
CHANGED
|
@@ -29,7 +29,7 @@ export async function init(): Promise<void> {
|
|
|
29
29
|
|
|
30
30
|
//top-menu: ML | Dimensionality Reduction | PCA...
|
|
31
31
|
//name: PCA
|
|
32
|
-
//description: Principal component analysis (PCA)
|
|
32
|
+
//description: Principal component analysis (PCA)
|
|
33
33
|
//input: dataframe table
|
|
34
34
|
//input: column_list features {type: numerical}
|
|
35
35
|
//input: int components = 2 {caption: Components} [Number of components.]
|
|
@@ -46,13 +46,13 @@ export async function PCA(table: DG.DataFrame, features: DG.ColumnList, componen
|
|
|
46
46
|
|
|
47
47
|
//top-menu: ML | Dimensionality Reduction | UMAP...
|
|
48
48
|
//name: UMAP
|
|
49
|
-
//description: Uniform Manifold Approximation and Projection (UMAP)
|
|
49
|
+
//description: Uniform Manifold Approximation and Projection (UMAP)
|
|
50
50
|
//input: dataframe table {category: Data}
|
|
51
51
|
//input: column_list features {type: numerical; category: Data}
|
|
52
|
-
//input: int components = 2 {caption: Components; category: Hyperparameters} [The number of components (dimensions) to project the data to.]
|
|
52
|
+
//input: int components = 2 {caption: Components; min: 1; max: 20; category: Hyperparameters} [The number of components (dimensions) to project the data to.]
|
|
53
53
|
//input: int epochs = 100 {caption: Epochs; category: Hyperparameters} [The number of epochs to optimize embeddings.]
|
|
54
54
|
//input: int neighbors = 15 {caption: Neighbors; category: Hyperparameters} [The number of nearest neighbors to construct the fuzzy manifold.]
|
|
55
|
-
//input: double minDist = 0.1 {caption: Minimum distance; category: Hyperparameters} [The effective minimum distance between embedded points.]
|
|
55
|
+
//input: double minDist = 0.1 {caption: Minimum distance; min: 0; max: 1; category: Hyperparameters} [The effective minimum distance between embedded points.]
|
|
56
56
|
//input: double spread = 1.0 {caption: Spread; category: Hyperparameters} [The effective scale of embedded points.]
|
|
57
57
|
//output: dataframe result {action:join(table)}
|
|
58
58
|
export async function UMAP(table: DG.DataFrame, features: DG.ColumnList, components: number,
|
|
@@ -63,7 +63,7 @@ export async function UMAP(table: DG.DataFrame, features: DG.ColumnList, compone
|
|
|
63
63
|
|
|
64
64
|
//top-menu: ML | Dimensionality Reduction | t-SNE...
|
|
65
65
|
//name: t-SNE
|
|
66
|
-
//description: t-distributed stochastic neighbor embedding (t-SNE)
|
|
66
|
+
//description: t-distributed stochastic neighbor embedding (t-SNE)
|
|
67
67
|
//input: dataframe table {category: Data}
|
|
68
68
|
//input: column_list features {type: numerical; category: Data}
|
|
69
69
|
//input: int components = 2 {caption: Components; category: Hyperparameters} [Dimension of the embedded space.]
|
|
@@ -79,7 +79,7 @@ export async function tSNE(table: DG.DataFrame, features: DG.ColumnList, compone
|
|
|
79
79
|
|
|
80
80
|
//top-menu: ML | Dimensionality Reduction | SPE...
|
|
81
81
|
//name: SPE
|
|
82
|
-
//description: Stochastic proximity embedding (SPE)
|
|
82
|
+
//description: Stochastic proximity embedding (SPE)
|
|
83
83
|
//input: dataframe table {category: Data}
|
|
84
84
|
//input: column_list features {type: numerical; category: Data}
|
|
85
85
|
//input: int dimension = 2 {caption: Dimension; category: Hyperparameters} [Dimension of the embedded space.]
|
|
@@ -162,7 +162,7 @@ export async function demoMultivariateAnalysis(): Promise<any> {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
//name: Generate linear separable dataset
|
|
165
|
-
//description: Generates linear separble dataset for testing binary classificators
|
|
165
|
+
//description: Generates linear separble dataset for testing binary classificators
|
|
166
166
|
//input: string name = 'Data' {caption: name; category: Dataset}
|
|
167
167
|
//input: int samplesCount = 1000 {caption: samples; category: Size}
|
|
168
168
|
//input: int featuresCount = 2 {caption: features; category: Size}
|
|
@@ -178,7 +178,7 @@ export async function testDataLinearSeparable(name: string, samplesCount: number
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
//name: Generate linear non-separable dataset
|
|
181
|
-
//description: Generates linear non-separble dataset for testing binary classificators
|
|
181
|
+
//description: Generates linear non-separble dataset for testing binary classificators
|
|
182
182
|
//input: string name = 'Data' {caption: name; category: Dataset}
|
|
183
183
|
//input: double sigma = 90 {caption: sigma; category: Hyperparameters} [RBF-kernel paramater]
|
|
184
184
|
//input: int samplesCount = 1000 {caption: samples; category: Size}
|
|
@@ -321,8 +321,8 @@ export async function applySigmoidKernelSVM(df: DG.DataFrame, model: any): Promi
|
|
|
321
321
|
return await getPrediction(df, model);
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
//top-menu: ML |
|
|
325
|
-
//name:
|
|
324
|
+
//top-menu: ML | Analyze | ANOVA...
|
|
325
|
+
//name: ANOVA
|
|
326
326
|
//description: One-way analysis of variances (ANOVA) determines whether the examined factor has a significant impact on the studied feature.
|
|
327
327
|
//input: dataframe table
|
|
328
328
|
//input: column factor {type: categorical}
|