mlr_gd: Implements linear regression with many predictors by gradient...

View source: R/linear_regression_alt.R

mlr_gdR Documentation

Implements linear regression with many predictors by gradient descent

Description

This function computes coefficients for multiple regression by gradient descent All columns of the provided data frame are used as predictors, except the one specified as a response.

Usage

mlr_gd(dat, response)

Arguments

dat

A data frame

response

The name of a response variable in the data frame (unquoted)

Details

No interaction terms are included.

Value

A data frame of coefficients


mknauss58/Lab-6-Group documentation built on May 22, 2022, 12:26 a.m.