Starting from:

$25

CS360 - ML Lab - Assignment 1  - Solved

Part 1: NumPy Basic (4 Marks)  

1.  Write a NumPy program to create an array of 10 zeros,10 ones, 10 fives

2.  Write a NumPy program to create an array of all the even integers from 10 to 50

3.  Write a NumPy program to generate a random number between 0 and

1

4.  Write a NumPy program to save the matrix (generated in question

3) to a text file and load it

 

Part 2: Pandas Excel (3 Marks)  

1.  Write a python program to read an image and save the image as a matrix to a .csv file using pandas

2.  Write a program to import excel data from the .csv file (generated in question 1) by excluding the last row and last column  

3.  Write a Pandas program to create the today's date

 

Part 3: (3 Marks)  

1. Create a mini calculator to know the age of a person after putting the range (i.e. date of birth and current date)  

More products