Q:

algorithm to predict numeric values with sklearn

I'm new to ML and trying to learn it. I scraped information (using python) from a website where people try to sell their cars. I put data in a pandas data frame. Now I'm wondering how should I predict car's price according to it's manufacturing year and its mileage! I drew some plots and there is a correlation between price-year and price-mileage!

A:

You should try linear regression with sci-kit learn. You can use both year and mileage as predictors for price.

