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

Go to the source code of this file.

Namespaces

namespace  PLearn
 

< for swap


Functions

void PLearn::DX_write_2D_fields (ostream &out, const string &basename, TVec< Mat > fields, real x0, real y0, real deltax, real deltay, TVec< string > fieldnames=TVec< string >())
void PLearn::DX_write_2D_fields (ostream &out, const string &basename, Vec X, Vec Y, TVec< Mat > fields)
TVec< Mat > PLearn::computeOutputFields (PP< PLearner > learner, Vec X, Vec Y)
TVec< Mat > PLearn::computeOutputFields (PP< PLearner > learner, int nx, int ny, real x0, real y0, real deltax, real deltay)
TVec< Mat > PLearn::computeOutputFieldsAutoRange (PP< PLearner > learner, VMat dataset, int nx, int ny, real &x0, real &y0, real &deltax, real &deltay, real extraspace=.10)
void PLearn::computeXYPositions (VMat dataset, int nx, int ny, Vec &X, Vec &Y, real extraspace=.10)
void PLearn::DX_create_dataset_outputs_file (const string &filename, PP< PLearner > learner, VMat dataset)
 Will write a file containing a field with the dataset positions "dset" field will be input -> target, outputs.
void PLearn::DX_create_grid_outputs_file (const string &filename, PP< PLearner > learner, VMat dataset, int nx, int ny, bool include_datapoint_grid=false, real xmin=MISSING_VALUE, real xmax=MISSING_VALUE, real ymin=MISSING_VALUE, real ymax=MISSING_VALUE, real extraspace=.10)
 The "outputs" field will contain sample-grid inputs -> outputs Where the sample grid is made of a regular grid of nx.ny points (in the range [xmin, xmax] x [ymin, ymax]) xmin, xmax, ymin and ymax may be left to MISSING_VALUE, in which case an automatic range will be determined from the range of the points in the given dataset extended by extraspace (ex: .10 == 10%).

Detailed Description

Definition in file GenerateDecisionPlot.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines