#include <SmoothedProbSparseMatrix.h>
Inheritance diagram for PLearn::SmoothedProbSparseMatrix:
Public Member Functions | |
bool | checkCondProbIntegrity () |
SmoothedProbSparseMatrix (int n_rows=0, int n_cols=0, string name="pXY", int mode=ROW_WISE, bool double_access=false) | |
void | normalizeCondLaplace (ProbSparseMatrix &nXY, bool clear_nXY=false) |
void | normalizeCondBackoff (ProbSparseMatrix &nXY, real disc, Vec &bDist, bool clear_nXY, bool shadow) |
string | getClassName () const |
real | get (int i, int j) |
void | write (PStream &out) const |
void | read (PStream &in) |
Protected Attributes | |
int | smoothingMethod |
Vec | normalizationSum |
Vec | backoffDist |
Vec | backoffNormalization |
Vec | discountedMass |
|
Definition at line 41 of file SmoothedProbSparseMatrix.cc. References mode, and smoothingMethod. |
|
Reimplemented from PLearn::ProbSparseMatrix. Definition at line 276 of file SmoothedProbSparseMatrix.cc. References backoffDist, backoffNormalization, discountedMass, normalizationSum, ROW_WISE, PLearn::TVec< T >::size(), smoothingMethod, and PLearn::sum(). Referenced by PLearn::GraphicalBiText::check_consitency(). |
|
Reimplemented from PLearn::DoubleAccessSparseMatrix< real >. Definition at line 226 of file SmoothedProbSparseMatrix.cc. References backoffDist, backoffNormalization, discountedMass, normalizationSum, PLERROR, ROW_WISE, and smoothingMethod. Referenced by PLearn::GraphicalBiText::test_WSD(). |
|
Reimplemented from PLearn::ProbSparseMatrix. Definition at line 69 of file SmoothedProbSparseMatrix.h. |
|
|
|
Reimplemented from PLearn::DoubleAccessSparseMatrix< real >. Definition at line 363 of file SmoothedProbSparseMatrix.cc. References backoffDist, backoffNormalization, discountedMass, PLearn::PStream::get(), getClassName(), PLearn::PStream::inmode, normalizationSum, PLERROR, read(), PLearn::PStream::skipBlanksAndCommentsAndSeparators(), and smoothingMethod. |
|
Reimplemented from PLearn::DoubleAccessSparseMatrix< real >. Definition at line 334 of file SmoothedProbSparseMatrix.cc. References backoffDist, backoffNormalization, discountedMass, getClassName(), normalizationSum, PLearn::PStream::outmode, PLERROR, smoothingMethod, and PLearn::PStream::write(). |
|
Definition at line 59 of file SmoothedProbSparseMatrix.h. Referenced by checkCondProbIntegrity(), get(), normalizeCondBackoff(), read(), and write(). |
|
Definition at line 60 of file SmoothedProbSparseMatrix.h. Referenced by checkCondProbIntegrity(), get(), normalizeCondBackoff(), read(), and write(). |
|
Definition at line 62 of file SmoothedProbSparseMatrix.h. Referenced by checkCondProbIntegrity(), get(), normalizeCondBackoff(), read(), and write(). |
|
Definition at line 57 of file SmoothedProbSparseMatrix.h. Referenced by checkCondProbIntegrity(), get(), normalizeCondBackoff(), normalizeCondLaplace(), read(), and write(). |
|
Definition at line 54 of file SmoothedProbSparseMatrix.h. Referenced by checkCondProbIntegrity(), get(), normalizeCondBackoff(), normalizeCondLaplace(), read(), SmoothedProbSparseMatrix(), and write(). |