@datagrok/eda 1.4.9 → 1.4.11

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.
@@ -0,0 +1,15 @@
1
+ <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_14" y2="33" x2="4" y1="3" x1="4" stroke="#666666" fill="none"/>
3
+ <line stroke="#666666" stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_15" y2="33" x2="32" y1="33" x1="4" fill="none"/>
4
+ <ellipse ry="2" rx="2" id="svg_75" cy="18" cx="9" stroke="#b2b2b2" fill="#e5e5e5"/>
5
+ <ellipse ry="2" rx="2" id="svg_76" cy="27" cx="11" stroke="#b2b2b2" fill="#e5e5e5"/>
6
+ <ellipse ry="2" rx="2" id="svg_77" cy="21" cx="17" stroke="#b2b2b2" fill="#e5e5e5"/>
7
+ <ellipse ry="2" rx="2" id="svg_81" cy="27" cx="21" stroke="#b2b2b2" fill="#e5e5e5"/>
8
+ <ellipse ry="2" rx="2" id="svg_85" cy="9" cx="9" stroke="#00bf00" fill="#aaffaa"/>
9
+ <ellipse ry="2" rx="2" id="svg_87" cy="13" cx="18" stroke="#00bf00" fill="#aaffaa"/>
10
+ <ellipse ry="2" rx="2" id="svg_88" cy="19" cx="25" stroke="#00bf00" fill="#aaffaa"/>
11
+ <ellipse ry="2" rx="2" id="svg_89" cy="28" cx="29" stroke="#00bf00" fill="#aaffaa"/>
12
+ <path id="svg_92" d="m-13.10396,3.53545l0.19963,-0.34574l0.34574,-0.19963l0.39926,0l0.34574,0.19963l0.19963,0.34574l0,0.39926l-0.19963,0.34574l-0.34574,0.19963l-0.39926,0l-0.34574,-0.19963l-0.19963,-0.34574l0,-0.39926z" stroke="#00bf00" fill="none"/>
13
+ <path id="svg_93" d="m-19.82017,1.91858l0.19963,-0.34574l0.34574,-0.19963l0.39926,0l0.34574,0.19963l0.19963,0.34574l0,0.39926l-0.19963,0.34574l-0.34574,0.19963l-0.39926,0l-0.34574,-0.19963l-0.19963,-0.34574l0,-0.39926z" stroke="#00bf00" fill="none"/>
14
+ <path id="svg_94" d="m17.119,45.07648l0.19963,-0.34574l0.34574,-0.19963l0.39926,0l0.34574,0.19963l0.19963,0.34574l0,0.39926l-0.19963,0.34574l-0.34574,0.19963l-0.39926,0l-0.34574,-0.19963l-0.19963,-0.34574l0,-0.39926z" stroke="#00bf00" fill="none"/>
15
+ </svg>
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@datagrok/eda",
3
3
  "friendlyName": "EDA",
4
- "version": "1.4.9",
4
+ "version": "1.4.11",
5
5
  "description": "Exploratory Data Analysis Tools",
6
6
  "dependencies": {
7
7
  "@datagrok-libraries/math": "^1.2.6",
8
- "@datagrok-libraries/ml": "^6.10.7",
8
+ "@datagrok-libraries/ml": "^6.10.8",
9
9
  "@datagrok-libraries/tutorials": "^1.7.4",
10
10
  "@datagrok-libraries/utils": "^4.6.5",
11
11
  "@keckelt/tsne": "^1.0.2",
@@ -260,4 +260,18 @@ export namespace funcs {
260
260
  export async function isApplicableXGBooster(df: DG.DataFrame , predictColumn: DG.Column ): Promise<boolean> {
261
261
  return await grok.functions.call('EDA:IsApplicableXGBooster', { df, predictColumn });
262
262
  }
263
+
264
+ /**
265
+ Perform optimization across multiple objectives: analyze trade-offs between conflicting objectives and identify Pareto-optimal points.
266
+ */
267
+ export async function paretoFront(): Promise<void> {
268
+ return await grok.functions.call('EDA:ParetoFront', {});
269
+ }
270
+
271
+ /**
272
+ Pareto front viewer
273
+ */
274
+ export async function paretoFrontViewer(): Promise<any> {
275
+ return await grok.functions.call('EDA:ParetoFrontViewer', {});
276
+ }
263
277
  }
package/src/package.g.ts CHANGED
@@ -522,3 +522,19 @@ export function isInteractiveXGBooster(df: DG.DataFrame, predictColumn: DG.Colum
522
522
  export function isApplicableXGBooster(df: DG.DataFrame, predictColumn: DG.Column) : boolean {
523
523
  return PackageFunctions.isApplicableXGBooster(df, predictColumn);
524
524
  }
525
+
526
+ //name: Pareto Front
527
+ //description: Perform optimization across multiple objectives: analyze trade-offs between conflicting objectives and identify Pareto-optimal points.
528
+ //top-menu: ML | Pareto Front...
529
+ export function paretoFront() : void {
530
+ PackageFunctions.paretoFront();
531
+ }
532
+
533
+ //name: Pareto front
534
+ //description: Pareto front viewer
535
+ //tags: viewer
536
+ //output: viewer result
537
+ //meta.icon: icons/pareto-front-viewer.svg
538
+ export function paretoFrontViewer() : any {
539
+ return PackageFunctions.paretoFrontViewer();
540
+ }