#include <stdio.h>#include <unistd.h>#include <getopt.h>#include <sys/stat.h>#include <libgen.h>#include "../error/error.h"#include <errno.h>#include <string.h>#include "voc_htab32.c"#include "nps_vocab.h"#include <stdlib.h>#include <math.h>#include <assert.h>#include <stdint.h>#include "ImatState.h"#include "lol.h"#include "imat_undef.h"#include "../error/error.h"#include "../bio/bio.h"#include "../msg.c"#include "../bio/mkSfx.c"#include "bio.h"#include "ty.c"#include "x_bio.h"#include "../bio/ch2Id.c"#include <limits.h>#include <sys/types.h>#include <glob.h>#include "mkSfx.c"#include "env.c"#include "sfx.c"#include "../bio/find.c"#include "../bio/mapP.c"#include <sys/mman.h>#include "../hash/nps_vocab.c"#include <stdarg.h>#include "Object.h"#include <stddef.h>#include "error.h"#include "./stack.c"#include "ImatState.c"#include "InstMatLoL.h"#include "Intern.h"#include "htab.h"#include "../backtrace.c"#include "alloc.h"#include "string_hash.c"#include "../cblas.h"#include "../stdlib/alloc.c"#include "lol.c"#include "imat_shared.c"#include "darray.h"#include "darray.c"#include "../hash/Intern.c"#include "permute.h"#include "nr_ran.h"Defines | |
| #define | _GNU_SOURCE |
Functions | |
| void | print_usage (FILE *f, char *progname) |
| int | parse_args (int argc, char **argv) |
| int | main (int argc, char **argv) |
Variables | |
| char | usage [] |
| int | ignoreBias = 0 |
| int64_t | numIterations = 20 |
| #define _GNU_SOURCE |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
| int parse_args | ( | int | argc, | |
| char ** | argv | |||
| ) |
| void print_usage | ( | FILE * | f, | |
| char * | progname | |||
| ) |
| int ignoreBias = 0 |
| int64_t numIterations = 20 |
| char usage[] |
"usage: %s [options] model_directory file\n" "Binary perceptron training expects NPSML classifier file format as input.\n" "Instance weights are ignored (due to lack of appropriate translation)\n" "Options include:\n" "[-h|--help] print this message and exit\n" "[-i|--iterations] the maximum number of training iterations (defaults to 20)\n" "[-n|--nobias] bias parameter will be 0.\n"
1.6.3