Comments (4)
We would want to mostly use models we've already talked about (decision tree, random forest) plus maybe one more.
from workshops.
Hello Julia, I want to tune the model using bayesian optimization by tidymodels but when defining the range of parameter values ββthere is a problem. Can you help me?
xgboost_spec <-
boost_tree(trees = tune(), min_n = tune(), tree_depth = tune(), learn_rate = tune(),
loss_reduction = tune(), sample_size = tune(), mtry = tune()) %>%
set_mode("regression") %>%
set_engine("xgboost")
params_grid <- parameters(trees(range= seq(100, 2000, by=100 )), min_n(range=seq(10,40, by=5)), tree_depth(range = c(6:10)), learn_rate(range = seq(0.1,1, by=0.1)), loss_reduction(range = seq(0.1,1, by=0.1)),
sample_prop(range = seq(0.1,1, by=0.2)), finalize(mtry(range=seq(1,8,by=1)), data.training))
Error: range
must have an upper and lower bound. Inf
and unknown()
are acceptable values.
Run rlang::last_error()
to see where the error occurred.
from workshops.
@ararifuddinr Can you create a reprex (a minimal reproducible example) for this? The goal of a reprex is to make it easier for people to recreate your problem so that they can understand it and/or fix it. If you've never heard of a reprex before, you may want to start with the tidyverse.org help page.
Once you have a reprex, I recommend posting on RStudio Community, which is a great forum for getting help with these kinds of modeling questions. Thanks! π
I'm going to hide these since they are not related to our workshop materials. π
from workshops.
I am very sorry for asking my problems that are not related to the material of this workshop. I've asked various platforms but can't find a solution. I tried to learn reprex according to your suggestion and made a question on stackoverflow.com. i hope you visit this site https://stackoverflow.com/questions/72641440/error-in-usemethodgrid-latin-hypercube-no-applicable-method-for-grid-lati Thank You.
from workshops.
Related Issues (20)
- consistent suffix for train and test
- welcome slides
- Introduce TAs on slides
- Extra material for Intro course HOT 5
- Set up cloud instances
- update package list with the pkgs for advances extras HOT 1
- invite 2023 posit conf TAs to this repo
- archive linking issue redux HOT 2
- Update landing site HOT 4
- Meta issue for intro course
- Update file names for advanced classwork
- leftover tasks for intro extra on tuning
- Update subtitle for Intro classwork
- Add link to vetiver deck to landing page
- Add conf-specific content to intro decks
- Update screenshot of tidymodels.org
- vetiver deck uses unseen data
- move introduction discussions of validation sets to the annotations?
- add brulee/torch to list of ways to compute a linear model
- Bug in package list in the find parsnip model section
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshops.