SourcePro® 2023.1 |
SourcePro® API Reference Guide |
For a logistic regression model, selects a subset of predictor variables that accounts for the variation in the regression model's observation variable. More...
#include <rw/analytics/lgmodsel.h>
RWLogRegModelSelector is the class for logistic regression model selection. Provided with a logistic regression model containing a set of candidate predictor variables, the RWLogRegModelSelector class selects a subset of predictor variables that still accounts well for the variation in the regression model's observation variable. The criteria for selecting one predictor subset over another are determined by the template parameter F
. Class F
is a function object that returns a numerical value whenever it is given a regression matrix, an observation vector, and parameter estimates.
To be used as a template parameter for RWLogRegModelSelector, a class F
must implement the following interface:
|
inline |
Default constructor. Behavior undefined.
|
inline |
Copy constructor.
|
inline |
Constructs a model selector using the search method s.
|
inline |
Assignment operator.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |