Actually, I started my work on "prediction of wind power by using matrix factorization technique" for my master thesis.
I wrote this type of program in visual studio.
{ // load the data
var training_data = RatingData.Read("C:/Users/TUSHAR/Desktop/matlab csv/train.csv");
var test_data = RatingData.Read("C:/Users/TUSHAR/Desktop/matlab csv/test.csv");
// set up the recommender
var recommender = new MatrixFactorization();
recommender.Ratings = training_data;
recommender.Regularization = 0.03f;
recommender.NumFactors = 24;
recommender.LearnRate = 0.01f;
recommender.Train();
// measure the accuracy on the test data set
var results = recommender.Evaluate(test_data);
Console.WriteLine("RMSE={0} MAE={1}", results["RMSE"], results["MAE"]);
Console.WriteLine(results);
// make a prediction for a certain user and item
Console.WriteLine("wind speed={0} ", recommender.Predict(3652, 1));
Console.WriteLine(recommender.DoCrossValidation());
}
could you please tell me how to select the values of Regularization, NumFactors, and LearnRate?
Tushar K. vaghasiya