Comments (6)
Somewhat addressed in #72. task$Y
for NULL outcome generates an error:
> task <- sl3_Task$new(cpp, covariates = covars, outcome = NULL)
> task$Y
Error in generator_fun(node_name, self$nrow) : Node outcome not specified
I kind of like having to force outcome=NULL
if you really want a task without an outcome. Do you think it's important to be able to allowing missing(outcome)
?
from sl3.
I think so. I think it might be relevant for prediction, which I imagine would be a typical use-case of the package. So I feed a trained sl3 learner a bunch of new data, but I now have to remember each time to set outcome = NULL
? I feel like its too much to ask of a user to remember. On the other hand, is it difficult to add missing(outcome) check that sets it to NULL
?
from sl3.
So, I am OK with the above error, it makes sense to me. I guess all we need is a check for missing(outcome)
?
from sl3.
No it's of course super easy to add that functionality. I just thought we might want to provide some signal to a user that they didn't specify an outcome so they're not surprised later. If you don't think that's necessary I'll go ahead and support missing outcome
from sl3.
Awesome! Thanks. I think this is fine.
from sl3.
Fixed in #76
from sl3.
Related Issues (20)
- Allowed argument for earth not being passed appropriately HOT 1
- Error : No newoffset provided for prediction, yet offset used in fit of glmnet HOT 1
- R 4.0 dependency (stringsAsFactors) HOT 3
- Devel install error HOT 4
- When loading the sl3 package, this error gets reported... HOT 7
- Predicting from `Lrnr_sl` HOT 3
- Example for `Lrnr_cv_selector` is not working HOT 3
- Delayed learner fit does not yield same result as regular fit when `Lrnr_randomForest` is used HOT 1
- `Lrnr_cv` predictions broken HOT 2
- Stratify folds by sparse outcome - question HOT 3
- Using sl3 fits in tmle3 HOT 2
- Lrnr_glmnet bug HOT 1
- sl3 CV split with rare events HOT 1
- sl3 presentation on website currently returns 404 error HOT 1
- chain_fold not defined for Lrnr_base
- installation problem HOT 5
- subset_covariates does not successfully reorder covariates to match training structure
- SL Parallel processing for large dataset question HOT 3
- Feature request: fast way to make wrappers based on glm formula
- `test-gts.R` fails HOT 1
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 sl3.