Skip to content

bug in virtual species documentation #511

@gottacatchenall

Description

@gottacatchenall

The example calls logistic as

predictors = [logistic(centers[i], shapes[i]) for i in eachindex(L)]

but the arguments are flipped as logistic is defined as

logistic(x, α, β) = 1 / (1 + exp((x - β) / α))
logistic(α, β) = (x) -> logistic(x, α, β)

so the first argument α is the shape and the second argument β is the center

Metadata

Metadata

Assignees

Labels

🏖️ low effortIssue that can be tackled without too much problem📚 documentationImprovements or additions to documentation

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions