mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 16:35:52 +00:00
15 lines
434 B
C++
15 lines
434 B
C++
#ifndef TYPES_H
|
|
#define TYPES_H
|
|
#include <vector>
|
|
namespace mdlp {
|
|
typedef std::vector<float> samples;
|
|
typedef std::vector<int> labels;
|
|
typedef std::vector<size_t> indices_t;
|
|
struct CutPointBody {
|
|
size_t start, end; // indices of the sorted vector
|
|
int classNumber; // class assigned to the cut point
|
|
float fromValue, toValue;
|
|
};
|
|
typedef CutPointBody CutPoint_t;
|
|
}
|
|
#endif |