ID3
2018-09-28
0 0 0
no vote
Other
Earn points
#include
#include
#include
#include
#include
#include
#include
#include
#include
/// Forward declarations.
template class ID3;
template class ID3Train;
/// Number of attributes in each sample.
constexpr size_t N = 4;
/// Floating point error.
constexpr float EPS = 1e-7;
/**
* A single sample with attributes & target class.
*/
template
struct Sample {
Sample()
{
}
Sample(Sample &&sample)
: attributes(std::move(sample.attributes))
, clazz(std::move(sample.clazz))
{
}
void operator = (Sample &&sample) {
attributes = std::m
#include
#include
#include
#include
#include
#include
#include
#include
/// Forward declarations.
template
template
/// Number of attributes in each sample.
constexpr size_t N = 4;
/// Floating point error.
constexpr float EPS = 1e-7;
/**
* A single sample with attributes & target class.
*/
template
struct Sample {
Sample()
{
}
Sample(Sample &&sample)
: attributes(std::move(sample.attributes))
, clazz(std::move(sample.clazz))
{
}
void operator = (Sample &&sample) {
attributes = std::m
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
Golang AOA Android Open Accessory HID Control
0
0
no vote
PClite
0
0
no vote
GMSK Linear Receiver
0
0
no vote
The golden version of AFT that has been passed dow
0
0
no vote
No comment