mlpack
Classes | Namespaces | Typedefs
bag_of_words_encoding_policy.hpp File Reference
#include <mlpack/prereqs.hpp>
#include <mlpack/core/data/string_encoding_policies/policy_traits.hpp>
#include <mlpack/core/data/string_encoding.hpp>
Include dependency graph for bag_of_words_encoding_policy.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mlpack::data::BagOfWordsEncodingPolicy
 Definition of the BagOfWordsEncodingPolicy class. More...
 

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::data
 Functions to load and save matrices and models.
 

Typedefs

template<typename TokenType >
using mlpack::data::BagOfWordsEncoding = StringEncoding< BagOfWordsEncodingPolicy, StringEncodingDictionary< TokenType > >
 A convenient alias for the StringEncoding class with BagOfWordsEncodingPolicy and the default dictionary for the given token type. More...
 

Detailed Description

Author
Jeffin Sam
Mikhail Lozhnikov

Definition of the BagOfWordsEncodingPolicy class.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.