





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Supervised Learning - ANSWER uses labeled training data to guide the ML program toward superior forecasting accuracy. (multiple regression) unsupervised learning - ANSWER ML program is not given labeled training data; instead, inputs (i.e., features) are provided without any conclusions about those inputs. In the absence of any target variable, the program seeks out structure or interrelationships in the data. Clustering is an example of an unsupervised ML program. Deep learning - ANSWER used for complex tasks such as image recognition, natural language processing, and so on. Programs that learn from their own prediction errors are called reinforced learning algorithms. neural networks - ANSWER a group of ML algorithms applied to problems with significant nonlinearities. Choice of Appropriate ML Algorithm - ANSWER Step 1: Decide if the data set is complex (too many features). If so, apply a dimension reduction algorithm before proceeding to step 2. Step 2: Decide if the problem is that of classification. If yes, go to step 3. If no, (i.e., it is a numerical prediction problem): Use penalized regression if the data is linear. Or, for nonlinear and complex data, use CART, random forests, or neural networks. Step 3: Is it supervised classification? If no, go to step 4. For supervised classification: For linear data, use KNN or SVM. For complex nonlinear data, use CART, random forests, or neural networks. Step 4: For unsupervised classification: For linear data, use k-means if the number of categories is known. If the number of categories is not known, use hierarchical clustering. For complex nonlinear data, use neural networks.
Overfitting - ANSWER has occurred when the noise in the target variables seems to improve the model fit (i.e., randomness is misperceived to be a pattern, resulting in high in-sample R-squared). Overfitting the model will decrease the accuracy of model forecasts on other (out-of-sample) data—overfit models do not generalize well to new data To measure how well a model generalizes, data analysts create three nonoverlapping data sets: - ANSWER (1) training sample (used to develop the model), (2) validation sample (used for tuning the model), and (3) test sample (used for evaluating the model using new data). In-sample prediction errors occur with the training sample, while prediction errors in the validation and test samples are known as the out-of-sample errors. Bias error - ANSWER This is the in-sample error resulting from models with a poor fit. Variance error - ANSWER This is the out-of-sample error resulting from overfitted models that do not generalize well. Base error - ANSWER These are residual errors due to random noise. learning curve - ANSWER plots the accuracy rate (i.e., 1 − error rate) in the validation or test sample versus the size of the training sample. A robust, well- generalizing model will show an improving accuracy rate as the sample size is increased, and the in-sample and out-of-sample error rates will converge toward a desired accuracy level, as shown in the third panel of Accuracy Rate Patterns. tradeoff between cost and complexity - ANSWER variance error increases with model complexity, while bias error decreases with complexity To reduce the problem of overfitting - ANSWER data scientists use complexity reduction and cross validation. complexity reduction - ANSWER a penalty is imposed to exclude features that are not meaningfully contributing to out-of-sample prediction accuracy. This penalty value increases with the number of independent variables (features) used by the model.
regularization - ANSWER A related method to reduce statistical variability in a high dimension data estimation problem, forces the beta coefficients of nonperforming features toward zero. parsimonious - ANSWER means stingy or penny-pinching. In the world of statistics, a parsimonious model is one that accomplishes the required level of explanation using as few predictor variables as possible. Support vector machine (SVM) - ANSWER a linear classification algorithm that separates the data into one of two possible classifiers (e.g., sell vs. buy). Given n features, an n-dimensional hyperplane divides a sample into one of the two possible classifications. it maximizes the probability of making a correct prediction by determining the boundary that is farthest away from all the observations. This boundary comprises a discriminant boundary as well as margins on the side of the boundary. The margins are determined by the support vectors, observations that are closest to the boundary. soft margin classification - ANSWER Misclassified observations in the training data are handled Applications of SVM - ANSWER classifying debt issuers into likely-to- default versus not-likely-to-default issuers, stocks-to-short versus not-to-short, and even classifying text (from news articles or company press releases) as positive or negative. K-nearest neighbor (KNN) - ANSWER used to classify an observation based on nearness to the observations in the training sample. The researcher specifies the value of k, the hyperparameter, triggering the algorithm to look for the k observations in the sample that are closest to the new observation that is being classified. KNN - ANSWER powerful, nonparametric model, but it requires a specification of what it means to be near. Analysts need to have a clear understanding of the data and the underlying business to be able to specify the distance metric that needs to be optimized. Another issue with it is the specification of feature set; inclusion of irrelevant or correlated features can skew the results.
Investment applications of KNN - ANSWER predicting bankruptcy, assigning a bond to a ratings class, predicting stock prices, and creating customized indices. Classification and regression trees (CART). - ANSWER appropriate when the target variable is categorical, and are typically used when the target is binary (e.g., an IPO will be successful vs. not successful). Logit and probit models - ANSWER used when the target is binary, but are ill- suited when there are significant nonlinear relationships among variables Regression trees - ANSWER are appropriate when the target is continuous. To avoid overfitting (trees) - ANSWER regularization criteria such as maximum tree depth, maximum number of decision nodes, and so on are specified by the researcher. Alternatively, sections of tree with minimal explanatory power are pruned. Investment applications of CART - ANSWER detecting fraudulent financial statements and selecting stocks and bonds. Ensemble - ANSWER technique of combining predictions from multiple models rather than a single model. ensemble method - ANSWER results in a lower average error rate because the different models cancel out noise. Two kinds of ensemble methods are used ensemble methods - ANSWER aggregation of heterogeneous learners and aggregation of homogenous learners. heterogeneous learners - ANSWER different algorithms are combined together via a voting classifier. The different algorithms each get a vote, and then we go with whichever answer gets the most votes. Ideally, the models selected will have sufficient diversity in approach, resulting in a greater level of confidence in the predictions. homogenous learners - ANSWER the same algorithm is used, but on different training data. The different training data samples (used by the same model) can
eigenvalue - ANSWER the proportion of total variance in the data set explained by the eigenvector. Scree plots - ANSWER show the proportion of total variance explained by each of the principal components. resulting in a black-box approach Clustering - ANSWER is the process of grouping observations into categories based on similarities in their attributes (called cohesion). Euclidian distance - ANSWER the straight line distance between two observations, is one common metric that is used. Common types of clustering - ANSWER k-means clustering and hierarchical clustering. K-means clustering - ANSWER partitions observations into k nonoverlapping clusters, where k is a hyperparameter (i.e., set by the researcher). Each cluster has a centroid (the center of the cluster), and each new observation is assigned to a cluster based on its proximity to the centroid. limitation to k-means clustering - ANSWER the hyperparameter k is chosen before clustering starts, meaning that one has to have some idea about the nature of the data set. k-means uses - ANSWER to classify thousands of securities based on patterns in high dimensional data. Hierarchical clustering - ANSWER builds a hierarchy of clusters without any predefined number of clusters agglomerative - ANSWER (or bottom-up) clustering, we start with one observation as its own cluster and add other similar observations to that group, or form another nonoverlapping cluster divisive (or top-down) clustering - ANSWER algorithm starts with one giant cluster, and then it partitions that cluster into smaller and smaller clusters.
Clustering can be used in investment management - ANSWER for diversification by investing in assets from multiple clusters. Clustering can also be useful in analysis of portfolio risk, as concentration is evidenced by a large portfolio allocation to one cluster. While clusters are themselves not clearly labeled or defined, clustering can be valuable in uncovering hidden structures or similarities between observations in complex data sets. neural networks (NNs) - ANSWER Useful in supervised regression and classification models. constructed as nodes connected by links. the node receives multiple input values via the links, neurons process the input information Neuron process - ANSWER These neurons comprise a summation operator that collates the information (as a weighted average) and passes it on to a (typically nonlinear) activation function, to generate a value from the input values. This value is then passed forward to other neurons in subsequent hidden layers (a process called forward propagation). A related process, backward propagation, is employed to revise the weights used in the summation operator as the network learns from its errors. Deep learning networks (DLNs) - ANSWER are unsupervised neural networks with many hidden layers (often more than 20). DLNs are often used for image, pattern, and character recognition. The last layer in a DLN calculates the expected probability of an observation belonging to a category, and the observation is assigned to the category with the highest probability Applications of DLNs - ANSWER credit card fraud detection, autonomous cars, natural language processing, and investment decision-making. Reinforcement learning (RL) algorithms - ANSWER have an agent that seeks to maximize a defined reward given defined constraints. The RL agent does not rely on labeled training data, but rather learns based on immediate feedback from (millions of) trials. When applied to the ancient game of Go, DeepMind's AlphaGo algorithm was able to beat the reigning world champion. The efficacy of RL in investment decision-making is not yet conclusive. unsupervised learning algorithms - ANSWER Dimension reduction and clustering