Commit 6c9b3372 authored by Feliks Kiszkurno's avatar Feliks Kiszkurno
Browse files

commit

parent 47462e3d
......@@ -27,6 +27,7 @@ test_definitions.init(path=param_path)
test_definitions.init(path=param_path)
# Load existing data instead of creating new one.
print('start')
if not create_new_data:
test_results = slopestabilitytools.datamanagement.import_tests()
......
......@@ -6,7 +6,7 @@ Created on 31.03.2021
@author: Feliks Kiszkurno
"""
from sklearn_rvm import EMRVC
from sklearn_rvm import EMRVC
import slopestabilityML.plot_results
import slopestabilityML.split_dataset
......@@ -14,7 +14,6 @@ import slopestabilityML.run_classification
def rvm_run(test_results, random_seed):
test_training, test_prediction = slopestabilityML.split_dataset(test_results.keys(), random_seed)
accuracy_score = []
......@@ -31,4 +30,4 @@ def rvm_run(test_results, random_seed):
# slopestabilityML.plot_results(accuracy_labels, accuracy_score, 'RVM_prediction')
# slopestabilityML.plot_results(accuracy_labels_training, accuracy_score_training, 'RVM_training')
return accuracy_score, accuracy_labels, accuracy_score_training, accuracy_labels_training
\ No newline at end of file
return accuracy_score, accuracy_labels, accuracy_score_training, accuracy_labels_training
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment