Click or drag to resize
Accord.NET (logo)

LogisticRegressionAnalysisFromSummary Method

Note: This API is now obsolete.

Creates a new LogisticRegressionAnalysis from summarized data. In summary data, instead of having a set of inputs and their associated outputs, we have the number of times an input vector had a positive label in the data set and how many times it had a negative label.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use the Learn(x, positives, negatives) method instead.")]
public static LogisticRegressionAnalysis FromSummary(
	double[][] data,
	int[] positives,
	int[] negatives
)
Request Example View Source

Parameters

data
Type: SystemDouble
The input data.
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: LogisticRegressionAnalysis
A LogisticRegressionAnalysis created from the given summary data.
See Also