Macros | Functions | Variables
svm-scale.c File Reference
#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
Include dependency graph for svm-scale.c:

Go to the source code of this file.

Macros

#define max(x, y)   (((x)>(y))?(x):(y))
 
#define min(x, y)   (((x)<(y))?(x):(y))
 
#define SKIP_ELEMENT
 
#define SKIP_TARGET
 

Functions

void exit_with_help ()
 
int main (int argc, char **argv)
 
void output (int index, double value)
 
void output_target (double value)
 
char * readline (FILE *input)
 

Variables

double * feature_max
 
double * feature_min
 
char * line = NULL
 
double lower = -1.0
 
int max_index
 
int max_line_len = 1024
 
int min_index
 
long int new_num_nonzeros = 0
 
long int num_nonzeros = 0
 
double upper = 1.0
 
double y_lower
 
double y_max = -DBL_MAX
 
double y_min = DBL_MAX
 
int y_scaling = 0
 
double y_upper
 

Macro Definition Documentation

◆ max

#define max (   x,
 
)    (((x)>(y))?(x):(y))

Definition at line 34 of file svm-scale.c.

◆ min

#define min (   x,
 
)    (((x)<(y))?(x):(y))

Definition at line 35 of file svm-scale.c.

◆ SKIP_ELEMENT

#define SKIP_ELEMENT
Value:
while(*p!=':') ++p;\
++p;\
while(isspace(*p)) ++p;\
while(*p && !isspace(*p)) ++p;

◆ SKIP_TARGET

#define SKIP_TARGET
Value:
while(isspace(*p)) ++p;\
while(!isspace(*p)) ++p;

Function Documentation

◆ exit_with_help()

void exit_with_help ( )

Definition at line 7 of file svm-scale.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 41 of file svm-scale.c.

◆ output()

void output ( int  index,
double  value 
)

Definition at line 367 of file svm-scale.c.

◆ output_target()

void output_target ( double  value)

Definition at line 353 of file svm-scale.c.

◆ readline()

char * readline ( FILE *  input)

Definition at line 335 of file svm-scale.c.

Variable Documentation

◆ feature_max

double* feature_max

Definition at line 25 of file svm-scale.c.

◆ feature_min

double* feature_min

Definition at line 26 of file svm-scale.c.

◆ line

char* line = NULL

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

◆ lower

double lower = -1.0

Definition at line 23 of file svm-scale.c.

◆ max_index

int max_index

Definition at line 29 of file svm-scale.c.

◆ max_line_len

int max_line_len = 1024

Definition at line 22 of file svm-scale.c.

◆ min_index

int min_index

Definition at line 30 of file svm-scale.c.

◆ new_num_nonzeros

long int new_num_nonzeros = 0

Definition at line 32 of file svm-scale.c.

◆ num_nonzeros

long int num_nonzeros = 0

Definition at line 31 of file svm-scale.c.

◆ upper

double upper = 1.0

Definition at line 23 of file svm-scale.c.

◆ y_lower

double y_lower

Definition at line 23 of file svm-scale.c.

◆ y_max

double y_max = -DBL_MAX

Definition at line 27 of file svm-scale.c.

◆ y_min

double y_min = DBL_MAX

Definition at line 28 of file svm-scale.c.

◆ y_scaling

int y_scaling = 0

Definition at line 24 of file svm-scale.c.

◆ y_upper

double y_upper

Definition at line 23 of file svm-scale.c.



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