A program to check for a Disarium number through a Java Program.
Drawing the following pattern through a Java Program.
3 7 10
4 8 11 13
5 9 12 14 15
In this post we shall learn how to create Lines of Regression in Python using numpy and sklearn. We shall also draw plots for the same. To start with we shall import the following. import numpy as np from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt end