|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.learner.AbstractLearner
com.rapidminer.operator.learner.functions.LogisticRegression
public class LogisticRegression
This operator determines a logistic regression model.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_ADD_INTERCEPT
The parameter name for "Determines whether to include an intercept. |
static java.lang.String |
PARAMETER_CROSSOVER_PROB
The parameter name for "The probability for crossovers. |
static java.lang.String |
PARAMETER_GENERATIONS_WITHOUT_IMPROVAL
The parameter name for "Stop after this number of generations without improvement (-1: optimize until max_iterations). |
static java.lang.String |
PARAMETER_KEEP_BEST
The parameter name for "Indicates if the best individual should survive (elititst selection). |
static java.lang.String |
PARAMETER_LOCAL_RANDOM_SEED
The parameter name for "Use the given random seed instead of global random numbers (-1: use global). |
static java.lang.String |
PARAMETER_MAX_GENERATIONS
The parameter name for "Stop after this many evaluations" |
static java.lang.String |
PARAMETER_MUTATION_TYPE
The parameter name for "The type of the mutation operator. |
static java.lang.String |
PARAMETER_POPULATION_SIZE
The parameter name for "The population size (-1: number of examples)" |
static java.lang.String |
PARAMETER_RETURN_PERFORMANCE
The parameter name for "Determines whether to return the performance. |
static java.lang.String |
PARAMETER_SELECTION_TYPE
The parameter name for "The type of the selection operator. |
static java.lang.String |
PARAMETER_SHOW_CONVERGENCE_PLOT
The parameter name for "Indicates if a dialog with a convergence plot should be drawn. |
static java.lang.String |
PARAMETER_START_POPULATION_TYPE
The parameter name for "The type of start population initialization. |
static java.lang.String |
PARAMETER_TOURNAMENT_FRACTION
The parameter name for "The fraction of the population used for tournament selection. |
| Fields inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN |
| Constructor Summary | |
|---|---|
LogisticRegression(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
PerformanceVector |
getEstimatedPerformance()
Returns the estimated performance. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
Model |
learn(ExampleSet exampleSet)
Trains a model. |
boolean |
shouldEstimatePerformance()
Returns true if the user wants to estimate the performance (depending on a parameter). |
boolean |
supportsCapability(LearnerCapability lc)
Checks for Learner capabilities. |
| Methods inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
apply, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, onlyWarnForNonSufficientCapabilities, shouldCalculateWeights, shouldDeliverOptimizationPerformance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_ADD_INTERCEPT
public static final java.lang.String PARAMETER_RETURN_PERFORMANCE
public static final java.lang.String PARAMETER_START_POPULATION_TYPE
public static final java.lang.String PARAMETER_MAX_GENERATIONS
public static final java.lang.String PARAMETER_GENERATIONS_WITHOUT_IMPROVAL
public static final java.lang.String PARAMETER_POPULATION_SIZE
public static final java.lang.String PARAMETER_TOURNAMENT_FRACTION
public static final java.lang.String PARAMETER_KEEP_BEST
public static final java.lang.String PARAMETER_MUTATION_TYPE
public static final java.lang.String PARAMETER_SELECTION_TYPE
public static final java.lang.String PARAMETER_CROSSOVER_PROB
public static final java.lang.String PARAMETER_LOCAL_RANDOM_SEED
public static final java.lang.String PARAMETER_SHOW_CONVERGENCE_PLOT
| Constructor Detail |
|---|
public LogisticRegression(OperatorDescription description)
| Method Detail |
|---|
public Model learn(ExampleSet exampleSet)
throws OperatorException
Learner
OperatorExceptionpublic boolean shouldEstimatePerformance()
AbstractLearner
shouldEstimatePerformance in interface LearnershouldEstimatePerformance in class AbstractLearner
public PerformanceVector getEstimatedPerformance()
throws OperatorException
AbstractLearner
getEstimatedPerformance in interface LearnergetEstimatedPerformance in class AbstractLearnerOperatorExceptionpublic boolean supportsCapability(LearnerCapability lc)
Learner
public java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||