Skip to content

Commit 6d3dc01

Browse files
authored
Merge pull request #46 from melonedo/master
Use markdown list to show arguments
2 parents cfb5d07 + 4ae96af commit 6d3dc01

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Loess.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ end
2323
Fit a loess model.
2424
2525
Args:
26-
`xs`: A `n` by `m` matrix with `n` observations from `m` independent predictors
27-
`ys`: A length `n` response vector.
28-
`normalize`: Normalize the scale of each predicitor. (default true when `m > 1`)
29-
`span`: The degree of smoothing, typically in [0,1]. Smaller values result in smaller
26+
- `xs`: A `n` by `m` matrix with `n` observations from `m` independent predictors
27+
- `ys`: A length `n` response vector.
28+
- `normalize`: Normalize the scale of each predicitor. (default true when `m > 1`)
29+
- `span`: The degree of smoothing, typically in [0,1]. Smaller values result in smaller
3030
local context in fitting.
31-
`degree`: Polynomial degree.
31+
- `degree`: Polynomial degree.
3232
3333
Returns:
3434
A fit `LoessModel`.
@@ -189,7 +189,7 @@ end
189189
Tricubic weight function.
190190
191191
Args:
192-
`u`: Distance between 0 and 1
192+
- `u`: Distance between 0 and 1
193193
194194
Returns:
195195
A weighting of the distance `u`
@@ -231,8 +231,8 @@ Default normalization procedure for predictors.
231231
This simply normalizes by the mean of everything between the 10th an 90th percentiles.
232232
233233
Args:
234-
`xs`: a matrix of predictors
235-
`q`: cut the ends of at quantiles `q` and `1-q`
234+
- `xs`: a matrix of predictors
235+
- `q`: cut the ends of at quantiles `q` and `1-q`
236236
237237
Modifies:
238238
`xs`

0 commit comments

Comments
 (0)