WLJS LogoWLJS Notebook

PredictorFunction

PredictorFunction[...] represents a function generated by Predict that predicts numerical values from data.

Examples

Create a predictor and use it:

p = Predict[{1 -> 2, 2 -> 4, 3 -> 6}];
p[4]
(* 8. *)

Please visit the official Wolfram Language Reference for more details.

On this page