11 #ifndef __MODELSELECTIONPARAMETERS_H_
12 #define __MODELSELECTIONPARAMETERS_H_
23 class CParameterCombination;
151 int32_t type_base=2);
154 void* vector,
index_t* size, int32_t step=1,
155 int32_t type_base=2);
158 int32_t step=1, int32_t type_base=2);
163 return "ModelSelectionParameters";
170 void delete_values();
174 ERangeType type,
void* step,
void* type_base);
188 const char* m_node_name;
214 SG_SERROR(
"unable build values: max=%f < min=%f\n", max, min)
221 for (
index_t i=0; i<num_values; ++i)
223 T current=min+i*step;
~CModelSelectionParameters()
int32_t get_num_elements() const
CModelSelectionParameters()
Class to select parameters and their ranges for model selection. The structure is organized as a tree...
Class SGObject is the base class of all shogun objects.
virtual const char * get_name() const
void print_tree(int prefix_num=0)
void set_values(const SGVector< T > &values, EMSParamType value_type)
void build_values_vector(float64_t min, float64_t max, ERangeType type, void *vector, index_t *size, float64_t step=1.0, float64_t type_base=2.0)
void build_values(float64_t min, float64_t max, ERangeType type, float64_t step=1.0, float64_t type_base=2.0)
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
Class that holds ONE combination of parameters for a learning machine. The structure is organized as ...
CParameterCombination * get_single_combination(bool rand=true)
void build_values_sgvector(float64_t min, float64_t max, ERangeType type, void *vector, float64_t step=1.0, float64_t type_base=2.0)
all of classes and functions are contained in the shogun namespace
CDynamicObjectArray * get_combinations(index_t prefix_num=1)
static float64_t log2(float64_t v)
log10(x), x being a complex128_t
SGVector< T > create_range_array(T min, T max, ERangeType type, T step, T type_base)
bool has_children() const
Matrix::Scalar max(Matrix m)
static float64_t round(float64_t d)
void append_child(CModelSelectionParameters *child)
static int32_t pow(bool x, int32_t n)