@datagrok/eda 1.1.1 → 1.1.2
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 +4 -7
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/src/package.ts +4 -4
package/package.json
CHANGED
package/src/package.ts
CHANGED
|
@@ -29,7 +29,7 @@ export async function init(): Promise<void> {
|
|
|
29
29
|
//name: PCA
|
|
30
30
|
//description: Principal component analysis (PCA).
|
|
31
31
|
//input: dataframe table
|
|
32
|
-
//input: column_list features
|
|
32
|
+
//input: column_list features {type: numerical}
|
|
33
33
|
//input: int components = 2
|
|
34
34
|
//input: bool center = true
|
|
35
35
|
//input: bool scale = true
|
|
@@ -40,13 +40,13 @@ export async function PCA(table: DG.DataFrame, features: DG.ColumnList, componen
|
|
|
40
40
|
return renamePCAcolumns(await computePCA(table, features, components, center, scale));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
//top-menu:
|
|
43
|
+
//top-menu: ML | Multivariate Analysis (PLS)...
|
|
44
44
|
//name: Multivariate Analysis (PLS)
|
|
45
45
|
//description: Multidimensional data analysis using partial least squares (PLS) regression. It reduces the predictors to a smaller set of uncorrelated components and performs least squares regression on them.
|
|
46
46
|
//input: dataframe table
|
|
47
47
|
//input: column names
|
|
48
|
-
//input: column_list features
|
|
49
|
-
//input: column predict
|
|
48
|
+
//input: column_list features {type: numerical}
|
|
49
|
+
//input: column predict {type: numerical}
|
|
50
50
|
//input: int components = 3
|
|
51
51
|
export async function PLS(table: DG.DataFrame, names: DG.Column, features: DG.ColumnList,
|
|
52
52
|
predict: DG.Column, components: number): Promise<void>
|