Linear Regression with python and Scikit-learn

Linear Regression with python and Scikit-learn

Scikit-learn is a wonderful software package for performing various computations in the field of machine learning. Let us consider the calculation of the linear regression. An equation Simple Linear Regression (SLR) have a view: SLR models also include the errors in the data or residuals (y - Y). Residuals are basically the differ...

Read More →

Time of execution of the python-code

Time of execution of the python-code

import time start = time.time() for i in [0, 100]: i = i + 1 stop_point_somecode = time.time() for j in [1, 1000]: j = j + 1 stop_point_somecode_2 = time.time() print "Runtime somecode %s" % (stop_point_somecode - start) print "All runtime %s" % (stop_point_somecode_2 - start) To calculate, you can create a decorator: ...

Read More →

Search
Popular Posts
Subscribe
{{post}}