@datagrok/eda 1.1.15 → 1.1.16

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/package.json CHANGED
@@ -1,35 +1,36 @@
1
1
  {
2
2
  "name": "@datagrok/eda",
3
3
  "friendlyName": "EDA",
4
- "version": "1.1.15",
4
+ "version": "1.1.16",
5
5
  "description": "Exploratory Data Analysis Tools",
6
6
  "dependencies": {
7
- "@datagrok-libraries/ml": "^6.4.11",
7
+ "@datagrok-libraries/math": "^1.0.8",
8
+ "@datagrok-libraries/ml": "^6.5.0",
8
9
  "@datagrok-libraries/tutorials": "^1.3.6",
9
10
  "@datagrok-libraries/utils": "^4.1.44",
10
- "@datagrok-libraries/math": "^1.0.7",
11
11
  "@keckelt/tsne": "^1.0.2",
12
+ "@webgpu/types": "^0.1.40",
12
13
  "cash-dom": "^8.1.1",
13
14
  "datagrok-api": "^1.16.0",
14
15
  "dayjs": "^1.11.9",
15
16
  "jstat": "^1.9.6",
17
+ "source-map-loader": "^4.0.1",
16
18
  "umap-js": "^1.3.3",
17
- "worker-loader": "latest",
18
- "source-map-loader": "^4.0.1"
19
+ "worker-loader": "latest"
19
20
  },
20
21
  "author": {
21
22
  "name": "Viktor Makarichev",
22
23
  "email": "vmakarichev@datagrok.ai"
23
24
  },
24
25
  "devDependencies": {
25
- "ts-loader": "latest",
26
- "typescript": "latest",
27
- "webpack": "latest",
28
- "webpack-cli": "latest",
29
26
  "@typescript-eslint/eslint-plugin": "^5.32.0",
30
27
  "@typescript-eslint/parser": "^5.32.0",
31
28
  "eslint": "^8.21.0",
32
- "eslint-config-google": "^0.14.0"
29
+ "eslint-config-google": "^0.14.0",
30
+ "ts-loader": "latest",
31
+ "typescript": "latest",
32
+ "webpack": "latest",
33
+ "webpack-cli": "latest"
33
34
  },
34
35
  "scripts": {
35
36
  "link-all": "npm link datagrok-api @datagrok-libraries/utils @datagrok-libraries/tutorials",
package/src/package.ts CHANGED
@@ -194,8 +194,9 @@ export function GetMCLEditor(call: DG.FuncCall): void {
194
194
  export async function MCL(df: DG.DataFrame, cols: DG.Column[], metrics: KnownMetrics[],
195
195
  weights: number[], aggregationMethod: DistanceAggregationMethod, preprocessingFuncs: (DG.Func | null | undefined)[],
196
196
  preprocessingFuncArgs: any[], threshold: number = 80, maxIterations: number = 10) {
197
- return await markovCluster(df, cols, metrics, weights,
198
- aggregationMethod, preprocessingFuncs, preprocessingFuncArgs, threshold, maxIterations);
197
+ const res = (await markovCluster(df, cols, metrics, weights,
198
+ aggregationMethod, preprocessingFuncs, preprocessingFuncArgs, threshold, maxIterations));
199
+ return res?.sc;
199
200
  }
200
201
 
201
202
  //top-menu: ML | Analyze | Multivariate Analysis...
package/tsconfig.json CHANGED
@@ -47,7 +47,8 @@
47
47
  // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
48
48
  // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
49
49
  // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
50
- // "typeRoots": [], /* List of folders to include type definitions from. */
50
+ // "typeRoots": [],
51
+ "typeRoots": ["./node_modules/@webgpu/types", "./node_modules/@types"], /* List of folders to include type definitions from. */
51
52
  // "types": [], /* Type declaration files to be included in compilation. */
52
53
  // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
53
54
  "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */