Learn R Programming

gettingtothebottom (version 3.2)

example.alpha: Gradient Descent Algorithm - Plots Depicting Gradient Descent Results in Example 1 Using Different Choices for the Step Size

Description

example.alpha Plots the function values for gradient descent in Example 1 (without the intercept) given a particular value for alpha.

Usage

example.alpha(alpha)

Arguments

alpha
Step-size for the gradient descent algorithm.

Examples

Run this code
example.alpha(0.01)
example.alpha(0.12)

Run the code above in your browser using DataLab