Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Estelle ARRICAU
Embedded Machine Learning
Commits
afaf8481
Commit
afaf8481
authored
Jan 12, 2022
by
hugopiq
Browse files
correction beug class ANN
parent
3a2554ad
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Helpers/evaluate_model.h
View file @
afaf8481
...
...
@@ -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
>
&
features
);
...
...
@@ -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
;
...
...
SVM/SVMWeight.h
View file @
afaf8481
This diff is collapsed.
Click to expand it.
SVM/apply_SVM_algo.h
View file @
afaf8481
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment