final_loss1: Final - Loss Function for Polynomial Model

Description Usage Arguments Value

View source: R/final_loss1.R

Description

This function is specific to the Final dataset for Boston properties. This is my designed loss function for the polynomial model.

Usage

1
final_loss1(y, y_hat, w, df)

Arguments

y

Actual target vector

y_hat

Estimated/predicted target vector (with its 'names' as the test index)

w

Vector of weights

df

The cleaned Boston dataset

Value

The loss value


brian-d1018/bis557 documentation built on Dec. 17, 2020, 6:21 p.m.