blob: 0c883a8cfdc3393bba74721d64443bac658c572e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD (revised)
license as described in the file LICENSE.
*/
// This is a learner which does nothing with examples. Used when VW is used as a compressor.
#include "reductions.h"
namespace NOOP {
void learn(char&, LEARNER::base_learner&, example&) {}
LEARNER::base_learner* setup(vw& all)
{ return &LEARNER::init_learner<char>(NULL, learn, 1); }
}
|