









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!










◉ SVM Pros/Cons. Answer: Pros: It works really well with a clear margin of separation It is effective in high dimensional spaces. It is effective in cases where the number of dimensions is greater than the number of samples. It uses a subset of training points in the decision function (called support vectors), so it is also memory efficient. Cons: Not good for very large data sets Not good for when the data set has more noise i.e. target classes are overlapping Doesn't directly provide probability estimates. ◉ K-nearest neighbor (K-NN). Answer: An unsupervised classification algorithm. Looks at the X number of closest points to the new one and classifies as whichever is most common. ◉ K-nearest neighbor (K-NN) Pros/Cons. Answer: Pros: No assumptions about data Easy to understand/Interpret
Varsatile Cons: Computationally expensive because algorithm stores all training data Sensitive to irrelevant features and scale of data ◉ k-fold cross validation. Answer: Validation Technique where data is divided into X number of data subsets. Each subset is then used as a for testing while the rest are used for training. The algorithm then rotates through each subset and averages the results ◉ K Fold cross Validation Pros/Cons. Answer: Pros: Validates Performance of model Can create balance across predicted features classes Cons: Doesn't work well with time series data The aggregate scores of your model could miss some important extreme values or overpower them so theyre harder to pick up on ◉ k-means clustering. Answer: Unsupervised learning heuristic that sets x starts by assigning x number of cluster centers, then clusters all data points into each of them based on distance. The center point of each cluster is then calculated and all data points are again re clustered. Repeat process until no-data points change clusters. Ideal number of clusters can be identified via elbow diagram.
◉ Exponential Smoothing. Answer: Technique regarding time series data in which older observations are assigned exponentially decreasing weights, so more emphasis is given to recent observations. Can include trends, seasonality, and cyclic patterns to account for expected differences in observations over time ◉ Exponential Smoothing Pros and Cons. Answer: Pros: Easy to learn and apply Can produce accurate forecasts can account for trends/seasonality/cyclic effects Works well when mean/variance/etc are expected to remain relatively constant Cons: Forecasts can sometimes have lag ◉ ARIMA (Auto Regressive Integrated Moving Average). Answer: A time series analysis method used for forecasting that combines three components: Differences in differences to find stationary change when data metrics aren't stationary. Autoregression, where predicting current value is based on previous time period values Moving averages where we go back and incorporate q time periods' previous errors ◉ GARCH (Generalized Autoregressive Conditional
Heteroskedasticity). Answer: Time series analytic method that estimates/forecasts variance. Helps determine how much a forecast may be higher or lower than the true value. Useful for estimating risks on investment portfolios. ◉ Linear Regression. Answer: A Regression technique that describes relationships between independent and dependent variables as linear functions ◉ AIC (Akaike information criterion). Answer: Model selection technique that balances model fit and complexity. Penalizes models with too much complexity in an attempt to avoid overfitting. ◉ BIC (Bayesian information criterion). Answer: Model election technique that balances model fit and complexity. Generally penalizes complexity more than AIC. ◉ Box-Cox Transformation. Answer: Logarithmic transformation technique used to eliminate heteroskedasticity (unequal variance) across a data set to make it fit a normal distribution. This will help a model avoid being biased towards parts of the data with greater variance. ◉ PCA (principal component analysis). Answer: Feature extraction technique that can reduce the dimensionality of the feature space in a model, creating new components ordered by importance, while
◉ Random Forests. Answer: Method where a multitude of CARTs are produced, using randomized subset of data and randomized factors. For regression you then use the average predicted response across the trees, and for classification you use the most common predicted response/ ◉ Random Forest Pros/Cons. Answer: Pros: Tends to give better estimates overall because while each tree might be overfitting in one place or another, they don't necessarily over-fit the same way Average over all trees corrects overfitting Cons: Harder to explain the output of these models. Doesn't help explain how the variables interact, or how certain sequence of branches is helpful or meaningful like we could a single tree. Best we can do is some aggregate measure rather than specific insights. Can't give us a single regression or classification model. ◉ Logistic Regression. Answer: a nonlinear regression model that relates a set of explanatory variables to a probability of a positive or negative response. ◉ AUC (Area under the ROC Curve). Answer: The Area Under the ROC curve is the probability that a classifier will be more confident
that a randomly chosen positive example is actually positive than that a randomly chosen negative example is positive. ◉ Confusion matrices. Answer: A measurement of how well a classification model works by breaking down responses into true positive (TP), True Negative (TN), False Positive (FP), and false negatives (FN) ◉ Sensitivity. Answer: Sensitivity = TP / (TP + FN) This is the fraction of category members that are correctly classified ◉ Specificity. Answer: Specificity = TN / (TN + FP) Fraction of non category members that are correctly classified ◉ Forward Selection. Answer: Start with a model that has no factors. At each step we find the best new factor to add to the model and put it in as long as it's a good enough improvement. When there's no factor that's good enough to add, or if we've added as many factors as we want to have, we stop. ◉ Backward Elimination. Answer: We start with a model that includes all factors and at each step, we find the worst factor and
Cons: Arbitrarily rules out some correlated variables Underestimate coefficients of very predictive variables ◉ A/B Testing. Answer: Analytic method used to pick the best out of several alternatives. Best used when data can be collected quickly, from a representative population, and the amount of data is small relative to the whole population. ◉ Factorial Design Tests. Answer: Design of experiment method used to test a multitude of combinations. E.g 2 fonts x 2 wordings x 2 backgrounds to compare efficacy ◉ multi-armed bandit. Answer: Design of experiment approach that starts with no information and k alternatives. Over time, while performing tests, the probability of which alternative is best is updated and we become more likely to chose the better alternatives in testing. This approach helps balance exploration vs exploitation so less value is lost testing suboptimal alternatives. ◉ Bernoulli Distribution. Answer: - a distribution of a single Binary event, has two possible outcomes where the positive is p and the negative is 1-p ◉ Binomial Distribution. Answer: Distribution of the possible number of successful outcomes in a given number of trials in each of
which there is the same probability of success. Binomial distribution converges to a normal distribution. ◉ Geometric Distribution. Answer: The number of Bernoulli trials until the first success occurs. Such as how many times can you hit a window before it breaks. Can also be used to answer whether a series of trials are actually independent from one another. ◉ Poisson Distribution. Answer: Probability distribution good for modeling arrivals per unit of time. Gives the probability that x people do arrive given the average arrival rate lambda. Assumes arrivals are independent of one another and have the same distribution. Time between arrivals follows exponential distribution. ◉ Exponential Distribution. Answer: A probability distribution associated with the time between arrivals ◉ Weibull Distribution. Answer: A probability distribution that is often used to model the amount of time it takes for something to fail. Similar to geometric, except geometric measures trials whereas this measures time. For example how long until a tire blows. can model situations where failure rate decreases or increases over time. ◉ Deterministic Simulations. Answer: Simulations that never vary. Given the same inputs the outputs will always be the same
that no matter how the process arrived at its present state, the possible future states are fixed. They are memoryless. ◉ Optimization. Answer: Prescriptive analytic tool comprised of three main components. Variables, constraints, and objective function. ◉ Linear Program. Answer: ○ Linear function with constrained set X defined by linear equations and inequalities Fast and easy to solve ◉ Network Models. Answer: Shortest Path Assignment Model Maximum Flow ◉ Convex Quadratic Program. Answer: ○ F(x) is convex quadratic function, min/max f(x), where constraint set X is a convex set Easy and fast to solve ◉ Convex Optimization Problem. Answer: ○ f(x) is concave(max) or convex(min), constraint set X is a convex set Easy but slow
◉ Integer program. Answer: Linear program plus some variables only take integer values Can be hard and slow to solve ◉ General non convex program. Answer: Very hard and slow ◉ Non-parametric tests. Answer: useful when- we don't know much about the form of the underlying distribution the data comes from/ it doesn't fit a nice distribution, it's important to have information about the median, we don't have much data ◉ McNemar test. Answer: Non-Parametric test that compares compares the results of a pair of responses. This test only compares the results that are different between the two test cases. Example: 100 Virus sample groups where two treatments are testing. A killed viruses in 61 samples, B killed viruses in 68 including all A samples. This test gives the likelihood that B was more effective than A in those 7 cases by random chance. Used for binary data ◉ Wilcoxon Signed Rank Test. Answer: Non-parametric version of the paired t-test, which answers whether or not there's a statistically significant difference between the medians of a set of paired samples. Used for numeric data.