Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.09 KB

pmtkVersions.wiki

File metadata and controls

9 lines (5 loc) · 1.09 KB

Information of different versions of pmtk

There are several versions of pmtk.

v1 is object-oriented and contains many examples, but was abandoned because it was growing organically and lacked a coherent overall design. It needs Matlab 2008a or newer.


v2 has a much better object-oriented design, but was abandoned due to excessive complexity of the class system (e.g., see this diagram). It needs Matlab 2008a or newer.


v3 is the latest version (started January 2010), and is much simpler. It needs Matlab 2007a `(R14)` or newer (see [MatlabCompatibility] for info on making it work on older versions of Matlab). In v3, the basic design philosophy changed from object-oriented to functional, e.g., instead of passing in a model object, with fit and predict methods, to the cross validation routine, you must now pass in fit and predict function handles. The principal advantage of this is that the code (mostly) runs on Octave. In addition, this lightweight functional style is more familiar to most Matlab programmers.