Machine Learning Numpy
1. how to create array using numpy : import numpy as np #ad array a=np.array([10,20,30]) // int,float ,String // array should be homoginous #2 d array 3*3 b=np.array([ [1,2,12], [12,12,12], [12,34,5] ]) #3*3*3 c=np.array([ [[1,2,3],[4,5,6],[7,8,9]], [[4,5,6],[8,6,7],[5,6,7]], [[8,8,8],[9,9,9],[9,98,8]] ]) print(a) print(b) print(c) #Arrange Function : a = np.arange(10,20) //start value and end value print(a) [10........................19] a=np.arnage(10,20,2)