30 #ifndef __PDS_FUNCLOGISTICMODEL_HPP__
31 #define __PDS_FUNCLOGISTICMODEL_HPP__
36 #include <Pds/IterationConf>
37 #include <Pds/DataErrorCurve>
54 namespace LogisticModel{
83 Pds::Vector
Classify(
const Pds::Vector &W,
const Pds::Matrix &X);
233 const Pds::Matrix &X,
234 const Pds::Vector &Y,
314 double CostMeanSquare(
const Pds::Vector &W,
const Pds::Matrix &X,
const Pds::Vector &Y);
439 const Pds::Matrix &X,
440 const Pds::Vector &Y,
441 double Delta=0.0001);
488 const Pds::Vector &Y,
489 double Delta=0.0001);
544 const Pds::Matrix &X,
545 const Pds::Vector &Y,
546 const Pds::Vector &D,
547 double Delta=0.0001);
599 const Pds::Vector &Y,
600 const Pds::Vector &D,
601 double Delta=0.0001);
638 const Pds::Vector &Y,
668 const Pds::Matrix &X,
669 const Pds::Vector &Y,
684 const Pds::Matrix &X,
685 const Pds::Vector &Y,
757 const Pds::Matrix &X,
758 const Pds::Vector &Y,
759 const Pds::Vector &W0);
843 const Pds::Matrix &X,
844 const Pds::Vector &Y,
845 const Pds::Vector &W0);
916 const Pds::Vector &Y,
970 const Pds::Matrix &X,
971 const Pds::Vector &Y,
972 const Pds::Vector &W0);
989 const Pds::Vector &Y,
990 const Pds::Vector &W0,
1015 const Pds::Vector &Y,
1016 const Pds::Vector &W0,
1017 double Delta=0.001);
1049 const Pds::Matrix &Xtr,
1050 const Pds::Vector &Ytr,
1051 const Pds::Matrix &Xcv,
1052 const Pds::Vector &Ycv,
La clase tipo Pds::DataErrorCurve . Esta clase genera un bloque de datos para analizar curvas de apre...
La clase tipo Pds::IterationConf . Esta clase genera una matriz de Nlin lineas y 1 columna....
Pds::Vector GradientCostInformationGain(const Pds::Vector &W, const Pds::Matrix &X, const Pds::Vector &Y, double h)
Calculo de costo.
Pds::Vector FittingLogitMeanSquare(Pds::IterationConf &Conf, const Pds::Matrix &X, const Pds::Vector &Y, double Delta=0.0001)
Calculo de pesos.
Pds::Vector GetW0CornerMeanMethod(const Pds::Matrix &X, double Delta=0.001)
Obtiene de forma rapida un vector inicial para usar en regresion logistica.
Pds::DataErrorCurve LearningCurves(Pds::IterationConf &Conf, const Pds::Matrix &Xtr, const Pds::Vector &Ytr, const Pds::Matrix &Xcv, const Pds::Vector &Ycv, double percent)
Retorna learning curve.
double CostCrossEntropy(const Pds::Vector &W, const Pds::Matrix &X, const Pds::Vector &Y)
Calculo de pesos.
Pds::Vector FittingLogitWeightedMeanSquare(Pds::IterationConf &Conf, const Pds::Matrix &X, const Pds::Vector &Y, const Pds::Vector &D, double Delta=0.0001)
Calculo de pesos.
Pds::Vector FittingGradientIG(Pds::IterationConf &Conf, const Pds::Matrix &X, const Pds::Vector &Y, const Pds::Vector &W0)
Calculo de pesos.
double CostMeanSquare(const Pds::Vector &W, const Pds::Matrix &X, const Pds::Vector &Y)
Calculo de pesos.
Pds::Vector FittingGradientCrossEntropy(Pds::IterationConf &Conf, const Pds::Matrix &X, const Pds::Vector &Y, const Pds::Vector &W0)
Gradiente descendente para sigmoide.
Pds::Vector FittingGradientSVM(Pds::IterationConf &Conf, const Pds::Matrix &X, const Pds::Vector &Y, const Pds::Vector &W0)
Gradiente descendente para sigmoide.
Pds::Vector FittingByFactor(const Pds::Matrix &X, const Pds::Vector &Y, const Pds::Vector &W0, double Delta=0.001)
Aplica la teoria de Logit MeanSquare para ajustar W0 por um factor real adecuado.
double CostInformationGain(const Pds::Vector &W, const Pds::Matrix &X, const Pds::Vector &Y)
Calculo de costo.
Pds::Vector Classify(const Pds::Vector &W, const Pds::Matrix &X)
Calculo del resultado del clasificador.
Pds::Vector FittingRobustLogitMeanSquare(const Pds::Matrix &X, const Pds::Vector &Y, double Delta=0.0001, unsigned int N=2, double Offset=0.1)
Calculo de pesos.
Pds::Vector GetW0MeanMethod(const Pds::Matrix &X)
Obtiene de forma rapida un vector inicial para usar en regresion logistica.
Pds::Vector FittingOrtogonalIG(const Pds::Matrix &X, const Pds::Vector &Y, unsigned int MinID)
Calculo de pesos.
Pds::Vector GetW0MeanSquareMethod(const Pds::Matrix &X)
Obtiene de forma rapida un vector inicial para usar en regresion logistica.
Pds::Vector FittingParrallelPlaneIS(const Pds::Matrix &X, const Pds::Vector &Y, const Pds::Vector &W0, double *ISmin=NULL, double Delta=0.001)
Calculo de pesos buscando el plano paralelo a W0 que genere la menor suma de informaciones en la part...
Pds::Vector FittingKmeansLogitMeanSquare(Pds::IterationConf &Conf, const Pds::Matrix &X, const Pds::Vector &Y, double Delta)
Nombre de espacio para Pds (Procesamiento Digital de Senales)