Commit afaf8481 authored by hugopiq's avatar hugopiq
Browse files

correction beug class ANN

parent 3a2554ad
......@@ -6,7 +6,7 @@
#include <iostream>
#include "../Helpers/globals.h"
#include <array>
#include "../ANN/ANN_object.h"
// #include "../ANN/ANN_object.h"
typedef int (*vFunctionCall)(std::map<FTYPE, DataVector>
......@@ -112,7 +112,8 @@ real compute_accuracy_CART(std::string name_file, vFunctionCallCART function, in
return result;
real compute_accuracy_model(std::string name_file, ANN model, int matrix[][10])
template <typename T>
real compute_accuracy_model(std::string name_file, T model, int matrix[][10])
std::ifstream myFile(name_file);
std::vector<std::pair<std::string, std::string>> data;
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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