Posts by user25847 • 51 points
2 posts
-
1
votes0
answers889
viewsQ: How to calculate r Squared (r 2) with the test examples?
I broke my dice into one set for training and another for testing. I would like to know if I can calculate the value of r 2 for the set of test examples. I created two models: one model with SVR and…
-
4
votes2
answers3369
viewsQ: How to do Multiple Linear Regression?
-- Rephrased question -- I have the following code mdl = LinearModel.fit(X_train,y_train); pred = predict(mdl,X_test); in which X_train is a matrix [m x n] with m examples and n Features (past time…