Provide the console output of the routines that you have implemented in the text input box in the format as specified in the probl
- Provide the console output of the routines that you have implemented in the text input box in the format as specified in the problems (whenever required).
- Provide a pdf file of the iPython notebook of your code. Check the following link for a convenient way to convert an iPython notebook to a pdf (Links to an external site.) document:
- Create an iPython notebook to work on the following problems. [How To link: https://www.dataquest.io/blog/jupyter-notebook-tutorial/ (Links to an external site.)]
- Clearly put the problem numbers in appropriate headers and sub-headers on the notebook.
- Do not display information that is not being sought.
- Images or data files, if any, should be kept in folders such as “./images/im_name.jpg” or “./data/data_file.cvs.”
- You should build upon the code already provided in the updated notebook (the link to Google Drive is on the Module now) in this module wherever appropriate .
- If you have any questions etc., bring it on the discussion board for this Module.
- Please note that peer-review is only learning from other's work. You can comment and critique. Grading will be performed by the grader.
MA544 – Programming Assignment – 3 Name:
In [ ]: # Import required packages
Question 1 (An open ended asignment) Visit the University of California open source data repository. Pick up an appropriate dataset of your choice preferably one with default-task 'classification'. Follow the examples provided during the class to get some insight from the data that you have selected. In the process of doing so utilize any tools and techniques at your disposal including (and not limited to)…
Observation of covariance and correlation between different features (columns, explanatory variables). Distribution of different features and observations. Utilize PCA to describe low-dimension representations. Use plots such as Scree-plot, Bi-plot etc. Discuss and clustering behaviours around the classes exposed by the first few PCs. Anything else that you find interesting.
In [ ]: # Your code starts here
Question 2 Use the Python code for image compression to compress the national flags of different countries of your choice. The smallest rank r gives the numerical rank of the flag. Pick up any 5 national flags and arrange them in the order of decreasing numerical rank*.
*: the numerical rank could be given by the number of singular values larger than �× ‖A‖F where � = 10 −16 is the machine
epsilon.
In [ ]: # Your code comes here
Question 3 Use your understanding of singular value decomposition, matrix completion and recommendation systems (from your last reading, R2) to build a basic movie recommendation system.
Evaluate your system on the test data (20%) and present the statistics (precision, recall and F1-score).
Use the following data set https://grouplens.org/datasets/movielens/100k/.
In [ ]:
- MA544 – Programming Assignment – 3
- Name:
- Question 1
- Question 2
- Question 3
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.