1. Based on either the optimal or minimum variance portfolio using stocks of American Express, Starbucks, Boeing, twitter and BlackRock use decision tree classification (supervised machine learning) to help predict up or down days for your portfolio returns. You will first need to calculate the daily portfolio returns based on the historical data that you obtained for each of the five assets previously, and the optimal or minimum variance weights chosen from your homework assignments. To this end, some useful python code might be: daily_portfolio_returns = (returns*weights).sum(axis=1) Then, using at least two lags of the daily portfolio returns as ‘descriptive features’ in a decision tree (you can use additional descriptive features also), you should; a) Train your algorithm to predict an up or down day for your portfolio b) Use 10 fold cross validation to prune your tree and briefly discuss its implications for the model c) Plot your decision tree and predict whether it’s an up or down day when the one day lagged return is 0% and the two day lagged return is 9% d) Test and briefly discuss the accuracy of your algorithm
2. Ensemble methods in machine learning can have better performance compared to individual Classifiers. Briefly explain this statement. Use an Ensemble method covered in this module to help predict up or down days for your portfolio returns based on the same data in Question 1. Does it have better performance? Explain.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme