Skip to content

a0 is the slope, not the intercept #7

@jdthorpe

Description

@jdthorpe

in this line:

Y_true <- as.vector(a0*X + a%*%B) # generating the output

a0 is the slope, not the intercept, which contracts the line just before it:

a0 <- 0.2 # intercept

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions