Regression with 15000 rows and 50 variables

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?

 Respuesta aceptada

John D'Errico
John D'Errico el 5 de Dic. de 2020
Editada: John D'Errico el 5 de Dic. de 2020
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.

Más respuestas (0)

Etiquetas

Preguntada:

el 5 de Dic. de 2020

Comentada:

el 5 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by