DataSet with dot-products.
Inheritance:
Public Methods
-
EuclideanDataSet()
-
real dotProduct(int i, List* y)
- Between selected_examples[i] and y
-
real realDotProduct(int i, int j)
- Between i and selected_examples[j]
-
virtual real realRealDotProduct(int i, int j) = 0
- Between i and j
-
virtual real realDotProduct(int i, List* y) = 0
- Between i and y
-
virtual real dotProduct(List* x, List* y) = 0
- Between x and y
Public Members
-
Dot product functions
-
Dot products between two examples.
Inherited from DataSet:
Public Fields
-
int* selected_examples
-
int current_example
-
int n_targets
-
void* targets
-
int n_inputs
-
List* inputs
-
int n_examples
-
int n_real_examples
Public Methods
-
void setExample(int t)
-
virtual void setRealExample(int t)
-
void pushSubset(int* subset_, int n_examples_)
-
void popSubset()
Inherited from Object:
Public Methods
-
virtual void init()
-
void addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
-
void addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
virtual void loadFILE(FILE* file)
-
virtual void saveFILE(FILE* file)
-
void load(const char* filename)
-
void save(const char* filename)
Documentation
DataSet with dot-products.
EuclideanDataSet()
Dot product functions
- Dot product functions
Dot products between two examples.
- Dot products between two examples. Not that
if a parameter is a List, this one must have
the same format as the format generated by the DataSet
class for inputs.
real dotProduct(int i, List* y)
- Between selected_examples[i] and y
real realDotProduct(int i, int j)
- Between i and selected_examples[j]
virtual real realRealDotProduct(int i, int j) = 0
- Between i and j
virtual real realDotProduct(int i, List* y) = 0
- Between i and y
virtual real dotProduct(List* x, List* y) = 0
- Between x and y
- Direct child classes:
- StdDataSet
SparseDataSet
- Author:
- Ronan Collobert (collober@iro.umontreal.ca)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.