@datagrok-libraries/statistics
Advanced tools
Comparing version 1.3.0 to 1.3.1
# statistics changelog | ||
## 1.3.1 (2024-05-21) | ||
* [#2797](https://github.com/datagrok-ai/public/issues/2797): Added log-linear fit function | ||
## 1.3.0 (2024-05-11) | ||
@@ -4,0 +8,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"friendlyName": "statistics", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Statistics utilities", | ||
@@ -10,0 +10,0 @@ "dependencies": { |
@@ -140,2 +140,9 @@ import * as DG from 'datagrok-api/dg'; | ||
} | ||
/** Class that implements the linear logarithmic function */ | ||
export declare class LogLinearFunction extends FitFunction { | ||
get name(): string; | ||
get parameterNames(): string[]; | ||
y(params: Float32Array, x: number): number; | ||
getInitialParameters(x: number[], y: number[]): Float32Array; | ||
} | ||
/** Class that implements user JS functions */ | ||
@@ -162,2 +169,3 @@ export declare class JsFunction extends FitFunction { | ||
export declare const FIT_FUNCTION_LINEAR = "linear"; | ||
export declare const FIT_FUNCTION_LOG_LINEAR = "log-linear"; | ||
export declare const FIT_STATS_RSQUARED = "rSquared"; | ||
@@ -185,2 +193,3 @@ export declare const FIT_STATS_AUC = "auc"; | ||
export declare function linear(params: Float32Array, x: number): number; | ||
export declare function logLinear(params: Float32Array, x: number): number; | ||
export declare function getAuc(fittedCurve: (x: number) => number, data: { | ||
@@ -187,0 +196,0 @@ x: number[]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
283078
1735