Docsity

Data Mining and Optimization Techniques: A Comprehensive Study Guide, Exams of Advanced Education

Toggle sidebar
bg1
BIT 3434 Final LATEST STUDY GUIDE!!!
T/F The digital world runs on data - T
Data mining - the process of finding and extracting useful information and insights from
large datasets
The data mining process - identify opportunity, collect data, explore understand and
prepare data, identify tasks and tools, partition data, build and evaluate models, deploy
models
Identify opportunity (Data mining process) - what is the business problem/opportunity?
**begin with the end in mind**
Collect data (Data mining process) - decide where to dig; get the right data (internally or
externally)
When collecting data do you need millions of records of data? - NO (you can use
samples; 10*number of samples is ok)
Understand, explore and prepare the data (Data mining process) - know what the data
represents and make sure it is clean and complete
(eliminate unneeded/redundant variables, transform variables as needed)
Where is most of the data mining time spent? - understanding, exploring and preparing
the data
Identify task and tools (Data mining process) - deciding which type of tools to use on the
dataset; all data mining problems usually fall into one of these three categories:
classification, prediction or segmentation/clustering
Classification data mining - instead of a dependent variable being continuous, it is
discrete (categorical)
Prediction data mining - trying to predict the value of some output variable; dependent
variable is continuous
What tool do you use for prediction data mining? - REGRESSION
Segmentation/clustering data mining - no typical y variable to predict; grouping based
on similarities
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Data Mining and Optimization Techniques: A Comprehensive Study Guide and more Exams Advanced Education in PDF only on Docsity!

BIT 3434 Final LATEST STUDY GUIDE!!!

T/F The digital world runs on data - T Data mining - the process of finding and extracting useful information and insights from large datasets The data mining process - identify opportunity, collect data, explore understand and prepare data, identify tasks and tools, partition data, build and evaluate models, deploy models Identify opportunity (Data mining process) - what is the business problem/opportunity? begin with the end in mind Collect data (Data mining process) - decide where to dig; get the right data (internally or externally) When collecting data do you need millions of records of data? - NO (you can use samples; 10*number of samples is ok) Understand, explore and prepare the data (Data mining process) - know what the data represents and make sure it is clean and complete (eliminate unneeded/redundant variables, transform variables as needed) Where is most of the data mining time spent? - understanding, exploring and preparing the data Identify task and tools (Data mining process) - deciding which type of tools to use on the dataset; all data mining problems usually fall into one of these three categories: classification, prediction or segmentation/clustering Classification data mining - instead of a dependent variable being continuous, it is discrete (categorical) Prediction data mining - trying to predict the value of some output variable; dependent variable is continuous What tool do you use for prediction data mining? - REGRESSION Segmentation/clustering data mining - no typical y variable to predict; grouping based on similarities

Example of segmentation/clustering - grocery stores grouping customers based on specific characteristics to see patters in what they buy Supervised data mining - can tell how far off the analysis is (USING R2) Unsupervised data mining - can't tell how far off the analysis is (because there is no benchmark) Partition data (Data mining process) - dont use all the data; take some data to use in the training process and then use validation to check Build and evaluate models (Data mining process) - probably try multiple models to see which fits best... exploratory process (try different models/parameter settings) AVOID OVERFITTING DATA Deploy models (Data mining process) - integrate models in operational system; train users and monitor results... also look for opportunities for continuous improvement Neural networks - mimic the operation of the human brain (receive stimuli, process stimuli and then determine a response) Neural networks go from - input layer -> hidden layer -> output layer To classify a new record with Full Bayes classifier - find all matching records and put new record in most frequently occurring matching group What is the problem with full bayes classifier? - continuous variables are unlikely to match exactly and even with nominal variables there might be a match What is the solution to the problems with full bayes classifier? - naively assume variables are independent Naive Bayes - requires categorical independent X variables; binning continuous variables results in lost information Combining predictions - you can also use multiple classification techniques and combine their predictions via majority vote Affinity analysis (aka market basked analysis) - figure out what goes with what (often used in online recommendations); results in a set of If-then rules Affinity analysis rules evaluation - Support = the perfecent of records that include both a & c Confidence = support/ the percent of records including a

Anomalies that can occur in LP problems - alternate optimal solutions, redundant constraints, unbounded solutions or infeasibility T/F you can always solve LP problems graphically - F (you can only solve them when there are two decision variables) Steps for implementing a LP model in a spreadsheet - 1. organize the data for the model on the spreadsheet

  1. reserve separate cells in the spreadsheet for each decision variable in the model
  2. create a formula in a cell in the spreadsheet that corresponds to the objective function
  3. for each constraint, create a formula in a separate cell in the spreadsheet that corresponds to the left-handed side of the constraint (LHS) Objective cell - the cell in the spreadsheet that represents the objective function Variable cell - the cells in the spreadsheet representing the decision variables Constraint cells - the cells in the spreadsheet presenting the LHS formulas on the constraints Communication (goals for spreadsheet design) - a spreadsheet's primary business purpose is communicating information to managers Reliability (goals for spreadsheet design) - the output a spreadsheet generates should be correct and consistent Auditability (goals for spreadsheet design) - a manager should be able to retrace the steps followed to generate the different output from the model in order to understand and verify the results Modifiability (goals for spreadsheet design) - a well designed spreadsheet should be easy to change or enhance in order to meet dynamic user requirements Spreadsheet design guidelines - organize the data, then build the model around the data do not embed numeric constants in formulas things which are logically related should be physically related use formulas that can be copied columns/rows totals should be close to the columns/rows that are being totaled English reading eye scans left to right and top to bottom

use color, shading, borders and protection to distinguish changeable parameters from other elements use text boxes and cell notes to document various elements in the model PsiCurrentOpt() - returns the integer index of the current optimization PsiOptValue(cell, opt#) - returns the optimal value of the indicated cell for a particular optimization How are network flow problems represented - a collection of nodes connected by arcs Three types of nodes in network flow problems - supply, demand and transshipment T/F in network flow problems, use negative numbers to represent supplies and positive numbers to represent demand - T Example of defining decision variables for network flow problems - X12 = the number of cars shipped from node 1 (Newark) to node 2 (Boston) Shortest path problem - many decision problems boil down to determining the shortest (or least costly) route or path through a network Example of a real life scenario where they would need the shortest path - Emergency vehicle routing Shortest path problems are special cases of transshipment where - there is one supply node with a supply of -1 and there is one demand node with a demand of +1 and then all other nodes have supply/demand of + What are the two possible objectives for shortest path problems - finding the quickest route (minimizing travel time) or finding the most scenic route (maximizing the scenic rating points) T/F all network flow problems have transshipment nodes - F (some network flow problems don't have transshipment nodes, they only have supply and demand nodes) Examples of problems that can occur in flows over arcs (network flow problems) - oil or gas shipped through a leaky pipeline; imperfections in raw materials entering a production process; spoilage of food items during transit In generalized network flow problems, gains/losses associated with flows across each arc effectively increase/decrease _____ - available supply

Bound - the optimal solution to an LP relaxation of an ILP problem gives us a bound on the optimal objective function value For maximization the optimal relaxed objective function values is a - upper bound on the optimal integer value For minimization the optimal relaxed objective function values a - lower bound on the optimal integer value Rounding with ILPs - it is temping to simply round a fractional solution to the closest integer solution, in general THIS DOES NOT WORK Why does rounding not work with ILPs - the rounded solution may be infeasible or the rounded solution may be suboptimal Branch and Bound algorithm requires - a solution of a series of LP problems termed "candidate problems" T/F theoretically, a branch and bound algorithm can solve an ILP - T but practically, it takes LOTS of computational effort and time Stopping rules - because B&B can take so long, most ILP packages allow you to specify a sub-optimality tolerance factor Sub-optimality tolerance factor - allows you to stop once an integer solution is found that is found within some % of the global optimal solution Example of bounds from LP relaxation in use: - LP relaxation has an optimal value of $64, 95% of $64,306 is $61, Thus, an integer solution with the objective value of $61,090 or better must be within 5% of the optimal solution Binary variables - integer variables that can assume only two variables: 0 or 1 When are binary variables useful? - in different practical modeling situations and when modeling different logical conditions Example of binary variables in use for logical conditions - of projects 1, 3 and 6 no more than one can be selected X1 + X3 + X6 <= 1 Project 4 cannot be selected unless project 5 is also selected

X4 - X5 <= 0

T/F extension questions are answered with parameterized optimization - T When modifying the model, what do you do with the cycle time? - it becomes a variable we want to minimize Fixed charge problem - many decisions result in a fixed or lump sum cost being incurred Example of fixed charge problem where decisions result in lump sum costs being incurred - the cost to lease or purchase a piece of equipment setup cost required to prepare a machine or to produce a different type of product T/F it is ok to use IF() functions to model the relationship between Xi and Yi - F (Avoid it!) T/F risk solver platform will attempt to re-forumulate models containing IF() functions into equivalent linear models - T (but this doesn't always work so you should learn how to formulas your own models appropriately) Nonlinear Programming problems have - nonlinear objective functions and/or one or more nonlinear constraints T/F NLP problems are formulated and implemented in virtually the same way as linear problems, but the mathematics involved in solving NLPs is quite different than for LPs - T Generalized Reduced Gradient (GRG) - solver uses this algorithm to solve non linear programming problems (can also be used for LPs but it is slower than the simplex method) Convexity - all lines connecting two points in the feasible region falls entirely within the feasible region Non-convex - not all lines connecting two points in the feasibly region fall entire within the feasible region T/F non-convex problems can have multiple local optima and be difficult - T T/F non-convex problems are much easier to solve than convex problems - F (convex are easier) Null starting points should be - avoided

starting point and then constraints may be added to location problems to eliminate infeasible areas One big problem with non linear network flow problems is that - small differences in probabilities can mean large differences in expected values In portfolio optimization we usually want to either - minimize risk (portfolio variance) or maximize the expected return Formula to generate efficient portfolio optimization solutions - MAX: (1-r)(expected return) - r(portfolio variance) where r is the user defined risk aversion value and is between 0 and 1 If r = 1 (portfolio optimization) - we minimize the portfolio variance If r = 0 (portfolio optimization) - we maximize expected return Evolutionary algorithms - technique of heuristic mathematical optimization based on Darwin's theory of evolution T/F evolutionary algorithms can be used on any spreadsheet model including those with "if" and/or "lookup functions" - T Solutions to evolutionary algorithms are represented as - a vector of numbers (like a chromosome) Genetic algorithms start with random population of chromosomes and then apply - cross over and mutation and then the most fit chromosomes survive to the next generation and the process is repeated Cross over in genetic algorithms - the exchange of values between solution vectors Mutation in genetic algorithms - the random replacement of values in a solution vector