Skip to main content

Prediction

Original integration-test class: Predict in 8.ML.Predict.cs. This is a direct SDK operation, not a PipelineClient workflow.

132 recorded job or prediction directories matched by module and scenario path. 132 have completed/success status and a saved result. These are API execution records, not confirmed xUnit pass counts. Partition jobs are counted separately.

Prerequisites​

Use the original SDK test project, its xUnit dependencies, helper classes and any upstream cache entries referenced in the source. See configuration.

Required environment variable names referenced in the source: PARALLELMODEL_MODEL_ID, PARALLELMODEL_ENCRYPTION_KEY_1, PARALLELMODEL_REGION, PARALLELMODEL_CLIENT_ID, PARALLELMODEL_CLIENT_SECRET.

SDK calls used​

ClientMethods in the source
PredictClientSendAsync

Execution workflow​

  1. Initialise client and output paths.
  2. Resolve the exact trained model from its existing cache.
  3. Pair manually supplied values with the exact ordered features used in training.
  4. Map the test scenario name to the actual inference_type accepted by the worker.
  5. Save public request without the encryption key.
  6. Send synchronous prediction with one model encryption key.
  7. Save the unchanged prediction response.
  8. Append only the original response. No cache DTO or additional metadata.

Recorded operation examples​

OperationRecorded jobsResult recorded
AdaBoostClassifier / Auto11
AdaBoostClassifier / Predict11
AdaBoostClassifier / PredictProba11
AdaBoostRegressor / Auto11
AdaBoostRegressor / Predict-regression11
BaggingClassifier / Auto11
BaggingClassifier / Predict11
BaggingClassifier / PredictProba11
BaggingRegressor / Auto11
BaggingRegressor / Predict-regression11
DecisionTreeClassifier / Auto11
DecisionTreeClassifier / Predict11
DecisionTreeClassifier / PredictProba11
DecisionTreeRegressor / Auto11
DecisionTreeRegressor / Predict-regression11
ExtraTreeClassifier / Auto11
ExtraTreeClassifier / Predict11
ExtraTreeClassifier / PredictProba11
ExtraTreeRegressor / Auto11
ExtraTreeRegressor / Predict-regression11
ExtraTreesClassifier / Auto11
ExtraTreesClassifier / Predict11
ExtraTreesClassifier / PredictProba11
ExtraTreesRegressor / Auto11
ExtraTreesRegressor / Predict-regression11
GradientBoostingClassifier / Auto11
GradientBoostingClassifier / Predict11
GradientBoostingClassifier / PredictProba11
GradientBoostingRegressor / Auto11
GradientBoostingRegressor / Predict-regression11
HistGradientBoostingClassifier / Auto11
HistGradientBoostingClassifier / Predict11
HistGradientBoostingClassifier / PredictProba11
HistGradientBoostingRegressor / Auto11
HistGradientBoostingRegressor / Predict-regression11
IsotonicRegression / Auto11
IsotonicRegression / Predict-regression11
KNeighborsClassifier / Auto22
KNeighborsClassifier / Predict22
KNeighborsClassifier / PredictProba22
KNeighborsRegressor / Auto11
KNeighborsRegressor / Predict-regression11
LinearSVC / Auto22
LinearSVC / DecisionFunction22
LinearSVC / Predict22
LinearSVR / Auto22
LinearSVR / Predict-regression22
LogisticRegression / Auto11
LogisticRegression / DecisionFunction11
LogisticRegression / Predict11
LogisticRegression / PredictProba11
LogisticRegressionCV / Auto11
LogisticRegressionCV / DecisionFunction11
LogisticRegressionCV / Predict11
LogisticRegressionCV / PredictProba11
NearestCentroid / Auto11
NearestCentroid / Predict11
NuSVC / Auto22
NuSVC / DecisionFunction22
NuSVC / Predict22
NuSVR / Auto22
NuSVR / Predict-regression22
OneClassSVM / Auto44
OneClassSVM / DecisionFunction44
OneClassSVM / Predict44
PassiveAggressiveClassifier / Auto11
PassiveAggressiveClassifier / DecisionFunction11
PassiveAggressiveClassifier / Predict11
Perceptron / Auto11
Perceptron / DecisionFunction11
Perceptron / Predict11
RadiusNeighborsClassifier / Auto11
RadiusNeighborsClassifier / Predict11
RadiusNeighborsClassifier / PredictProba11
RadiusNeighborsRegressor / Auto11
RadiusNeighborsRegressor / Predict-regression11
RandomForestRegressor / Auto11
RandomForestRegressor / Predict-regression11
RidgeClassifier / Auto11
RidgeClassifier / DecisionFunction11
RidgeClassifier / Predict11
RidgeClassifierCV / Auto11
RidgeClassifierCV / DecisionFunction11
RidgeClassifierCV / Predict11
SGDClassifier / Auto11
SGDClassifier / DecisionFunction11
SGDClassifier / Predict11
SGDOneClassSVM / Auto11
SGDOneClassSVM / DecisionFunction11
SGDOneClassSVM / Predict11
SVC / Auto22
SVC / DecisionFunction22
SVC / Predict22
SVR / Auto22
SVR / Predict-regression22
StackingClassifier / Auto11
StackingClassifier / Predict11
StackingClassifier / PredictProba11
StackingRegressor / Auto11
StackingRegressor / Predict-regression11
VotingClassifier / Auto11
VotingClassifier / Predict11
VotingClassifier / PredictProba11
VotingRegressor / Auto11
VotingRegressor / Predict-regression11

Run the original integration test​

This filter selects the class and its parameterized scenarios; it does not select only a single recorded job.

dotnet test --filter "FullyQualifiedName~ParallelModel.Sdk.UnitTests.Predict.Run"

Full C# source​

The supplied test logic is preserved. The method signature is:

Run(string dataset, string modelselection, string impute, string preprocessing, string module, string algorithm, string predict, string predictiontype, double[] testinput)
using ParallelModel.Sdk.Authentication;
using ParallelModel.Sdk.ML.Predict.Models.Requests;
using ParallelModel.Sdk.UnitTests.Attributes;
using ParallelModel.Sdk.UnitTests.Helpers;
using System.Text.Json;

namespace ParallelModel.Sdk.UnitTests;

[Collection("Predict")]
public sealed class Predict
{
private static readonly TimeSpan ApiTimeout = TimeSpan.FromSeconds(300);
private static readonly SharedSendThrottle SendThrottle = new(TimeSpan.FromSeconds(12));

public static TheoryData<string, string, string, string, string, string, string, string, double[]> PredictRequests =>
PredictAttribute.GetRequests(typeof(Predict), nameof(Run));

[Theory]
[MemberData(nameof(PredictRequests))]
[Trait("Category", "Integration")]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "DecisionTreeClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "DecisionTreeClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "DecisionTreeClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "ExtraTreeClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "ExtraTreeClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "ExtraTreeClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "DecisionTreeRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "DecisionTreeRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "ExtraTreeRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "tree", algorithm: "ExtraTreeRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]

// SVM: cached classifiers, regressors and novelty/outlier models.
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "SVC",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "SVC",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "SVC",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "NuSVC",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "NuSVC",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "NuSVC",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "LinearSVC",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "LinearSVC",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "LinearSVC",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "SVR",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "SVR",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "NuSVR",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "NuSVR",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "LinearSVR",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "LinearSVR",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "SVC",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "SVC",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "SVC",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "NuSVC",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "NuSVC",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "NuSVC",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "LinearSVC",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "LinearSVC",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "LinearSVC",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.01281161574, 0.0183023082, 0.08236038691, 0.549069246, 9.151154101e-05, 0.0001098138492, 8.236038691e-05, 4.57557705e-05, 0.0001647207738, 5.49069246e-05, 0.000366046164, 0.001098138492, 0.002562323148, 0.03202903935, 6.40580787e-06, 2.287788525e-05, 2.74534623e-05, 1.098138492e-05, 1.83023082e-05, 3.66046164e-06, 0.01555696197, 0.02379300066, 0.1052382722, 0.8236038691, 0.0001281161574, 0.000274534623, 0.0002470811607, 0.0001006626951, 0.0002653834689, 7.32092328e-05 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "SVR",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "SVR",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "NuSVR",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "NuSVR",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "LinearSVR",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "LinearSVR",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "normalize", module: "svm", algorithm: "OneClassSVM",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]

// linearmodel: representative cached joblib models.
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegression",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegression",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegression",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegression",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegressionCV",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegressionCV",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegressionCV",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "LogisticRegressionCV",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "PassiveAggressiveClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "PassiveAggressiveClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "PassiveAggressiveClassifier",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "Perceptron",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "Perceptron",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "Perceptron",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "RidgeClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "RidgeClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "RidgeClassifier",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "RidgeClassifierCV",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "RidgeClassifierCV",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "RidgeClassifierCV",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "SGDClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "SGDClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "SGDClassifier",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "SGDOneClassSVM",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "SGDOneClassSVM",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "linearmodel", algorithm: "SGDOneClassSVM",
predict: "joblib", predictiontype: "DecisionFunction",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]

// isotonic: representative cached joblib models.
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "isotonic", algorithm: "IsotonicRegression",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "isotonic", algorithm: "IsotonicRegression",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2 })]

// kernelridge: representative cached joblib models.
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "kernelridge", algorithm: "KernelRidge",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "kernelridge", algorithm: "KernelRidge",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]

// naivebayes: representative cached joblib models.
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "BernoulliNB",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "BernoulliNB",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "BernoulliNB",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "KBinsDiscretizer", module: "naivebayes", algorithm: "ComplementNB",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "KBinsDiscretizer", module: "naivebayes", algorithm: "ComplementNB",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "KBinsDiscretizer", module: "naivebayes", algorithm: "ComplementNB",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "GaussianNB",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "GaussianNB",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "GaussianNB",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "KBinsDiscretizer", module: "naivebayes", algorithm: "MultinomialNB",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "KBinsDiscretizer", module: "naivebayes", algorithm: "MultinomialNB",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "KBinsDiscretizer", module: "naivebayes", algorithm: "MultinomialNB",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0, 0.0, 1.0, 2.0 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "GaussianNB",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "GaussianNB",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "naivebayes", algorithm: "GaussianNB",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]

// neighbors: representative cached joblib models.
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "NearestCentroid",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "NearestCentroid",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "neighbors", algorithm: "RadiusNeighborsClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "neighbors", algorithm: "RadiusNeighborsClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "neighbors", algorithm: "RadiusNeighborsClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { 0.42, 0.55, 0.44, 0.39, 0.51, 0.48, 0.36, 0.41, 0.58, 0.49, 0.45, 0.52, 0.43, 0.4, 0.56, 0.47, 0.35, 0.38, 0.54, 0.46, 0.5, 0.57, 0.48, 0.41, 0.53, 0.44, 0.37, 0.42, 0.59, 0.45 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "neighbors", algorithm: "RadiusNeighborsRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "QuantileTransformer", module: "neighbors", algorithm: "RadiusNeighborsRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.45, 0.55, 0.6, 0.48, 0.52, 0.4, 0.46, 0.58, 0.5, 0.57 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neighbors", algorithm: "KNeighborsClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]

// neuralnetwork: representative cached joblib models.
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]
[Predict(dataset: "LoadWine", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "neuralnetwork", algorithm: "MLPClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3 })]

// ensemble: representative cached joblib models.
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "AdaBoostClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "AdaBoostClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "AdaBoostClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "AdaBoostRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "AdaBoostRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "BaggingClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "BaggingClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "BaggingClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "BaggingRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "BaggingRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "ExtraTreesClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "ExtraTreesClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "ExtraTreesClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "ExtraTreesRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "ExtraTreesRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "GradientBoostingClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "GradientBoostingClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "GradientBoostingClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "GradientBoostingRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "GradientBoostingRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "HistGradientBoostingClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "HistGradientBoostingClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "HistGradientBoostingClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "HistGradientBoostingRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "HistGradientBoostingRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "RandomForestRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "RandomForestRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "StackingClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "StackingClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "StackingClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "StackingRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "StackingRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "VotingClassifier",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "VotingClassifier",
predict: "joblib", predictiontype: "Predict",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadBreastCancer", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "VotingClassifier",
predict: "joblib", predictiontype: "PredictProba",
testinput: new double[] { -0.2, 0.4, -0.1, 0.3, 0.1, -0.4, 0.2, 0.5, -0.3, 0.1, 0.2, -0.1, 0.3, -0.2, 0.4, 0.1, -0.3, 0.2, 0.1, -0.2, 0.3, 0.2, -0.4, 0.1, 0.5, -0.2, 0.1, 0.3, -0.1, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "VotingRegressor",
predict: "joblib", predictiontype: "Auto",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]
[Predict(dataset: "LoadDiabetes", modelselection: "TrainTestSplit", impute: "SimpleImputer",
preprocessing: "StandardScaler", module: "ensemble", algorithm: "VotingRegressor",
predict: "joblib", predictiontype: "Predict-regression",
testinput: new double[] { 0.2, -0.4, 0.6, -0.1, 0.3, -0.2, 0.1, 0.4, -0.3, 0.2 })]

public async Task Run(string dataset, string modelselection, string impute, string preprocessing,
string module, string algorithm, string predict, string predictiontype, double[] testinput)
{
// 1. Initialise client and output paths.
SharedEnvironmentHelper.LoadEnvIfAvailable();
CancellationToken cancellationToken = TestContext.Current.CancellationToken;
Guid modelId = SharedEnvironmentHelper.RequiredGuid("PARALLELMODEL_MODEL_ID");
string encryptionKey = SharedEnvironmentHelper.Required("PARALLELMODEL_ENCRYPTION_KEY_1");
ParallelModelClient parallelModelClient = new(new DefaultParallelModelAuthenticationOptions
{
Region = SharedEnvironmentHelper.Required("PARALLELMODEL_REGION"),
ClientId = SharedEnvironmentHelper.Required("PARALLELMODEL_CLIENT_ID"),
ClientSecret = SharedEnvironmentHelper.Required("PARALLELMODEL_CLIENT_SECRET"),
Timeout = ApiTimeout,
AutoRefreshToken = true,
RefreshBeforeExpiry = TimeSpan.FromMinutes(2),
RetryOnUnauthorized = true,
MaxRetries = 3
});
string outputDirectory = Path.Combine(SharedEnvironmentHelper.OutputDirectory, "predict", module,
$"{dataset}-{modelselection}-{impute}-{preprocessing}", algorithm, predict, predictiontype,
Guid.NewGuid().ToString("N"));
Directory.CreateDirectory(outputDirectory);

// 2. Resolve the exact trained model from its existing cache.
MLPredictHelper.ModelArtifact model = await MLPredictHelper.ResolveModelAsync(module, dataset,
modelselection, impute, preprocessing, algorithm, cancellationToken);
Guid modelBlobId = model.BlobId;

// 3. Pair manually supplied values with the exact ordered features used in training.
string trainingDirectory = MLPredictHelper.ResolveRunDirectory(module, dataset, modelselection,
impute, preprocessing, algorithm, model);
List<string> featureColumns = MLPredictHelper.ReadFeatures(trainingDirectory, model);
if (featureColumns.Count != testinput.Length)
throw new ArgumentException($"{algorithm} requires {featureColumns.Count} features, but testinput contains {testinput.Length} values.");
Dictionary<string, JsonElement> inputRow = new(StringComparer.Ordinal);
for (int index = 0; index < featureColumns.Count; index++)
inputRow.Add(featureColumns[index], JsonSerializer.SerializeToElement(testinput[index]));

// 4. Map the test scenario name to the actual inference_type accepted by the worker.
string inferenceType = (algorithm, predictiontype) switch
{
("DecisionTreeClassifier" or "ExtraTreeClassifier", "Auto" or "Predict" or "PredictProba") => predictiontype,
("DecisionTreeRegressor" or "ExtraTreeRegressor", "Auto") => "Auto",
("DecisionTreeRegressor" or "ExtraTreeRegressor", "Predict-regression" or "Predict") => "Predict",
("SVC" or "NuSVC" or "LinearSVC" or "OneClassSVM", "Auto" or "Predict" or "DecisionFunction") => predictiontype,
("SVR" or "NuSVR" or "LinearSVR", "Auto") => "Auto",
("SVR" or "NuSVR" or "LinearSVR", "Predict-regression" or "Predict") => "Predict",
("AdaBoostClassifier" or "BaggingClassifier" or "BernoulliNB" or "ComplementNB" or "ExtraTreesClassifier" or "GaussianNB", "Auto" or "Predict" or "PredictProba") => predictiontype,
("GradientBoostingClassifier" or "HistGradientBoostingClassifier" or "KNeighborsClassifier" or "MLPClassifier" or "MultinomialNB" or "RadiusNeighborsClassifier", "Auto" or "Predict" or "PredictProba") => predictiontype,
("StackingClassifier" or "VotingClassifier", "Auto" or "Predict" or "PredictProba") => predictiontype,
("LogisticRegression" or "LogisticRegressionCV", "Auto" or "DecisionFunction" or "Predict" or "PredictProba") => predictiontype,
("PassiveAggressiveClassifier" or "Perceptron" or "RidgeClassifier" or "RidgeClassifierCV" or "SGDClassifier" or "SGDOneClassSVM", "Auto" or "DecisionFunction" or "Predict") => predictiontype,
("AdaBoostRegressor" or "BaggingRegressor" or "ExtraTreesRegressor" or "GradientBoostingRegressor" or "HistGradientBoostingRegressor" or "IsotonicRegression" or "KNeighborsRegressor", "Auto") => "Auto",
("AdaBoostRegressor" or "BaggingRegressor" or "ExtraTreesRegressor" or "GradientBoostingRegressor" or "HistGradientBoostingRegressor" or "IsotonicRegression" or "KNeighborsRegressor", "Predict-regression" or "Predict") => "Predict",
("KernelRidge" or "MLPRegressor" or "RadiusNeighborsRegressor" or "RandomForestRegressor" or "StackingRegressor" or "VotingRegressor", "Auto") => "Auto",
("KernelRidge" or "MLPRegressor" or "RadiusNeighborsRegressor" or "RandomForestRegressor" or "StackingRegressor" or "VotingRegressor", "Predict-regression" or "Predict") => "Predict",
("NearestCentroid", "Auto" or "Predict") => predictiontype,
_ => throw new NotSupportedException($"Unsupported prediction scenario: {module}/{algorithm}/{predictiontype}.")
};
PredictJobSendRequestModel request = new()
{
ModelId = modelId,
RequestId = Guid.NewGuid(),
Input = new()
{
ModelBlobId = modelBlobId,
ModelFilePath = null,
FeatureColumns = featureColumns,
InputValues = [inputRow],
InferenceType = inferenceType,
DataType = "numeric",
InputLayout = "auto"
},
RequestTimeoutSeconds = 200
};

// 5. Save public request without the encryption key.
await SharedResponseHelper.SaveAsync(outputDirectory, "001-request.json", request, cancellationToken);

// 6. Send synchronous prediction with one model encryption key.
await SendThrottle.WaitForSendSlotAsync(cancellationToken);
JsonElement result;
try
{
result = await parallelModelClient.PredictClient.SendAsync(modelId: modelId, request: request,
modelEncryptionKey: encryptionKey, timeout: ApiTimeout, cancellationToken: cancellationToken);
}
catch (Exception exception) when (!cancellationToken.IsCancellationRequested)
{
await SharedResponseHelper.SaveExceptionAsync(outputDirectory, "002-predict-error.txt", exception, cancellationToken);
throw;
}

// 7. Save the unchanged prediction response.
await SharedResponseHelper.SaveAsync(outputDirectory, "002-result.json", result, cancellationToken);

// 8. Append only the original response. No cache DTO or additional metadata.
await SharedCacheHelper.UpdateAsync<List<JsonElement>>(SharedEnvironmentHelper.CacheDirectory,
"ml.predict.json", current =>
{
current ??= new();
current.Add(result.Clone());
return current;
}, cancellationToken);
}
}