Skip to content

docs(linear): document diabetes feature for regression example - #460

Closed
Fabul0n wants to merge 1 commit into
rust-ml:masterfrom
Fabul0n:docs/417-diabetes-feature
Closed

Fabul0n wants to merge 1 commit into
rust-ml:masterfrom
Fabul0n:docs/417-diabetes-feature

Conversation

@Fabul0n

@Fabul0n Fabul0n commented Oct 30, 2026 •

Copy link
Copy Markdown

The LinearRegression example uses linfa_datasets::diabetes(), but does not explain that the diabetes feature must be enabled. Add the feature requirement and Cargo commands for installing the example dependencies.

Verified the instructions in a standalone project: the example fails with E0425 without the feature and runs successfully after enabling it. All 3 linfa-linear doctests pass.

Fixes #417

@Fabul0n Fabul0n closed this Oct 30, 2026
@Fabul0n Fabul0n reopened this Oct 30, 2026
@Fabul0n Fabul0n closed this Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing information about installation in a documentation page

1 participant