Functions | Variables
svm-predict.c File Reference
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "svm.h"
Include dependency graph for svm-predict.c:

Go to the source code of this file.

Functions

void exit_input_error (int line_num)
void exit_with_help ()
int main (int argc, char **argv)
void predict (FILE *input, FILE *output)
int print_null (const char *s,...)
static char * readline (FILE *input)

Variables

static int(* info )(const char *fmt,...) = &printf
static char * line = NULL
static int max_line_len
int max_nr_attr = 64
struct svm_modelmodel
int predict_probability = 0
struct svm_nodex

Function Documentation

void exit_input_error ( int  line_num)

Definition at line 39 of file svm-predict.c.

void exit_with_help ( )

Definition at line 159 of file svm-predict.c.

int main ( int  argc,
char **  argv 
)

Definition at line 170 of file svm-predict.c.

void predict ( FILE *  input,
FILE *  output 
)

Definition at line 45 of file svm-predict.c.

int print_null ( const char *  s,
  ... 
)

Definition at line 8 of file svm-predict.c.

static char* readline ( FILE *  input) [static]

Definition at line 21 of file svm-predict.c.


Variable Documentation

int(* info)(const char *fmt,...) = &printf [static]

Definition at line 10 of file svm-predict.c.

char* line = NULL [static]

Definition at line 18 of file svm-predict.c.

int max_line_len [static]

Definition at line 19 of file svm-predict.c.

int max_nr_attr = 64

Definition at line 13 of file svm-predict.c.

struct svm_model* model

Definition at line 15 of file svm-predict.c.

Definition at line 16 of file svm-predict.c.

struct svm_node* x

Definition at line 12 of file svm-predict.c.



ml_classifiers
Author(s): Scott Niekum
autogenerated on Fri Jan 3 2014 11:30:23