Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added driver program to train/test FMQA models #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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