Classes | Typedefs | Enumerations
qn.h File Reference
#include <stdbool.h>
Include dependency graph for qn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qn_params
 

Typedefs

typedef enum qn_loss_type qn_loss_type
 
typedef struct qn_params qn_params
 

Enumerations

enum  qn_loss_type {
  QN_LOSS_LOGISTIC = 0 , QN_LOSS_SQUARED = 1 , QN_LOSS_SOFTMAX = 2 , QN_LOSS_SVC_L1 = 3 ,
  QN_LOSS_SVC_L2 = 4 , QN_LOSS_SVR_L1 = 5 , QN_LOSS_SVR_L2 = 6 , QN_LOSS_ABS = 7 ,
  QN_LOSS_UNKNOWN = 99
}
 

Typedef Documentation

◆ qn_loss_type

typedef enum qn_loss_type qn_loss_type

◆ qn_params

typedef struct qn_params qn_params

Enumeration Type Documentation

◆ qn_loss_type

Loss function types supported by the Quasi-Newton solvers.

Enumerator
QN_LOSS_LOGISTIC 

Logistic classification. Expected target: {0, 1}.

QN_LOSS_SQUARED 

L2 regression. Expected target: R.

QN_LOSS_SOFTMAX 

Softmax classification.. Expected target: {0, 1, ...}.

QN_LOSS_SVC_L1 

Hinge. Expected target: {0, 1}.

QN_LOSS_SVC_L2 

Squared-hinge. Expected target: {0, 1}.

QN_LOSS_SVR_L1 

Epsilon-insensitive. Expected target: R.

QN_LOSS_SVR_L2 

Epsilon-insensitive-squared. Expected target: R.

QN_LOSS_ABS 

L1 regression. Expected target: R.

QN_LOSS_UNKNOWN 

Someone forgot to set the loss type!