Next:
1. Overview of PLearn
Up:
PLearn Programmer's Guide A programmer's
Previous:
PLearn Programmer's Guide A programmer's
Contents
1
. Overview of PLearn
1
.
1
Introduction
1
.
2
Developer CVS access
1
.
3
Additional tools for developers
2
. Basics
2
.
1
PLearn for Matrix-Vectors Operations
2
.
1
.
1
Creation and Basic Manipulations
2
.
1
.
2
Mathematical Manipulations
2
.
1
.
3
Loading and saving
2
.
2
How to create a PLearner?
2
.
2
.
1
What?
2
.
2
.
2
Where?
2
.
2
.
3
How?
2
.
2
.
4
And now?
2
.
2
.
5
A build_() that works in every situation
2
.
2
.
6
Useful members and methods defined in PLearner class
2
.
2
.
7
Datasets
2
.
2
.
8
Testing phase
2
.
2
.
9
How to get the dataset?
2
.
2
.
10
How to manage the dataset?
2
.
2
.
11
If you need gradients on a cost function...
3
. Intermediate
3
.
1
Low-level concepts
3
.
1
.
1
Important compilation flags
3
.
1
.
2
Smart Pointers
3
.
2
How to subclass a PLearn
Object
3
.
2
.
1
Object
3
.
2
.
2
Creating a basic class deriving from Object
3
.
2
.
3
Setting option fields and calling build()
3
.
2
.
4
A generic way of setting options from “outside”
3
.
2
.
5
Building an object from its specification in a file
3
.
2
.
6
Human description versus saved object
3
.
3
Matrix-Vectors Operations with Gradients
3
.
3
.
1
Introduction to Var
3
.
3
.
2
Creating
3
.
3
.
3
Manipulating
3
.
3
.
4
Loading and saving
3
.
3
.
5
Func
3
.
4
Online Learning
3
.
4
.
1
OnlineLearningModule
4
. Advanced
4
.
1
RandomVar
4
.
2
Function-like types
4
.
2
.
1
Ker
4
.
2
.
2
CostFunc
4
.
2
.
3
StatsIt
4
.
3
Optimizers
4
.
4
Miscalleanous utilities
5
. Managing software growth
5
.
1
A few words on the build system
5
.
2
How to limit compilation and link dependencies
5
.
2
.
1
Compilation dependency versus link dependency
5
.
2
.
2
How dependencies tend to creep in, and ways around them
5
.
3
Regarding external library dependencies
5
.
4
Evolving software in a backward-compatible way
6
. PLearn coding guidelines and philosophy
6
.
1
A few words on C++
6
.
2
Design goals and priorities
6
.
3
Usage of C++ features in PLearn
6
.
4
Usage of the C++ standard library in PLearn
6
.
5
Naming conventions
6
.
6
Final word
7
. Debugging
7
.
1
Compilation problems
7
.
1
.
1
Frequently encountered compilation errors
7
.
2
Linking problems
7
.
3
Clean runtime errors
7
.
4
Dirty runtime errors