public static MultiLinearRegressionResult MultiLinearRegression(
IReadOnlyList<double> yColumn,
IReadOnlyList<IReadOnlyList<double>> xColumns
)Public Shared Function MultiLinearRegression (
yColumn As IReadOnlyList(Of Double),
xColumns As IReadOnlyList(Of IReadOnlyList(Of Double))
) As MultiLinearRegressionResultpublic:
static MultiLinearRegressionResult^ MultiLinearRegression(
IReadOnlyList<double>^ yColumn,
IReadOnlyList<IReadOnlyList<double>^>^ xColumns
)static member MultiLinearRegression :
yColumn : IReadOnlyList<float> *
xColumns : IReadOnlyList<IReadOnlyList<float>> -> MultiLinearRegressionResult 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 in the list is . |
| DimensionMismatchException | Not all of the columns contain the same number of observations. |
| InsufficientDataException | There are too few observations to perform the fit. |