PLearn 0.1
|
#include <plearn_learners/generic/PLearner.h>
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Functions | |
Mat | PLearn::compute_learner_outputs (PP< PLearner > learner, VMat inputs) |
void | PLearn::determine_grid_for_dataset (VMat dataset, int nx, int ny, real &x0, real &y0, real &deltax, real &deltay, real extraspace) |
Mat | PLearn::compute_learner_outputs_on_grid (PP< PLearner > learner, int nx, int ny, real x0, real y0, real deltax, real deltay) |
Returns a nx*ny x learner->outputsize() matrix of outputs corresponding to the nx*ny grid points. | |
double | PLearn::determine_density_integral_from_log_densities_on_grid (Vec log_densities, real deltax, real deltay) |
void | PLearn::DX_write_2D_data (ostream &out, const string &basename, Mat data) |
considers data to have 2d input (first 2 columns of data) | |
void | PLearn::DX_write_2D_data_for_grid (ostream &out, const string &basename, int nx, int ny, real x0, real y0, real deltax, real deltay, Mat data) |
data must have nx*ny rows and must corresponds to values associated with the 2D positions of the grid (typically learner outputs on that grid) | |
void | PLearn::DX_save_2D_data (const string &filename, const string &basename, Mat data) |
considers data to have 2d input (first 2 columns of data) | |
void | PLearn::DX_save_2D_data_for_grid (const string &filename, const string &basename, int nx, int ny, real x0, real y0, real deltax, real deltay, Mat data) |
data must have nx*ny rows and must corresponds to values associated with the 2D positions of the grid (typically learner outputs on that grid) |
Definition in file learner_utils.h.