Questions tagged [mlr]

"mlr" is an R Package focussing on machine learning. The abbreviation "mlr" stands for "machine learning in R"

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

R mlr - How does tuneThreshold work?

I would like to tune the threshold for the following classification task using tuneThreshold in conjunction with a learner parameter. I first tried to tune the ...
0
votes
0answers
25 views

R mlr - How is the dataset split for cost-sensitive one-vs-one classification?

I came across this example of CS-OVO in the mlr manual: ...
0
votes
0answers
18 views

Feature importance with Monte-Carlo iterations - mlr

I need some assistance with the statistical interpretation of the output of the function generateFeatureImportanceData() from mlr...
0
votes
0answers
12 views

interpretation of precision and recall when oversampling or undersampling in mlr

I balance my dataset with e.g. cpoUndersample() from mlrCPO Does this balance my test-set as well? This is important because ...
1
vote
2answers
130 views

How do I fit models with predetermined covariates?

I'm trying to fit a multiple linear regression model. It has 10 variables, 2 of which are specified (e.g. $\beta_4 = 0.5$, $\beta_7 = 0.77$). How do I go about fitting this in R? I need to find the ...
0
votes
0answers
6 views

Partailling out approach in multiple linear regression [duplicate]

Assume I run the following regression: $$ sales = \beta_{0} + \beta_{1} price + \beta_{2}advert + \beta_{3}advert^2 $$ Now I regress sales, price, and advertising separately on advertising_squared ...
2
votes
3answers
45 views

Multiple regression results help

For my first ever research paper I've run a hierarchal multiple linear regression with two predictors and one outcome variable, however I don't understand my results. I've found predictor A to be a ...
0
votes
0answers
488 views

Tuning glmnet hyperparameters in MLR

I want to estimate LASSO using glmnet in MLR with spatial cross-validation to tune lambda. Questions: In makeParamSet, do I specify ...
0
votes
0answers
25 views

Choosing prediction model with regularization, spatial cross-validation and bounded predictions

I am new to machine learning and R. I want to run a statistical model to predict daily hours of supply of electricity (y). I have several x variables to use for prediction. I have three goals to ...
0
votes
1answer
122 views

How could I do parameter tuning with feature selection in R package mlr?

In this project, I am trying to tune the parameters(especially the step number parameter) of the CoxBoost model for survival analysis. I have more features than samples and many features are highly ...
1
vote
1answer
211 views

Predicting house pricing using MLR

My problem I want to predict housing prices in a city (for an upcoming year). My solution Create a MLR, where average housing price is dependent and macroeconomic fundamentals (population, gdp, ...
7
votes
1answer
2k views

mlr compared to caret

I’ve been using mlr a little to learn about machine learning, but recently found out about caret. The way I understand it is that both are wrappers to various ML packages, but have slightly different ...
1
vote
0answers
138 views

Poor model fit - Difference between SEM and MLR

For a study I am researching a quite simple research model (7 IVs - 1 DV), in which I am not interested in underlying relations between the IVs: the relation between the IVs and the DV is all that ...
0
votes
1answer
337 views

Generate ensemble of classifiers based on predefined feature subsets in R using mlr

I would like to create an ensemble classifier for a dataset and use different classification models for different subsets of features (these feature subsets are predefined as the data set I am working ...