Regression with 15000 rows and 50 variables

3 次查看(过去 30 天)
I have a dataset with 15000 entries. I like to run regression with 50 independent variables. Is it realistic that a PC (Bench 0.42, 0.31, 0.36, 0.45, 0.42, 0.33) can handle it?

采纳的回答

John D'Errico
John D'Errico 2020-12-5
编辑:John D'Errico 2020-12-5
Trivial. Tiny fractions of a second.
I assume that you mean 50 INDEPENDENT variables, as you have not provided sufficient information otherwise.
A = randn(15000,50);b = randn(15000,1);
timeit(@() A\b)
ans =
0.0058952493235
So 0.006 seconds. Not fast enough? Sigh. And it looks like your computer is faster than mine on the bench figures.

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by