Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

CQF Exam Three

Machine Learning

June 2023 Cohort

Instructions: The submitted report must present work and outputs clearly separated by Question. Submit ONLY ONE zip ile named LASTNAME.zip that includes pdf ile, code, html, data and any other supporting or working iles.   Python notebook with auxiliary output  (data, plots) is not an analytical report: such submission will receive a deduction.

Please do not discuss this assignment in groups or messengers.  Raise a support ticket for your queries. Only clarifying questions are allowed.

Introduction: Short-term asset return is a challenging quantity to predict. Efficient markets produce near-Normal daily returns with no signiicant correlation between rt , rt-1 .  This exam is a limited exercise in supervised learning.  You are expected to explore multiple features or may use a set of features from Table 1 without an expectation of predictive powers.  Original and inal selected features should be sufficiently large.

Objective

Your objective is to produce a model to predict positive moves  (up trend) using machine learning model as speciied in the below section.  Your proposed solution should be comprehensive with the detailed feature engineering and model architecture.

.  Choose one ticker of your interest from the index, equity, ETF, crypto token, or commodity.

.  Predict  trend only,  for  a  short-term  return  (example:   daily,  6  hours).   Limit  prediction  to binomial classiication: the dependent variable is best labeled [0, 1]. Avoid using [-1, 1] as class labels.

.  Analysis should be comprehensive with detailed feature engineering, data pre-processing, model building, and evaluation.

Devise your own approach on how to categorise extremely small near-zero returns (drop from training sample, group with positive/negative).   The threshold will strongly depend on your ticker. Example:  small positive returns below 0.25% can be labelled as negative.

Number of features to include is a design choice.  There is no one recommended set of features for all assets. Length of dataset is another design choice. If predicting short-term return sign (for daily move), then training and testing over up to 5-year period should be sufficient.  Making sense of instructions below is part of the task: the tutor will not assist in designing your computational implementation.

Questions

1. What are voting classiiers in ensemble learning?

2.  Explain the role of the regularization parameter C in a Support Vector Machine (SVM) model. How does varying C afect the model’s bias and variance trade-of?

3. Follow the 7-steps to model building for your selected ticker,

(a) produce a model to predict positive moves (up trend) using Random Forest Classiier.

(b) tune hyperparameters for the estimator and present the best model.

(c) investigate the prediction quality using area under ROC curve, confusion matrix and classiica- tion report.

Note:  Choice and number of hyperparameters to be optimized for the best model are design choices. Use of experiment tracking tools like MLFlow is allowed [refer to Advanced Machine Learning Work- shop - II for sample implementation].