python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Create a multivariate matrix in tidymodels recipes::recipe()
I am trying to do a k-fold cross validation on a model that predicts the joint distribution of the proportion of tree species basal area from satellite imagery. This requires the use of the Diricihle...
Sean McKenzie
Votes: 0
Answers: 1
how to unlist a `tknlist`?
step_tokenize returns a vector of type tknlist. How can I get a rectangular for of it? I mean something like unnesting the tokens and add them a cols of the tibble.
library(textrecipes)
library(modeld...
Nip
Votes: 0
Answers: 1
How to Exclude a Char Variable from recipes::step_dumm()?
How do I keep a character ID variable PERSON_ID unchanged in a recipe? I tried update_role(PERSON_ID , new_role = "id variable") and tried excluding it from step_dummy step_dummy(all_nominal...
poshan
Votes: 0
Answers: 1
How to apply inverse hyperbolic sine using the repices package in R?
I am exploring the recipes package to prepare my data for linear regression. But even a simple transformation of two variables using inverse hyperbolic sine does not yield the results I am expecting. ...
dufei
Votes: 0
Answers: 0