({{, (RefLink[ActivePredictionObject, paclet:ref/ActivePredictionObject])[…] 
represents the result of an (RefLink[ActivePrediction, paclet:ref/ActivePrediction]) process.}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[ActivePredictionObject, paclet:ref/ActivePredictionObject])[…] is the result generated by (RefLink[ActivePrediction, paclet:ref/ActivePrediction])[…].

(RefLink[ActivePredictionObject, paclet:ref/ActivePredictionObject])[…][prop] gives the property prop of the active prediction object.

(RefLink[ActivePredictionObject, paclet:ref/ActivePredictionObject])[…][{(Subscript[prop, 1]),(Subscript[prop, 2]),…}] gives the list of properties {(Subscript[prop, 1]),(Subscript[prop, 2]),…}.

Possible properties include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Train an (RefLink[ActivePredictionObject, paclet:ref/ActivePredictionObject])[…]  to find the predictor for a nontrivial function in an interval:

apo=ActivePrediction[(#-2)^2&,Interval[{0,5}]]

Obtain the list of the object properties:

apo["Properties"]

Obtain the history of explored configurations:

apo["EvaluationHistory"]

Obtain the predictors trained during active prediction, along with some of their properties:

apo["TrainingHistory"]

Obtain the final predictor:

p = apo["PredictorFunction"]

Obtain the method used to choose configurations to add to the training set:

apo["Method"]

Obtain some other properties:

apo[{"OracleFunction","PredictorMeasurementsObject"}]

Display the performances of predictors trained during active prediction:

apo["LearningCurve"]

Visualize the predictions of the final predictor on new examples:

Plot[{(x-2)^2,p[x]},{x,0,5},PlotLegends->{"Function","Model"},Exclusions->False]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ActivePrediction, paclet:ref/ActivePrediction])  ▪  (RefLink[ActiveClassificationObject, paclet:ref/ActiveClassificationObject])  ▪  (RefLink[PredictorFunction, paclet:ref/PredictorFunction])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Machine Learning, paclet:guide/MachineLearning])}})}})