PLearn 0.1
Namespaces | Functions
DisplayUtils.h File Reference
#include <plearn_learners/generic/PLearner.h>
#include "GhostScript.h"
#include <plearn/math/Mat.h>
#include "Gnuplot.h"
#include <plearn/var/Func.h>
Include dependency graph for DisplayUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  PLearn
 

< for swap


Functions

void PLearn::scores_to_winners (Mat scores, Mat &winners)
void PLearn::color_luminance_to_rgb (int colornum, real luminance, real &r, real &g, real &b)
real PLearn::color_luminance_to_rgbreal (int colornum, real luminance)
void PLearn::color_luminance_to_rgbreal (Vec colornum, Vec luminance, Vec &rgbreal)
void PLearn::transform_perclass_values_into_luminance (Vec classnums, const Vec &values, int ndiscretevals)
void PLearn::regulargrid_x_y_rgbreal_to_bitmap (Mat &regulargrid_x_y_rgbreal, Mat &bm, real &xlow, real &xhigh, real &ylow, real &yhigh)
void PLearn::regulargrid_x_y_outputs_to_bitmap (Mat regulargrid_x_y_outputs, bool output_margin, int ndiscretevals, Mat &bm, real &xlow, real &xhigh, real &ylow, real &yhigh)
void PLearn::displayHistogram (Gnuplot &gp, Mat dataColumn, int n_bins, Vec *pbins, bool regular_bins, bool normalized, string extra_args)
void PLearn::displayVarGraph (const VarArray &outputs, bool display_values, real boxwidth, const char *the_filename, bool must_wait, VarArray display_only_these)
 VarGraph.
void PLearn::displayFunction (Func f, bool display_values, bool display_differentiation, real boxwidth, const char *the_filename, bool must_wait)
Mat PLearn::compute2dGridOutputs (PP< PLearner > learner, real min_x, real max_x, real min_y, real max_y, int length, int width, real singleoutput_threshold)
void PLearn::displayPoints (GhostScript &gs, Mat data, real radius, bool color=false)
 this draws x and + with the given radius for all the points in data (supposed to have width 3: [x, y, classnum]
void PLearn::displayDecisionSurface (GhostScript &gs, real destx, real desty, real destwidth, real destheight, PP< PLearner > learner, Mat trainset, Vec svindexes, Vec outlierindexes, int nextsvindex, real min_x, real max_x, real min_y, real max_y, real radius, int nx, int ny)

Detailed Description

Definition in file DisplayUtils.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines