public static MultiLinearLogisticRegressionResult MultiLinearLogisticRegression(
this IReadOnlyList<bool> yColumn,
IReadOnlyList<IReadOnlyList<double>> xColumns
)
<ExtensionAttribute>
Public Shared Function MultiLinearLogisticRegression (
yColumn As IReadOnlyList(Of Boolean),
xColumns As IReadOnlyList(Of IReadOnlyList(Of Double))
) As MultiLinearLogisticRegressionResult
public:
[ExtensionAttribute]
static MultiLinearLogisticRegressionResult^ MultiLinearLogisticRegression(
IReadOnlyList<bool>^ yColumn,
IReadOnlyList<IReadOnlyList<double>^>^ xColumns
)
[<ExtensionAttribute>]
static member MultiLinearLogisticRegression :
yColumn : IReadOnlyList<bool> *
xColumns : IReadOnlyList<IReadOnlyList<float>> -> MultiLinearLogisticRegressionResult
Note that the xColumns argument is column-oriented, i.e. it is a list of columns, not row-oriented, i.e. a list of rows. Either of these would match the method signature, but only column-oriented inputs will produce correct results.
NullReferenceException | yColumn is , or xColumns is , or one of the x-columns is . |
DimensionMismatchException | Not all of the columns contain the same number of observations. |
InsufficientDataException | There are too few observations to perform the fit. |
DivideByZeroException | The curvature matrix is singular, indicating that the data is independent of one or more of the independent variables, or that two or more variables are linearly dependent. |