({{, (RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject])[…] 
represents an object generated by (RefLink[PredictorMeasurements, paclet:ref/PredictorMeasurements]) that can be applied to properties.}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject])[…][prop] is used to look up property prop from the (RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject]).

(RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject])[…][{(Subscript[prop, 1]),(Subscript[prop, 2]),…}] is used to look up many properties.

(RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject])[…][prop,opts] specifies that the predictor should use the options opts when applied to the test set. It supersedes options given to (RefLink[PredictorMeasurements, paclet:ref/PredictorMeasurements]).

Possible options are as given in (RefLink[PredictorFunction, paclet:ref/PredictorFunction])[…], with the following addition:

When ComputeUncertainty->(RefLink[True, paclet:ref/True]), numerical measures will be returned as (RefLink[Around, paclet:ref/Around])[result,err], where err represents the standard error (corresponding to a 68% confidence interval) associated with measure result.

Properties returning a single numeric value related to prediction abilities on the test set include:

Test examples classified as (RefLink[Indeterminate, paclet:ref/Indeterminate]) will be discarded when measuring properties related to prediction abilities on the test set, such as  "StandardDeviation" or "MeanCrossEntropy".

Properties returning graphics include:

Timing-related properties include:

Properties returning one value for each test-set example include:

Properties returning examples from the test set include:

Examples are given in the form (Subscript[input, i])->(Subscript[value, i]), where (Subscript[value, i]) is the actual value.

Properties such as "WorstPredictedExamples" or "MostCertainExamples" output up to 10 examples. (RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject])[…][prop->n] can be used to output n examples.

Other properties include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Define a training set and a test set:

trainingset={1->2,3->4.5,5->6,7->8.5};

testset={1.5->2,4->5,6-> 5.5};

Create a predictor with the training set:

p=Predict[trainingset]

Generate a (RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject]) of the predictor with the test set:

pm=PredictorMeasurements[p, testset]

Measure the standard deviation and plot the residuals from the (RefLink[PredictorMeasurementsObject, paclet:ref/PredictorMeasurementsObject]):

pm /@ {"StandardDeviation", "ResidualPlot"}

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[PredictorMeasurements, paclet:ref/PredictorMeasurements])  ▪  (RefLink[PredictorFunction, paclet:ref/PredictorFunction])  ▪  (RefLink[Predict, paclet:ref/Predict])  ▪  (RefLink[Information, paclet:ref/Information])  ▪  (RefLink[ClassifierMeasurementsObject, paclet:ref/ClassifierMeasurementsObject])}})}})