Skip to content

Use markdown list to show arguments #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/Loess.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ end
Fit a loess model.

Args:
`xs`: A `n` by `m` matrix with `n` observations from `m` independent predictors
`ys`: A length `n` response vector.
`normalize`: Normalize the scale of each predicitor. (default true when `m > 1`)
`span`: The degree of smoothing, typically in [0,1]. Smaller values result in smaller
- `xs`: A `n` by `m` matrix with `n` observations from `m` independent predictors
- `ys`: A length `n` response vector.
- `normalize`: Normalize the scale of each predicitor. (default true when `m > 1`)
- `span`: The degree of smoothing, typically in [0,1]. Smaller values result in smaller
local context in fitting.
`degree`: Polynomial degree.
- `degree`: Polynomial degree.

Returns:
A fit `LoessModel`.
Expand Down Expand Up @@ -189,7 +189,7 @@ end
Tricubic weight function.

Args:
`u`: Distance between 0 and 1
- `u`: Distance between 0 and 1

Returns:
A weighting of the distance `u`
Expand Down Expand Up @@ -231,8 +231,8 @@ Default normalization procedure for predictors.
This simply normalizes by the mean of everything between the 10th an 90th percentiles.

Args:
`xs`: a matrix of predictors
`q`: cut the ends of at quantiles `q` and `1-q`
- `xs`: a matrix of predictors
- `q`: cut the ends of at quantiles `q` and `1-q`

Modifies:
`xs`
Expand Down