<p>Feature selection: the fastest thing moving (i.e. the simplest) is naive Bayes ML. I don't use it but KNN (K-nearest neighbor) I do use, which is also computationally simple, i.e. fast. I think it gives better results, i.e. the best results for a simple algorithm.</p>
<p>R ML has improved decision trees BTW - quite popular, but you'd never use this in Python.</p>

CC BY-SA 4.0
2023-08-15T19:12:09.563Z
2023-08-15T19:12:09.563Z
M__
<p>I have about 100 data sets with over 100,000 rows and 27 predictor variables and multiple response variable on each dataset. I want to select the most essential Features for these datasets. I used Boruta() from the package Boruta, but it takes an extremely long time (about 3 hours for a single sample). Could someone kindly tell me the quickest technique to select key features from a large dataset?</p>
<p>This is the extension from my previous questions:</p>
<ol>
<li><a href="https://stackoverflow.com/questions/76824529/how-to-do-regression-modelling-in-r-multiple-one-at-a-time-to-multiple-column">https://stackoverflow.com/questions/76824529/how-to-do-regression-modelling-in-r-multiple-one-at-a-time-to-multiple-column</a></li>
<li><a href="https://bioinformatics.stackexchange.com/questions/21417/how-to-get-coefficient-tables-from-multiple-regression-model-result/">How to get coefficient tables from multiple regression model result!</a></li>
</ol>

CC BY-SA 4.0
2023-08-16T19:39:50.203Z
Your second question has nothing to do with machine learning, it's a simple R question - you ran into problem because you did not use the `apply` family of functions properly.
Ram RS
CC BY-SA 4.0
2023-08-16T20:06:18.583Z
Right, I thought that too. Really an analyst uses either ML or GLM - not both. Within ML it's common to compare different methods but not move outside ML (unless they want to do deep learning). Its possible "linear regression" ML might be intended. ML is very, very different to GLM, i.e. the method and system to test model.
M__
<r><modelling><linear-regression><features>
What are the fastest way of feature selection in R for large dataset in Machine Learning?
# What are the fastest way of feature selection in R for large dataset in Machine Learning?

(Asked by: username_0 on 2023-08-15)

I have about 100 data sets with over 100,000 rows and 27 predictor variables and multiple response variable on each dataset. I want to select the most essential Features for these datasets. I used Boruta() from the package Boruta, but it takes an extremely long time (about 3 hours for a single sample). Could someone kindly tell me the quickest technique to select key features from a large dataset?

This is the extension from my previous questions:

1. <https://stackoverflow.com/questions/76824529/how-to-do-regression-modelling-in-r-multiple-one-at-a-time-to-multiple-column>
2. [How to get coefficient tables from multiple regression model result!](https://bioinformatics.stackexchange.com/questions/21417/how-to-get-coefficient-tables-from-multiple-regression-model-result/)

**Tags:** r, modelling, linear-regression, features
> **Comments:**
> **username_1**: Your second question has nothing to do with machine learning, it's a simple R question - you ran into problem because you did not use the `apply` family of functions properly.  
> **username_2**: Right, I thought that too. Really an analyst uses either ML or GLM - not both. Within ML it's common to compare different methods but not move outside ML (unless they want to do deep learning). Its possible "linear regression" ML might be intended. ML is very, very different to GLM, i.e. the method and system to test model.  

---

## 1 answers

### Answer by username_2 on 2023-08-15. Score: 0

Feature selection: the fastest thing moving (i.e. the simplest) is naive Bayes ML. I don't use it but KNN (K-nearest neighbor) I do use, which is also computationally simple, i.e. fast. I think it gives better results, i.e. the best results for a simple algorithm.

R ML has improved decision trees BTW - quite popular, but you'd never use this in Python.


---

