Skip to content
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

Sparse data modeling using a Matrix #80

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

EmilHvitfeldt
Copy link
Member

This PR goes hand in hand with #79

it is the second article about sparse data in tidymodels.

It showcases a simple analysis where we use a sparse matrix in a modeling context by turning it into a sparse tibble.

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for tidymodels-org ready!

Name Link
🔨 Latest commit 91e1717
🔍 Latest deploy log https://app.netlify.com/sites/tidymodels-org/deploys/670d5e5b7e784a0008a2f658
😎 Deploy Preview https://deploy-preview-80--tidymodels-org.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@simonpcouch simonpcouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love how you've scoped this. Leaving review as comment so I can take another look through with more of an eye for content than grammar.

learn/work/sparse-matrix/index.qmd Outdated Show resolved Hide resolved
learn/work/sparse-matrix/index.qmd Outdated Show resolved Hide resolved
learn/work/sparse-matrix/index.qmd Outdated Show resolved Hide resolved
learn/work/sparse-matrix/index.qmd Outdated Show resolved Hide resolved
learn/work/sparse-matrix/index.qmd Outdated Show resolved Hide resolved
learn/work/sparse-matrix/index.qmd Outdated Show resolved Hide resolved
Copy link
Collaborator

@simonpcouch simonpcouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huzzah!

Comment on lines +128 to +131
wf_final <- finalize_workflow(
wf_spec,
select_best(tune_res, metric = "roc_auc")
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
wf_final <- finalize_workflow(
wf_spec,
select_best(tune_res, metric = "roc_auc")
)
wf_final <- finalize_workflow(
wf_spec,
select_best(tune_res, metric = "roc_auc")
)

#> date 2024-10-14
#> pandoc 2.17.1.1 @ /opt/homebrew/bin/ (via rmarkdown)
#>
#> ─ Packages ─────────────────────────────────────────────────────────
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of dev versions and remotes here. Fine for now, but a TODO for once these are sent out to CRAN. :)

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.

2 participants