#include <Document.hpp>
ClassificationDecorator decorates any Document with classification information.
ldaplusplus::corpus::ClassificationDecorator::ClassificationDecorator |
( |
std::shared_ptr< Document > |
doc, |
|
|
int |
y |
|
) |
| |
- Parameters
-
doc | The document to be decorated |
y | The class of the document |
int ldaplusplus::corpus::ClassificationDecorator::get_class |
( |
| ) |
const |
|
overridevirtual |
const std::shared_ptr< const Corpus > ldaplusplus::corpus::ClassificationDecorator::get_corpus |
( |
| ) |
const |
|
overridevirtual |
const Eigen::VectorXi & ldaplusplus::corpus::ClassificationDecorator::get_words |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- include/ldaplusplus/Document.hpp
- src/ldaplusplus/Document.cpp