Header menu logo Deedle

LinearRegression Module

Nested modules

Modules Description

Fit

Functions and values

Function or value Description

interceptKey

Full Usage: interceptKey

Returns: string
Returns: string

ols xCols yCol fitIntercept df

Full Usage: ols xCols yCol fitIntercept df

Parameters:
    xCols : string seq - The column keys that constitutes the independent variables.
    yCol : string - The column key that consitutes the dependent variable.
    fitIntercept : bool - An option type that specifies a key to use for the intercept in the result, if set to None, the fit will not produce an intercept.
    df : Frame<'a, string> - The dataframe to perform the regression on

Returns: t<'a> A series with column keys as keys, and regression coefficients as values.

Performs linear regression on the values in a dataframe.

xCols : string seq

The column keys that constitutes the independent variables.

yCol : string

The column key that consitutes the dependent variable.

fitIntercept : bool

An option type that specifies a key to use for the intercept in the result, if set to None, the fit will not produce an intercept.

df : Frame<'a, string>

The dataframe to perform the regression on

Returns: t<'a>

A series with column keys as keys, and regression coefficients as values.

valuesToArray s

Full Usage: valuesToArray s

Parameters:
Returns: 'b array
s : Series<'a, 'b>
Returns: 'b array

Type something to start searching.