I am R-tool beginner. I have a question regarding how to know the performance of a linear regression model by using validation data. My approach was
Create training and validation data sets from original data set. "train" is name of my training data set and "valid" is name of my validation data set. "category" will be my target variable and "date_time" is my independent variable.
Use training data set to create a regression model
Now do predictions for validation data set using model created with training data set
Now check the accuracy by finding the values of ACC, AUC.
Now if AUC and ACC have small values then it means that model created by training data set is not good in making predictions.
Is my approach correct ?
Thanks and regards!