Macros | Functions | Variables
svmpredict.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../svm.h"
#include "mex.h"
#include "svm_model_matlab.h"
Include dependency graph for svmpredict.c:

Go to the source code of this file.

Macros

#define CMD_LEN   2048
 

Functions

void exit_with_help ()
 
static void fake_answer (mxArray *plhs[])
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 
void predict (mxArray *plhs[], const mxArray *prhs[], struct svm_model *model, const int predict_probability)
 
int print_null (const char *s,...)
 
void read_sparse_instance (const mxArray *prhs, int index, struct svm_node *x)
 

Variables

int(* info )(const char *fmt,...) = &mexPrintf
 

Macro Definition Documentation

◆ CMD_LEN

#define CMD_LEN   2048

Definition at line 15 of file svmpredict.c.

Function Documentation

◆ exit_with_help()

void exit_with_help ( )

Definition at line 246 of file svmpredict.c.

◆ fake_answer()

static void fake_answer ( mxArray *  plhs[])
static

Definition at line 42 of file svmpredict.c.

◆ mexFunction()

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

Definition at line 262 of file svmpredict.c.

◆ predict()

void predict ( mxArray *  plhs[],
const mxArray *  prhs[],
struct svm_model model,
const int  predict_probability 
)

Definition at line 49 of file svmpredict.c.

◆ print_null()

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

Definition at line 17 of file svmpredict.c.

◆ read_sparse_instance()

void read_sparse_instance ( const mxArray *  prhs,
int  index,
struct svm_node x 
)

Definition at line 20 of file svmpredict.c.

Variable Documentation

◆ info

int(* info) (const char *fmt,...) = &mexPrintf

Definition at line 18 of file svmpredict.c.



ml_classifiers
Author(s): Scott Niekum , Joshua Whitley
autogenerated on Mon Feb 28 2022 22:46:49