|
LogisticRegressionAnalysisLearn Method (Double, Int32, Int32)
|
Learns a model that can map the given inputs to the given outputs.
Namespace:
Accord.Statistics.Analysis
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public LogisticRegression Learn(
double[][] x,
int[] positives,
int[] negatives
)
Public Function Learn (
x As Double()(),
positives As Integer(),
negatives As Integer()
) As LogisticRegression
Request Example
View SourceParameters
- x
- Type: SystemDouble
The model inputs. - positives
- Type: SystemInt32
The number of positives labels for each input vector. - negatives
- Type: SystemInt32
The number of negative labels for each input vector.
Return Value
Type:
LogisticRegression
A
LogisticRegressionAnalysis created from the given summary data.
See Also