To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 42201ae1 authored by Feliks Kiszkurno's avatar Feliks Kiszkurno
Browse files

switched to clusters

parent f55e1ba1
......@@ -31,13 +31,13 @@ def run_all_tests(test_results):
ml_results_class = {}
## CLASSIFIERS
print('Running SVM...')
svm_results, svm_result_class = slopestabilityML.SVM.svm_run(test_results, random_seed)
ml_results['svm'] = svm_results
ml_results_class['svm'] = svm_result_class
gc.collect()
# print('Running SVM...')
# svm_results, svm_result_class = slopestabilityML.SVM.svm_run(test_results, random_seed)
# ml_results['svm'] = svm_results
#
# ml_results_class['svm'] = svm_result_class
#
# gc.collect()
#
# print('Running GBC...')
# gbc_results, gbc_result_class = slopestabilityML.GBC.gbc_run(test_results, random_seed)
......@@ -63,13 +63,13 @@ def run_all_tests(test_results):
#
# gc.collect()
#
print('Running ADABOOST...')
ada_results, ada_result_class = slopestabilityML.ADABOOST.adaboost_run(test_results, random_seed)
ml_results['ADA'] = ada_results
ml_results_class['ada'] = ada_result_class
gc.collect()
# print('Running ADABOOST...')
# ada_results, ada_result_class = slopestabilityML.ADABOOST.adaboost_run(test_results, random_seed)
# ml_results['ADA'] = ada_results
#
# ml_results_class['ada'] = ada_result_class
#
# gc.collect()
#
# print('Running DNN...')
# dnn_results, dnn_result_class = slopestabilityML.DNN.dnn_run(test_results, random_seed)
......@@ -80,21 +80,21 @@ def run_all_tests(test_results):
# gc.collect()
## CLUSTERS
# print('Running KMeans...')
# kmeans_results, kmeans_result_class = slopestabilityML.clusters.kmeans_run(test_results, random_seed)
# ml_results['KMeans'] = kmeans_results
#
# ml_results_class['KMeans'] = kmeans_result_class
#
# gc.collect()
#
# print('Running MeanShift...')
# meanshift_results, meanshift_result_class = slopestabilityML.clusters.meanshift_run(test_results, random_seed)
# ml_results['MeanShift'] = meanshift_results
#
# ml_results_class['MeanShift'] = meanshift_result_class
#
# gc.collect()
print('Running KMeans...')
kmeans_results, kmeans_result_class = slopestabilityML.clusters.kmeans_run(test_results, random_seed)
ml_results['KMeans'] = kmeans_results
ml_results_class['KMeans'] = kmeans_result_class
gc.collect()
print('Running MeanShift...')
meanshift_results, meanshift_result_class = slopestabilityML.clusters.meanshift_run(test_results, random_seed)
ml_results['MeanShift'] = meanshift_results
ml_results_class['MeanShift'] = meanshift_result_class
gc.collect()
# ada_result_class, ada_accuracy_score, ada_accuracy_labels, ada_accuracy_score_training, ada_accuracy_labels_training, ada_depth_estim, ada_depth_estim_accuracy, ada_depth_estim_labels, ada_depth_estim_training, ada_depth_estim_accuracy_training, ada_depth_estim_labels_training = \
# slopestabilityML.ADABOOST.adaboost_run(test_results, random_seed)
......
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