Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { GaussianNB, } = mln;
MachineLearning.Regression = Object.assign({},
MachineLearning.Regression);
MachineLearning.SL = Object.assign({},
MachineLearning.SL);
MachineLearning.Stat = Object.assign({},
MachineLearning.Stat);
MachineLearning.RL = Object.assign({},
MachineLearning.RL, {
ReinforcedLearningBase,
UpperConfidenceBound,
ThompsonSampling,
});
MachineLearning.UpperConfidenceBound = UpperConfidenceBound;
MachineLearning.ThompsonSampling = ThompsonSampling;
MachineLearning.Regression.DecisionTreeRegression = DecisionTreeRegression;
MachineLearning.Regression.RandomForestRegression = RandomForestRegression;
MachineLearning.Regression.MultivariateLinearRegression = MultivariateLinearRegression;
MachineLearning.SL.GaussianNB = GaussianNB;
MachineLearning.SL.LogisticRegression = LogisticRegression;
MachineLearning.SL.DecisionTreeClassifier = DecisionTreeClassifier;
MachineLearning.SL.RandomForestClassifier = RandomForestClassifier;
MachineLearning.Stat.PCA = PCA;
/**
* @namespace
* @see {@link https://github.com/mljs/ml}
*/
const ml = MachineLearning;