#include "components/assist_ranker/example_preprocessing.h"
#include <algorithm>
#include "base/logging.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "components/assist_ranker/ranker_example_util.h"
#include "third_party/protobuf/src/google/protobuf/map.h"
#include "third_party/protobuf/src/google/protobuf/repeated_field.h"
namespace assist_ranker {
Map;
MapPair;
RepeatedField;
const char ExamplePreprocessor::kMissingFeatureDefaultName[] = …;
const char ExamplePreprocessor::kVectorizedFeatureDefaultName[] = …;
std::string ExamplePreprocessor::FeatureFullname(
const std::string& feature_name,
const std::string& feature_value) { … }
int ExamplePreprocessor::Process(const ExamplePreprocessorConfig& config,
RankerExample* const example,
const bool clear_other_features) { … }
int ExamplePreprocessor::AddMissingFeatures(
const ExamplePreprocessorConfig& config,
RankerExample* const example) { … }
int ExamplePreprocessor::AddBucketizedFeatures(
const ExamplePreprocessorConfig& config,
RankerExample* const example) { … }
int ExamplePreprocessor::NormalizeFeatures(
const ExamplePreprocessorConfig& config,
RankerExample* example) { … }
int ExamplePreprocessor::ConvertToStringFeatures(
const ExamplePreprocessorConfig& config,
RankerExample* example) { … }
int ExamplePreprocessor::Vectorization(const ExamplePreprocessorConfig& config,
RankerExample* example,
const bool clear_other_features) { … }
ExampleFloatIterator::Field ExampleFloatIterator::operator*() const { … }
ExampleFloatIterator& ExampleFloatIterator::operator++() { … }
}