Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
perceptron-model-test.C File Reference

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)
 

Detailed Description

Test driver for training a reranker::PerceptronModel.

Author
dbike.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Dan Bikel)

Definition in file perceptron-model-test.C.

Macro Definition Documentation

#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.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 60 of file perceptron-model-test.C.