Implementation of a very basic 1D Decision Tree Regression model. The regressor has been created as an object of the DecisionTreeRegressor class of the sklearn.tree library.
matplotlib.pylot has been used to visually represent the decision tree regression.