PLearn 0.1
|
#include "DisplayUtils.h"
#include <plearn/io/openString.h>
#include <plearn/io/TmpFilenames.h>
#include <plearn/math/pl_math.h>
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 ®ulargrid_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) |
Vec | PLearn::centerSubVec (Vec v, int n=16) |
returns a subvector made of the (max) n "central" values of v | |
string | PLearn::summarizedVecString (Vec v, int maxn=16, string format="%2.2g") |
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::OldDisplayVarGraph (const VarArray &outputs, bool display_values, real boxwidth, const char *the_filename, bool must_wait, VarArray display_only_these) |
void | PLearn::tagVariables (VarArray vars, string tag) |
void | PLearn::untagVariables (VarArray vars, string tag) |
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) |