Expand description
Nuisance learners: the Regressor / Classifier traits and the
built-in implementations.
Structs§
- Lasso
- Lasso regression with an unpenalised intercept, fitted by cyclic coordinate descent.
- Logistic
Regression - L2-penalised logistic regression with an unpenalised intercept, fitted by Newton’s method with backtracking line search.
- Ols
- Ordinary least squares with an intercept and optional ridge penalty.
- Random
Forest Classifier - Random forest classifier for 0/1 labels;
predict_probaaverages the class-1 frequency of the leaves. - Random
Forest Regressor - Random forest regressor (squared-error CART trees on bootstrap samples).
Enums§
- MaxFeatures
- Number of features considered at each split.
Traits§
- Classifier
- A classification learner returning
P(label = 1 | X), used for propensity scores in models with a binary treatment such asIrm. - Regressor
- A regression learner for nuisance functions such as
E[Y | X]orE[D | X].