mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 16:35:52 +00:00
Add Entropy method
This commit is contained in:
16
fimdlp/Metrics.h
Normal file
16
fimdlp/Metrics.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef METRICS_H
|
||||
#define METRICS_H
|
||||
#include <vector>
|
||||
#include <Python.h>
|
||||
#include <utility>
|
||||
namespace CPPFImdlp
|
||||
{
|
||||
class Metrics
|
||||
{
|
||||
public:
|
||||
Metrics();
|
||||
static float entropy(std::vector<int> &, int, int, int);
|
||||
static int numClasses(std::vector<int> &);
|
||||
};
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user