class EuclideanDataSet

DataSet with dot-products.

Inheritance:


Public Methods

[more] EuclideanDataSet()
[more]real dotProduct(int i, List* y)
Between selected_examples[i] and y
[more]real realDotProduct(int i, int j)
Between i and selected_examples[j]
[more]virtual real realRealDotProduct(int i, int j) = 0
Between i and j
[more]virtual real realDotProduct(int i, List* y) = 0
Between i and y
[more]virtual real dotProduct(List* x, List* y) = 0
Between x and y

Public Members

[more] Dot product functions
[more] Dot products between two examples.


Inherited from DataSet:

Public Fields

oint* selected_examples
oint current_example
oint n_targets
ovoid* targets
oint n_inputs
oList* inputs
oint n_examples
oint n_real_examples

Public Methods

ovoid setExample(int t)
ovirtual void setRealExample(int t)
ovoid pushSubset(int* subset_, int n_examples_)
ovoid popSubset()


Inherited from Object:

Public Methods

ovirtual void init()
ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)
ovoid load(const char* filename)
ovoid save(const char* filename)


Documentation

DataSet with dot-products.

o EuclideanDataSet()

o Dot product functions
Dot product functions

o 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.

oreal dotProduct(int i, List* y)
Between selected_examples[i] and y

oreal realDotProduct(int i, int j)
Between i and selected_examples[j]

ovirtual real realRealDotProduct(int i, int j) = 0
Between i and j

ovirtual real realDotProduct(int i, List* y) = 0
Between i and y

ovirtual 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++.