PLearn 0.1
Namespaces | Functions
learner_utils.cc File Reference
#include "learner_utils.h"
#include <plearn/vmat/VMat_basic_stats.h>
Include dependency graph for learner_utils.cc:

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)
double PLearn::determine_density_integral_from_log_densities_on_grid (Vec log_densities, real deltax, real deltay)
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.
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)

Detailed Description

Definition in file learner_utils.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines