Skip to content
Snippets Groups Projects
Commit 9fed5bc6 authored by Steve Reis's avatar Steve Reis
Browse files

fix: Missing algorithm in list

parent a99badac
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,8 @@ export const isPlainObject = (fn: any): fn is object => {
export const isFunction = (val: any): boolean => typeof val === 'function';
export const isString = (val: any): val is string => typeof val === 'string';
export const isNumber = (val: any): val is number => typeof val === 'number';
export const formatNumber = (val: any, precision = 4): number | string =>
isNumber(val) ? val.toPrecision(precision) : val;
export const isConstructor = (val: any): boolean => val === 'constructor';
export const isNil = (val: any): val is null | undefined =>
isUndefined(val) || val === null;
......
......@@ -12,7 +12,7 @@ const transformToAlgorithms = jsonata(`
'LOGISTIC_REGRESSION','TTEST_INDEPENDENT','TTEST_PAIRED',
'PEARSON','ID3','KMEANS','NAIVE_BAYES',
'TTEST_ONESAMPLE','PCA','CALIBRATION_BELT','CART',
'KAPLAN_MEIER','THREE_C', 'ONE_WAY_ANOVA', 'PEARSON', 'LINEAR_REGRESSION_CV'];
'KAPLAN_MEIER','THREE_C', 'ONE_WAY_ANOVA', 'PEARSON_CORRELATION', 'LINEAR_REGRESSION_CV'];
$linkedVars:= ['positive_class', 'positive_level', 'negative_level', 'outcome_neg', 'outcome_pos'];
$linkedCoVars:= ['referencevalues', 'xlevels'];
$truthy:= function($val) {(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment