HomeSort by relevance Sort by last modified time
    Searched refs:SparseWeightVector (Results 1 - 5 of 5) sorted by null

  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
sparse_weight_vector.h 36 class SparseWeightVector {
41 SparseWeightVector() {
44 ~SparseWeightVector() {}
45 explicit SparseWeightVector(const SparseWeightVector<Key, Hash> &other) {
48 void operator=(const SparseWeightVector<Key, Hash> &other) {
51 void CopyFrom(const SparseWeightVector<Key, Hash> &other) {
115 void LoadWeightVector(const SparseWeightVector<Key, Hash> &vec) {
132 const SparseWeightVector<Key, Hash> &w1,
135 const SparseWeightVector<Key, Hash> &w1
    [all...]
sparse_weight_vector.cpp 35 bool SparseWeightVector<Key, Hash>::IsValid() const {
48 void SparseWeightVector<Key, Hash>::AdditiveWeightUpdate(
50 const SparseWeightVector<Key, Hash> &w1,
62 void SparseWeightVector<Key, Hash>::AdditiveSquaredWeightUpdate(
64 const SparseWeightVector<Key, Hash> &w1,
77 void SparseWeightVector<Key, Hash>::AdditiveInvSqrtWeightUpdate(
79 const SparseWeightVector<Key, Hash> &w1,
94 void SparseWeightVector<Key, Hash>::AdditiveWeightUpdateBounded(
96 const SparseWeightVector<Key, Hash> &w1,
122 void SparseWeightVector<Key, Hash>::MultWeightUpdate
    [all...]
stochastic_linear_ranker.h 168 void LoadWeights(const SparseWeightVector<Key, Hash> &model) {
172 void SaveWeights(SparseWeightVector<Key, Hash> *model) {
176 double ScoreSample(const SparseWeightVector<Key, Hash> &sample) {
200 int UpdateClassifier(const SparseWeightVector<Key, Hash> &positive,
201 const SparseWeightVector<Key, Hash> &negative);
204 SparseWeightVector<Key, Hash> weight_;
220 SparseWeightVector<Key, Hash> current_negative_;
234 void UpdateSubGradient(const SparseWeightVector<Key, Hash> &positive,
235 const SparseWeightVector<Key, Hash> &negative,
stochastic_linear_ranker.cpp 26 const SparseWeightVector<Key, Hash> &positive,
27 const SparseWeightVector<Key, Hash> &negative,
32 SparseWeightVector<Key, Hash> gradient;
63 const SparseWeightVector<Key, Hash> &positive,
64 const SparseWeightVector<Key, Hash> &negative) {
67 SparseWeightVector<Key, Hash> weight_backup;
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
jni_stochastic_linear_ranker.cpp 28 using learning_stochastic_linear::SparseWeightVector;
31 const int length, SparseWeightVector<string> * sample) {
52 const int length, SparseWeightVector<string> *sample) {
54 SparseWeightVector<string>::Wmap w_ = sample->GetMap();
56 for ( SparseWeightVector<string>::Witer_const iter = w_.begin();
84 SparseWeightVector<string> model;
235 SparseWeightVector<string> M_weights;
238 SparseWeightVector<string>::Wmap w_map = M_weights.GetMap();
377 SparseWeightVector<string> M_weights;
379 SparseWeightVector<string>::Wmap w_map = M_weights.GetMap()
    [all...]

Completed in 40 milliseconds