11 #ifndef __PLIFARRAY_H__
12 #define __PLIFARRAY_H__
47 return m_array.get_num_elements();
64 int32_t p_value,
float64_t* svm_values)
const;
117 for (int32_t i=0; i<
m_array.get_num_elements(); i++)
125 virtual const char*
get_name()
const {
return "PlifArray"; }
virtual float64_t get_max_value() const
virtual const char * get_name() const
virtual float64_t get_min_value() const
virtual int32_t get_max_id() const
virtual float64_t lookup_penalty(float64_t p_value, float64_t *svm_values) const
virtual void penalty_add_derivative(float64_t p_value, float64_t *svm_values, float64_t factor)
virtual void list_plif() const
void get_used_svms(int32_t *num_svms, int32_t *svm_ids)
Template Dynamic array class that creates an array that can be used like a list or an array...
void add_plif(CPlifBase *new_plif)
all of classes and functions are contained in the shogun namespace
virtual bool uses_svm_values() const
virtual void penalty_clear_derivative()
DynArray< CPlifBase * > m_array