Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@datagrok-libraries/statistics

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datagrok-libraries/statistics - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

CHANGELOG.md
# 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 @@

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc