PredictorFunction

PredictorFunction[]
represents a function generated by Predict that classifies data into classes.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Train a PredictorFunction:

In[1]:=
Click for copyable input
Out[1]=

Use the trained PredictorFunction to predict an output, given some feature:

In[2]:=
Click for copyable input
Out[2]=

Predict multiple examples:

In[3]:=
Click for copyable input
Out[3]=

Calculate the probability distribution of the predicted value:

In[4]:=
Click for copyable input
Out[4]=

Generate a PredictorFunction using multiple features:

In[1]:=
Click for copyable input
Out[1]=

Use the function on a new example:

In[2]:=
Click for copyable input
Out[2]=

Predict an example that has missing features:

In[3]:=
Click for copyable input
Out[3]=

Obtain general information about the predictor:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2014
(10.0)