ml-baseline-correction-regression
Advanced tools
Comparing version 2.0.0 to 2.0.1
declare module 'ml-baseline-correction-regression' { | ||
class Regression { | ||
constructor(x: number[] | Float64Array, y: number[] | Float64Array, options: Record<string, any>); | ||
constructor( | ||
x: number[] | Float64Array, | ||
y: number[] | Float64Array, | ||
options: Record<string, any>, | ||
); | ||
predict(x: number): number | ||
predict(x: number): number; | ||
} | ||
@@ -25,7 +29,6 @@ export interface BaseLineRegressionOptions { | ||
*/ | ||
tolerance?: number, | ||
tolerance?: number; | ||
} | ||
export default function baselineCorrectionRegression( | ||
export function baselineCorrectionRegression( | ||
x: number[] | Float64Array, | ||
@@ -35,8 +38,8 @@ y: number[] | Float64Array, | ||
): { | ||
corrected: number[] | Float64Array, | ||
baseline: number[] | Float64Array, | ||
iteration: number, | ||
delta: number | ||
regression: Regression | ||
corrected: number[] | Float64Array; | ||
baseline: number[] | Float64Array; | ||
iteration: number; | ||
delta: number; | ||
regression: Regression; | ||
}; | ||
} | ||
} |
{ | ||
"name": "ml-baseline-correction-regression", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Iterative regression based baseline correction", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
9018
163