I am trying to get the MAE, RMSE, MSE and R^2 on a model, but actually it only gives me some metrics that are used mostly on classification, not on regression .
These are the metrics that the model gives me:
I have already read the Pycaret documentation, but I only found the option of add_metric()
but I don't if this function will work for that (also I didn't understood how add_metric()
function works)
My setup function:
exp = setup(data = dataset, target = 'Lower Salary', categorical_features = cat_f,
ignore_features= ['Job Title','Headquarters','Founded','Type of ownership','Competitors','company_txt','job_title_sim','seniority_by_title','Salary Estimate','Job Description','Industry','Hourly','Employer provided'],
normalize = True,session_id = 123)
My create_model
function:
logit = create_model('lr')