Skip to content

Conversation

@UnixJunkie
Copy link
Contributor

also added some test data that I know is modelizable by several
regressors

also added some test data that I know is modelizable by several
regressors
@UnixJunkie
Copy link
Contributor Author

related to #4

@UnixJunkie
Copy link
Contributor Author

Example use:

# ./bin/fmqa_model.py -i data/test_data.csv --NxCV 5
13:27:39 (lines, cols): 741 120
13:27:40 (R2, RMSE)_train: 0.967 0.020
13:27:40 NxCV: 5
13:27:41 fold 0 (R2, RMSE)_test: 0.564 0.064
13:27:42 fold 1 (R2, RMSE)_test: 0.697 0.063
13:27:44 fold 2 (R2, RMSE)_test: 0.753 0.055
13:27:45 fold 3 (R2, RMSE)_test: 0.735 0.060
13:27:46 fold 4 (R2, RMSE)_test: 0.681 0.062
13:27:46 len(truth) == len(estimate): 741
13:27:46 global (R2, RMSE)_test: 0.695 0.061

If you have gnuplot installed, it creates a regression plot then.

@UnixJunkie
Copy link
Contributor Author

If this PR is accepted, I'll add the code to save/load a model for production use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant