-
-
Save mdfarragher/784ce270169f643a55e124bc7870b128 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get regression metrics to score the model | |
let metrics = partitions.TestSet |> model.Transform |> context.Regression.Evaluate | |
// show the metrics | |
printfn "Model metrics:" | |
printfn " RMSE:%f" metrics.RootMeanSquaredError | |
printfn " MSE: %f" metrics.MeanSquaredError | |
printfn " MAE: %f" metrics.MeanAbsoluteError | |
// the rest of the code goes here... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment