30 #ifndef __PDS_FUNCLOGISTICMODEL_HPP__
31 #define __PDS_FUNCLOGISTICMODEL_HPP__
36 #include <Pds/IterationConf>
37 #include <Pds/DiagnosticCurves>
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,
311 double CostMeanSquare(
const Pds::Vector &W,
const Pds::Matrix &X,
const Pds::Vector &Y);
419 const Pds::Matrix &X,
420 const Pds::Vector &Y,
421 double Delta=0.0001);
468 const Pds::Vector &Y,
469 double Delta=0.0001);
521 const Pds::Matrix &X,
522 const Pds::Vector &Y,
523 const Pds::Vector &D,
524 double Delta=0.0001);
573 const Pds::Vector &Y,
574 const Pds::Vector &D,
575 double Delta=0.0001);
648 const Pds::Matrix &X,
649 const Pds::Vector &Y,
650 const Pds::Vector &W0);
734 const Pds::Matrix &X,
735 const Pds::Vector &Y,
736 const Pds::Vector &W0);
807 const Pds::Vector &Y,
856 const Pds::Matrix &X,
857 const Pds::Vector &Y,
858 const Pds::Vector &W0);
891 const Pds::Matrix &Xtr,
892 const Pds::Vector &Ytr,
893 const Pds::Matrix &Xcv,
894 const Pds::Vector &Ycv,
La clase tipo Pds::DiagnosticCurves . Esta clase genera un bloque de datos para analizar curvas de ap...
La clase tipo Pds::IterationConf . Esta clase genera una matriz de Nlin lineas y 1 columna....
Pds::DiagnosticCurves 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.
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.
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.
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 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 GetW0CornerMeanMethod(const Pds::Matrix &X)
Obtiene de forma rapida un vector inicial para usar en regresion logistica.
Nombre de espacio para Pds (Procesamiento Digital de Senales)