Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
Test driver for training a reranker::PerceptronModel. More...
#include <iostream>
#include <memory>
#include "candidate.H"
#include "candidate-set.H"
#include "candidate-set-iterator.H"
#include "candidate-set-reader.H"
#include "model.H"
#include "perceptron-model.H"
#include "model-proto-writer.H"
#include "perceptron-model-proto-writer.H"
#include "../proto/data.pb.h"
#include "../proto/dataio.h"
Go to the source code of this file.
Macros | |
#define | DEBUG 1 |
#define | REPORTING_INTERVAL 100 |
#define | MAX_NUM_EXAMPLES 1000 |
#define | MAX_NUM_CANDIDATES 1000000 |
Functions | |
int | main (int argc, char **argv) |
Test driver for training a reranker::PerceptronModel.
Definition in file perceptron-model-test.C.
#define DEBUG 1 |
Definition at line 50 of file perceptron-model-test.C.
#define MAX_NUM_CANDIDATES 1000000 |
Definition at line 54 of file perceptron-model-test.C.
#define MAX_NUM_EXAMPLES 1000 |
Definition at line 53 of file perceptron-model-test.C.
#define REPORTING_INTERVAL 100 |
Definition at line 51 of file perceptron-model-test.C.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 60 of file perceptron-model-test.C.