#include <ProjectionErrorVariable.h>
Inheritance diagram for PLearn::ProjectionErrorVariable:
Definition at line 59 of file ProjectionErrorVariable.h.
|
Reimplemented from PLearn::BinaryVariable. Definition at line 61 of file ProjectionErrorVariable.h. Referenced by ProjectionErrorVariable(). |
|
Default constructor for persistence.
Definition at line 80 of file ProjectionErrorVariable.h. |
|
Definition at line 89 of file ProjectionErrorVariable.cc. |
|
Implements PLearn::Variable. Definition at line 365 of file ProjectionErrorVariable.cc. References PLearn::TVec< T >::clear(), dF, PLearn::externalProductScaleAcc(), F, fw, fw_minus_t, k, PLearn::multiplyAcc(), n_dim, norm_err, norm_penalization, normalize_by_neighbor_distance, one_over_norm_T, ordered_vectors, PLearn::substract(), T, TT, use_subspace_distance, w, and ww. |
|
Should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object. Reimplemented from PLearn::Variable. Definition at line 102 of file ProjectionErrorVariable.cc. References build_(). |
|
This method should be redefined in subclasses and do the actual building of the object according to previously set option fields. Constructors can just set option fields, and then call build_. This method is NOT virtual, and will typically be called only from three places: a constructor, the public virtual build() method, and possibly the public virtual read method (which calls its parent's read). build_() can assume that it's parent's build_ has already been called. Reimplemented from PLearn::Variable. Definition at line 109 of file ProjectionErrorVariable.cc. References A, A11, A12, A21, A22, B, dF, F, FT, FT1, FT2, fw, fw_minus_t, PLearn::Var::length(), n, n_dim, norm_err, norm_f, norm_penalization, one_over_norm_T, ordered_vectors, PLERROR, PLearn::TMat< T >::resize(), PLearn::TVec< T >::resize(), rhs, PLearn::TMat< T >::subMat(), PLearn::TVec< T >::subVec(), T, PLearn::TVec< T >::toMat(), TT, Tu, use_subspace_distance, Ut, uu, V, VVt, w, PLearn::Var::width(), ww, wwuu, and wwuuM. Referenced by build(), and ProjectionErrorVariable(). |
|
compute output given input
Implements PLearn::Variable. Definition at line 191 of file ProjectionErrorVariable.cc. References A11, A12, A22, B, PLearn::TMat< T >::clear(), PLearn::TVec< T >::clear(), PLearn::dot(), PLearn::endl(), epsilon, F, F, FT, FT1, FT2, fw, fw_minus_t, k, PLearn::lapackSVD(), PLearn::TMat< T >::length(), PLearn::TVec< T >::length(), PLearn::multiply(), n, n_dim, PLearn::norm(), norm_err, norm_f, norm_penalization, normalize_by_neighbor_distance, one_over_norm_T, ordered_vectors, PLearn::pownorm(), PLearn::product(), PLearn::productAcc(), PLearn::productTranspose(), regularization, PLearn::TMat< T >::resize(), S, PLearn::substract(), PLearn::sum(), PLearn::sumsquare(), T, PLearn::transposeProduct(), TT, Tu, use_subspace_distance, Ut, uu, V, w, PLearn::TMat< T >::width(), ww, and wwuu. |
|
|
|
Recomputes the length l and width w that this variable should have, according to its parent variables. This is used for ex. by sizeprop() The default version stupidly returns the current dimensions, so make sure to overload it in subclasses if this is not appropriate. Reimplemented from PLearn::Variable. Definition at line 185 of file ProjectionErrorVariable.cc. |
|
compute a piece of new Var graph that represents the symbolic derivative of this Var
Reimplemented from PLearn::Variable. Definition at line 442 of file ProjectionErrorVariable.cc. References PLERROR. |
|
Definition at line 74 of file ProjectionErrorVariable.h. Referenced by build_(). |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. Referenced by build_(). |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 68 of file ProjectionErrorVariable.h. Referenced by fprop(). |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 75 of file ProjectionErrorVariable.h. |
|
Definition at line 64 of file ProjectionErrorVariable.h. |
|
Definition at line 71 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 67 of file ProjectionErrorVariable.h. |
|
Definition at line 66 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 70 of file ProjectionErrorVariable.h. |
|
Definition at line 69 of file ProjectionErrorVariable.h. Referenced by fprop(). |
|
Definition at line 73 of file ProjectionErrorVariable.h. Referenced by build_(). |
|
Definition at line 73 of file ProjectionErrorVariable.h. Referenced by fprop(). |
|
Definition at line 72 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 65 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. Referenced by build_(). |
|
Definition at line 76 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 73 of file ProjectionErrorVariable.h. |
|
Definition at line 74 of file ProjectionErrorVariable.h. Referenced by build_(). |