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
| Client | Methods in the source |
|---|---|
PredictClient | SendAsync |
Execution workflow
- Initialise client and output paths.
- Resolve the exact trained model from its existing cache.
- Pair manually supplied values with the exact ordered features used in training.
- Map the test scenario name to the actual inference_type accepted by the worker.
- Save public request without the encryption key.
- Send synchronous prediction with one model encryption key.
- Save the unchanged prediction response.
- Append only the original response. No cache DTO or additional metadata.
Recorded operation examples
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);
}
}