IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
alglib.logit Class Reference

Classes

class  logitmcstate
 
class  logitmodel
 
class  mnlreport
 

Static Public Member Functions

static void mnltrainh (double[,] xy, int npoints, int nvars, int nclasses, ref int info, logitmodel lm, mnlreport rep)
 
static void mnlprocess (logitmodel lm, double[] x, ref double[] y)
 
static void mnlprocessi (logitmodel lm, double[] x, ref double[] y)
 
static void mnlunpack (logitmodel lm, ref double[,] a, ref int nvars, ref int nclasses)
 
static void mnlpack (double[,] a, int nvars, int nclasses, logitmodel lm)
 
static void mnlcopy (logitmodel lm1, logitmodel lm2)
 
static double mnlavgce (logitmodel lm, double[,] xy, int npoints)
 
static double mnlrelclserror (logitmodel lm, double[,] xy, int npoints)
 
static double mnlrmserror (logitmodel lm, double[,] xy, int npoints)
 
static double mnlavgerror (logitmodel lm, double[,] xy, int npoints)
 
static double mnlavgrelerror (logitmodel lm, double[,] xy, int ssize)
 
static int mnlclserror (logitmodel lm, double[,] xy, int npoints)
 
static void mnltrainh (double[,] xy, int npoints, int nvars, int nclasses, ref int info, logitmodel lm, mnlreport rep)
 
static void mnlprocess (logitmodel lm, double[] x, ref double[] y)
 
static void mnlprocessi (logitmodel lm, double[] x, ref double[] y)
 
static void mnlunpack (logitmodel lm, ref double[,] a, ref int nvars, ref int nclasses)
 
static void mnlpack (double[,] a, int nvars, int nclasses, logitmodel lm)
 
static void mnlcopy (logitmodel lm1, logitmodel lm2)
 
static double mnlavgce (logitmodel lm, double[,] xy, int npoints)
 
static double mnlrelclserror (logitmodel lm, double[,] xy, int npoints)
 
static double mnlrmserror (logitmodel lm, double[,] xy, int npoints)
 
static double mnlavgerror (logitmodel lm, double[,] xy, int npoints)
 
static double mnlavgrelerror (logitmodel lm, double[,] xy, int ssize)
 
static int mnlclserror (logitmodel lm, double[,] xy, int npoints)
 

Public Attributes

const double xtol = 100*math.machineepsilon
 
const double ftol = 0.0001
 
const double gtol = 0.3
 
const int maxfev = 20
 
const double stpmin = 1.0E-2
 
const double stpmax = 1.0E5
 
const int logitvnum = 6
 

Static Private Member Functions

static void mnliexp (ref double[] w, double[] x)
 
static void mnlallerrors (logitmodel lm, double[,] xy, int npoints, ref double relcls, ref double avgce, ref double rms, ref double avg, ref double avgrel)
 
static void mnlmcsrch (int n, ref double[] x, ref double f, ref double[] g, double[] s, ref double stp, ref int info, ref int nfev, ref double[] wa, logitmcstate state, ref int stage)
 
static void mnlmcstep (ref double stx, ref double fx, ref double dx, ref double sty, ref double fy, ref double dy, ref double stp, double fp, double dp, ref bool brackt, double stmin, double stmax, ref int info)
 
static void mnliexp (ref double[] w, double[] x)
 
static void mnlallerrors (logitmodel lm, double[,] xy, int npoints, ref double relcls, ref double avgce, ref double rms, ref double avg, ref double avgrel)
 
static void mnlmcsrch (int n, ref double[] x, ref double f, ref double[] g, double[] s, ref double stp, ref int info, ref int nfev, ref double[] wa, logitmcstate state, ref int stage)
 
static void mnlmcstep (ref double stx, ref double fx, ref double dx, ref double sty, ref double fy, ref double dy, ref double stp, double fp, double dp, ref bool brackt, double stmin, double stmax, ref int info)
 

Member Function Documentation

static void alglib.logit.mnlprocess ( logitmodel  lm,
double[]  x,
ref double[]  y 
)
inlinestatic
static void alglib.logit.mnlprocessi ( logitmodel  lm,
double[]  x,
ref double[]  y 
)
inlinestatic

References alglib.logit.mnlprocess().

Referenced by alglib.mnlprocessi().

static void alglib.logit.mnlunpack ( logitmodel  lm,
ref double  a[,],
ref int  nvars,
ref int  nclasses 
)
inlinestatic
static void alglib.logit.mnlpack ( double  a[,],
int  nvars,
int  nclasses,
logitmodel  lm 
)
inlinestatic
static void alglib.logit.mnlcopy ( logitmodel  lm1,
logitmodel  lm2 
)
inlinestatic
static double alglib.logit.mnlavgce ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlrelclserror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlrmserror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlavgerror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlavgrelerror ( logitmodel  lm,
double  xy[,],
int  ssize 
)
inlinestatic
static int alglib.logit.mnlclserror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static void alglib.logit.mnliexp ( ref double[]  w,
double[]  x 
)
inlinestaticprivate

References alglib.ap.assert().

Referenced by alglib.logit.mnlprocess().

static void alglib.logit.mnlallerrors ( logitmodel  lm,
double  xy[,],
int  npoints,
ref double  relcls,
ref double  avgce,
ref double  rms,
ref double  avg,
ref double  avgrel 
)
inlinestaticprivate
static void alglib.logit.mnlmcstep ( ref double  stx,
ref double  fx,
ref double  dx,
ref double  sty,
ref double  fy,
ref double  dy,
ref double  stp,
double  fp,
double  dp,
ref bool  brackt,
double  stmin,
double  stmax,
ref int  info 
)
inlinestaticprivate

References alglib.math.sqr().

Referenced by alglib.logit.mnlmcsrch().

static void alglib.logit.mnltrainh ( double  xy[,],
int  npoints,
int  nvars,
int  nclasses,
ref int  info,
logitmodel  lm,
mnlreport  rep 
)
inlinestatic
static void alglib.logit.mnlprocess ( logitmodel  lm,
double[]  x,
ref double[]  y 
)
inlinestatic
static void alglib.logit.mnlprocessi ( logitmodel  lm,
double[]  x,
ref double[]  y 
)
inlinestatic
static void alglib.logit.mnlunpack ( logitmodel  lm,
ref double  a[,],
ref int  nvars,
ref int  nclasses 
)
inlinestatic
static void alglib.logit.mnlpack ( double  a[,],
int  nvars,
int  nclasses,
logitmodel  lm 
)
inlinestatic
static void alglib.logit.mnlcopy ( logitmodel  lm1,
logitmodel  lm2 
)
inlinestatic
static double alglib.logit.mnlavgce ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlrelclserror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlrmserror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlavgerror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static double alglib.logit.mnlavgrelerror ( logitmodel  lm,
double  xy[,],
int  ssize 
)
inlinestatic
static int alglib.logit.mnlclserror ( logitmodel  lm,
double  xy[,],
int  npoints 
)
inlinestatic
static void alglib.logit.mnliexp ( ref double[]  w,
double[]  x 
)
inlinestaticprivate
static void alglib.logit.mnlallerrors ( logitmodel  lm,
double  xy[,],
int  npoints,
ref double  relcls,
ref double  avgce,
ref double  rms,
ref double  avg,
ref double  avgrel 
)
inlinestaticprivate
static void alglib.logit.mnlmcsrch ( int  n,
ref double[]  x,
ref double  f,
ref double[]  g,
double[]  s,
ref double  stp,
ref int  info,
ref int  nfev,
ref double[]  wa,
logitmcstate  state,
ref int  stage 
)
inlinestaticprivate
static void alglib.logit.mnlmcstep ( ref double  stx,
ref double  fx,
ref double  dx,
ref double  sty,
ref double  fy,
ref double  dy,
ref double  stp,
double  fp,
double  dp,
ref bool  brackt,
double  stmin,
double  stmax,
ref int  info 
)
inlinestaticprivate

Member Data Documentation

const double alglib.logit.xtol = 100*math.machineepsilon
const double alglib.logit.ftol = 0.0001
const double alglib.logit.gtol = 0.3
const int alglib.logit.maxfev = 20
const double alglib.logit.stpmin = 1.0E-2

Referenced by alglib.logit.mnlmcsrch().

const double alglib.logit.stpmax = 1.0E5

Referenced by alglib.logit.mnlmcsrch().


The documentation for this class was generated from the following file: