Introduction to Data Mining (Second Edition)

Highlights:, what is new in the second edition, sample chapters:.

  • Chapter 3. Classification: Basic Concepts and Techniques
  • Chapter 5. Association Analysis: Basic Concepts and Algorithms
  • Chapter 7. Cluster Analysis: Basic Concepts and Algorithms

All files are in Adobe's PDF format and require Acrobat Reader .

Resources for Instructors and Students:

Link to powerpoint slides, link to figures as powerpoint slides, links to python notebooks and tutorials, link to r code examples (courtesy: michael hahsler ), links to data mining software and data sets, suggestions for term papers and projects, solution manual and question bank, additional resources.

Data Exploration ( Chapter ) (lecture slides: [ PPT ] [ PDF ]).

Appendices [ PDF ].

PowerPoint Slides:

Introduction [ PPT ] [ PDF ] (Update: 09 Sept, 2020) .

Data [ PPT ] [ PDF ] (Update: 27 Jan, 2021) .

Basic Concepts and Decision Trees [ PPT ] [ PDF ] (Update: 01 Feb, 2021) .

Rule-based Classifier [ PPT ] [ PDF ] (Update: 30 Sept, 2020) .

Nearest Neighbor Classifiers [ PPT ] [ PDF ] (Update: 10 Feb, 2021) .

Naïve Bayes Classifier [ PPT ] [ PDF ] (Update: 08 Feb, 2021) .

Artificial Neural Networks [ PPT ] [ PDF ] (Update: 22 Feb, 2021) .

Support Vector Machine [ PPT ] [ PDF ] (Update: 17 Feb, 2020 .

Ensemble Methods [ PPT ] [ PDF ] (Update: 11 Oct 2021) .

Class Imbalance Problem [ PPT ] [ PDF ] (Update: 15 Feb, 2021) .

Association Analysis: Basic Concepts and Algorithms [ PPT ] [ PDF ] (Update: 08 Mar, 2021) .

Association Analysis: Advanced Concepts [ PPT ] [ PDF ] (Update: 15 Mar, 2021) .

Cluster Analysis: Basic Concepts and Algorithms [ PPT ] [ PDF ] (Update: 24 Mar, 2021) .

Cluster Analysis: Additional Issues and Algorithms [ PPT ] [ PDF ] (Update: 31 Mar, 2021) .

Anomaly Detection [ PPT ] [ PDF ] (Update: 29 Nov, 2019) .

Avoiding False Discoveries [ PPT ] [ PDF ] (Update: 14 Feb, 2018) .

1. Introduction (lecture slides: [ PPT ] [ PDF ])

2. Data (lecture slides: [ PPT ][ PDF ])

3. Exploring Data (lecture slides: [ PPT ][ PDF ])

4. Classication: Basic Concepts, Decision Trees, and Model Evaluation (lecture slides: [ PPT ][ PDF ])

5. Classication: Alternative Techniques (lecture slides: [ PPT ][ PDF ])

6. Association Analysis: Basic Concepts and Algorithms (lecture slides: [ PPT ][ PDF ])

7. Association Analysis: Advanced Concepts (lecture slides: [ PPT ][ PDF ])

8. Cluster Analysis: Basic Concepts and Algorithms (lecture slides: [ PPT ][ PDF ])

9. Cluster Analysis: Additional Issues and Algorithms (lecture slides: [ PPT ][ PDF ])

10. Anomaly Detection (lecture slides: [ PPT ][ PDF ])

Book Figures in PowerPoint Slide Format:

1. Introduction (figure slides: [ PPT ])

2. Data (figure slides: [ PPT ])

3. Exploring Data ( figure slides: [ PPT ])  

4. Classication: Basic Concepts, Decision Trees, and Model Evaluation ( figure slides: [ PPT ])

5. Classication: Alternative Techniques ( figure slides: [ PPT ])

6. Association Analysis: Basic Concepts and Algorithms ( figure slides: [ PPT ])

7. Association Analysis: Advanced Concepts ( figure slides: [ PPT ])

8. Cluster Analysis: Basic Concepts and Algorithms ( figure slides: [ PPT ])

9. Cluster Analysis: Additional Issues and Algorithms ( figure slides: [ PPT ])

10. Anomaly Detection ( figure slides: [ PPT ])

Browse Course Material

Course info.

  • Prof. Nitin Patel

Departments

  • Sloan School of Management

As Taught In

  • Information Technology
  • Data Mining

Learning Resource Types

Assignments, problem 1: the charles book club case.

Read the case and answer all the questions at the end of the case.

Bhandari, Vinni, and Dr. Nitin Patel. “The Charles Book Club Case ”

Levin, Nissan, and Jacob Zahav. “A Case Study in Database Marketing .” Tel Aviv University. Direct Marketing Educational Foundation, Inc.. March 1995.

Association of American Publishers. Industry Statistics, 2002.

Art History of Florence

A new title, “The Art History of Florence”, is ready for release. CBC has sent a test mailing to a random sample of 4,000 customers from its customer base. The customer responses have been collated with past purchase data. The data has been randomly partitioned into 3 parts- Training Data (1800 customers): initial data to be used to fit response models, Validation Data (1400 customers): hold-out data used to compare the performance of different response models, and Test Data (800 Customers): data only to be used after a final model has been selected to estimate the likely accuracy of the model when it is deployed. The Sample Data are in a separate spreadsheets CBC_4000.xls ( XLS ). Each row (or case) in the spreadsheet (other than the header) corresponds to one market test customer. Each column is a variable with the header row giving the name of the variable. The variable names and descriptions are given in Table 1, below:

Table 1: List of Variables in CBC_4000.xls

Problem 2: the german credit case.

Read the case and answer all the questions at the end ( PDF )

German Credit Case Data ( XLS )

A common application of Discriminant Analysis is the classification of bonds into various bond rating classes. These ratings are intended to reflect the risk of the bond and influence the cost of borrowing for companies that issue bonds. Various financial ratios culled from annual reports are often used to help determine a company’s bond rating.

The Excel spreadsheet BondRatingProb1.xls ( XLS )contains two sheets named Training data and Validation data. These are data from a sample of 95 companies selected from COMPUSTAT financial data tapes. The company bonds have been classified by Moody’s Bond Ratings (1980) into seven classes of risk ranging from AAA, the safest, to C, the most risky. The data include ten financial variables for each company. These are:

LOPMAR: Logarithm of the operating margin, LFIXMAR: Logarithm of the pretax fixed charge coverage, LTDCAP: Long-term debt to capitalization, LGERRAT: Logarithm of total long-term debt to total equity, LLEVER: Logarithm of the leverage, LCASHLTD: Logarithm of the cash flow to long-term debt, LACIDRAT: Logarithm of the acid test ratio, LCURRAT: Logarithm of the current assets to current liabilities, LRECTURN: Logarithm of the receivable turnover, LASSLTD: Logarithm of the net tangible assets to long-term debt.

The data are divided into 81 observations in the Training data sheet and 14 observations in the Validation data sheet. The bond ratings have been coded into numbers in the column with the title CODERTG, with AAA coded as 1, AA as 2, etc. Use XLMiner to develop Discriminant Analysis and Neural Networks models to classify the bonds in the Validation data sheet. You will need to use the score new data option. What is the performance of the best classifier you have been able to find? Notice that the there is order in the class variables (i.e., AAA is better than AA, which is better than A,…). Would certain misclassification errors be worse than others? If so, how would you suggested measuring this?

Give true false answers to the following questions with one sentence to justify your answer.

  • The adjusted R2 value for a set of independent variables in multiple linear regression is always less than the value of R2.
  • The most promising subsets of variables to include in a multiple linear regression model are those that have few variables and have a high value for Mallow’s Cp.
  • An Artificial Neural Network with no hidden layers is used to predict a continuous variable y using p input variables, x1, x2 … xp. The network is trained on a training dataset and it is found that the sum of squared errors on a validation dataset is SSN. A multiple linear regression model with independent variables x1, x2 … xp and dependent variable y is fitted to the same validation data. The sum of squared residuals for the regression model is SSR. SSR cannot be greater than SSN.
  • The backprop algorithm when used in training an Artificial Neural Network will always terminate at a global or local minimum of the error function.
  • The number of variables used in training an Artificial Neural Network is equal to the total number of nodes in the network.

The Excel spreadsheet RegressionProb3.xls ( XLS ) contains two sheets named Training Data and Validation Data. We will use XLMiner to build two models with the training data and then use the validation data to compare their performance as prediction models.

  • Fit a multiple regression model, Model1, to the training data using all the variables X1 through X9 (and the constant term). Call the coefficient vector for this model ß 1 .
  • Use the subset selection options in XLMiner to choose a model using only the training data. Call the coefficient vector for this model ß 2 .
  • Use the Validation Data to compute the mean and the standard deviation of errors for Model1 by copying ß 1 into cells B5 through K5. Do the same for Model2 by copyingß 2 .
  • Compare the models in terms of (i) bias in the predictions, (ii) mean square error of predictions.

The Excel spreadsheet NormalsProb4.xls ( XLS ) contains 1000 observations with two groups (Group 0 and Group 1) and two variables (x and y).

  • Plot all the data points in a 2-dimensional scatter plot. Mark Group 1 points and Group 0 points differently (e.g., one with a ‘x’ and the other with ‘o’) so you can visualize the distribution of the points of each Group.
  • Partition the data into training and classification sets with 600 and 400 observations respectively.
  • Logistic Regression
  • Discriminant Analysis
  • Neural Nets
  • K-Nearest Neighbor ClassifiersRemember that logistic regression and discriminant analysis are linear classifiers - i.e., it separates points of different classes with a plane. In contrast, neural networks and k-nearest neighbors allow non-linear classifiers (do you have an intuitive idea on the geometry of how the latter two classifies points?).
  • Group 0 points that are classified correctly,
  • Group 0 points that are misclassified,
  • Group 1 points that are classified correctly,
  • Group 1 points that are misclassified.
  • The data was simulated. The (x,y) values for each class follow a bivariate normal distribution. The Bayes Rule for minimum misclassification has an error rate of 18.5%. How close is the best classifier you have developed of each type to this error rate? Give an intuitive explanation of why certain types of classifiers seem to be better for this data.

facebook

You are leaving MIT OpenCourseWare

  • Trending Now
  • Foundational Courses
  • Data Science
  • Practice Problem
  • Machine Learning
  • System Design
  • DevOps Tutorial
  • Top 50+ Python Interview Questions and Answers (Latest 2024)
  • Top 50 Plus Interview Questions for Statistics with Answers 2023
  • Top 10 Traditional HR Interview Questions and Answers
  • TCS Digital Interview Questions
  • Top 50 SEO Interview Questions [2024]
  • Happiest Minds Technology Interview Experience (On-Campus)
  • TCS Interview Experience | Set 5 (On-campus)
  • DELL Interview | Set 1 (On-Campus)
  • TCS Ninja Interview Experience 2022
  • TCS Interview Experience | Set 41 (On-Campus)
  • Salesforce Interview Questions for Technical Profiles
  • Sirion Interview Experience for ASE (On-Campus)
  • Microsoft Interview | Set 5
  • Ford Motor Interview Experience (On-Campus)
  • Happiest Minds Interview Experience 2023
  • MoneyTap Interview Experience (On-Campus 2020)
  • MindTree Interview Experience (On-Campus) 2023
  • Analytics Quotient Interview Experience | On-Campus
  • Micron Technologies Interview Experience for FTE (On-Campus)

Top 50 Data Mining Interview Questions & Answers

Data Mining is a process of extracting useful information from data warehouses or from bulk data. This article contains the Most Popular and Frequently Asked Interview Questions of Data Mining along with their detailed answers. These will help you to crack any interview for a data scientist job. So let’s get started.

Top-50-Data-Mining-Interview-Questions-Answers

1. What is Data Mining?

Data mining refers to extracting or mining knowledge from large amounts of data. In other words, Data mining is the science, art, and technology of discovering large and complex bodies of data in order to discover useful patterns.

2. What are the different tasks of Data Mining?

The following activities are carried out during data mining:

  • Classification
  • Association Rule Discovery
  • Sequential Pattern Discovery
  • Deviation Detection

3. Discuss the Life cycle of Data Mining projects?

The life cycle of Data mining projects:

  • Business understanding: Understanding projects objectives from a business perspective, data mining problem definition.
  • Data understanding: Initial data collection and understand it. 
  • Data preparation: Constructing the final data set from raw data.
  • Modeling: Select and apply data modeling techniques.
  • Evaluation: Evaluate model, decide on further deployment.
  • Deployment : Create a report, carry out actions based on new insights.

4. Explain the process of KDD?

Data mining treat as a synonym for another popularly used term, Knowledge Discovery from Data, or KDD. In others view data mining as simply an essential step in the process of knowledge discovery, in which intelligent methods are applied in order to extract data patterns.

Knowledge discovery from data consists of the following steps:

  • Data cleaning (to remove noise or irrelevant data).
  • Data integration (where multiple data sources may be combined).
  • Data selection (where data relevant to the analysis task are retrieved from the database).
  • Data transformation (where data are transmuted or consolidated into forms appropriate for mining by performing summary or aggregation functions, for sample).
  • Data mining (an important process where intelligent methods are applied in order to extract data patterns).
  • Pattern evaluation (to identify the fascinating patterns representing knowledge based on some interestingness measures).
  • Knowledge presentation (where knowledge representation and visualization techniques are used to present the mined knowledge to the user).

5. What is Classification?

Classification is the processing of finding a set of models (or functions) that describe and distinguish data classes or concepts, for the purpose of being able to use the model to predict the class of objects whose class label is unknown. Classification can be used for predicting the class label of data items. However, in many applications, one may like to calculate some missing or unavailable data values rather than class labels.

6. Explain Evolution and deviation analysis?

Data evolution analysis describes and models regularities or trends for objects whose behavior variations over time. Although this may involve discrimination, association, classification, characterization, or clustering of time-related data, distinct features of such an analysis involve time-series data analysis, periodicity pattern matching, and similarity-based data analysis.

In the analysis of time-related data, it is often required not only to model the general evolutionary trend of the data but also to identify data deviations that occur over time. Deviations are differences between measured values and corresponding references such as previous values or normative values. A data mining system performing deviation analysis, upon the detection of a set of deviations, may do the following: describe the characteristics of the deviations, try to describe the reason behindhand them, and suggest actions to bring the deviated values back to their expected values.

7. What is Prediction?

Prediction can be viewed as the construction and use of a model to assess the class of an unlabeled object, or to measure the value or value ranges of an attribute that a given object is likely to have. In this interpretation, classification and regression are the two major types of prediction problems where classification is used to predict discrete or nominal values, while regression is used to predict incessant or ordered values.

8. Explain the Decision Tree Classifier?

A Decision tree is a flow chart-like tree structure, where each internal node (non-leaf node) denotes a test on an attribute, each branch represents an outcome of the test and each leaf node (or terminal node) holds a class label. The topmost node of a tree is the root node.

A Decision tree is a classification scheme that generates a tree and a set of rules, representing the model of different classes, from a given data set. The set of records available for developing classification methods is generally divided into two disjoint subsets namely a training set and a test set. The former is used for originating the classifier while the latter is used to measure the accuracy of the classifier. The accuracy of the classifier is determined by the percentage of the test examples that are correctly classified.

In the decision tree classifier, we categorize the attributes of the records into two different types. Attributes whose domain is numerical are called the numerical attributes and the attributes whose domain is not numerical are called categorical attributes. There is one distinguished attribute called a class label. The goal of classification is to build a concise model that can be used to predict the class of the records whose class label is unknown. Decision trees can simply be converted to classification rules.

Decision Tree Classifier

 9. What are the advantages of a decision tree classifier?

  • Decision trees are able to produce understandable rules.
  • They are able to handle both numerical and categorical attributes.
  • They are easy to understand.
  • Once a decision tree model has been built, classifying a test record is extremely fast.
  • Decision tree depiction is rich enough to represent any discrete value classifier.
  • Decision trees can handle datasets that may have errors.
  • Decision trees can deal with handle datasets that may have missing values.
  • They do not require any prior assumptions.  Decision trees are self-explanatory and when compacted they are also easy to follow. That is to say, if the decision tree has a reasonable number of leaves it can be grasped by non-professional users. Furthermore, since decision trees can be converted to a set of rules, this sort of representation is considered comprehensible.

10. Explain Bayesian classification in Data Mining?

A Bayesian classifier is a statistical classifier. They can predict class membership probabilities, for instance, the probability that a given sample belongs to a particular class. Bayesian classification is created on the Bayes theorem. A simple Bayesian classifier is known as the naive Bayesian classifier to be comparable in performance with decision trees and neural network classifiers. Bayesian classifiers have also displayed high accuracy and speed when applied to large databases.

11. Why Fuzzy logic is an important area for Data Mining?

Rule-based systems for classification have the disadvantage that they involve exact values for continuous attributes. Fuzzy logic is useful for data mining systems performing classification. It provides the benefit of working at a high level of abstraction. In general, the usage of fuzzy logic in rule-based systems involves the following:

  • Attribute values are changed to fuzzy values.
  • For a given new sample, more than one fuzzy rule may apply. Every applicable rule contributes a vote for membership in the categories. Typically, the truth values for each projected category are summed.
  • The sums obtained above are combined into a value that is returned by the system. This process may be done by weighting each category by its truth sum and multiplying by the mean truth value of each category. The calculations involved may be more complex, depending on the difficulty of the fuzzy membership graphs.

 12. What are Neural networks?

A neural network is a set of connected input/output units where each connection has a weight associated with it. During the knowledge phase, the network acquires by adjusting the weights to be able to predict the correct class label of the input samples. Neural network learning is also denoted as connectionist learning due to the connections between units. Neural networks involve long training times and are therefore more appropriate for applications where this is feasible. They require a number of parameters that are typically best determined empirically, such as the network topology or “structure”. Neural networks have been criticized for their poor interpretability since it is difficult for humans to take the symbolic meaning behind the learned weights. These features firstly made neural networks less desirable for data mining.

The advantages of neural networks, however, contain their high tolerance to noisy data as well as their ability to classify patterns on which they have not been trained. In addition, several algorithms have newly been developed for the extraction of rules from trained neural networks. These issues contribute to the usefulness of neural networks for classification in data mining. The most popular neural network algorithm is the backpropagation algorithm, proposed in the 1980s

13. How Backpropagation Network Works?

A Backpropagation learns by iteratively processing a set of training samples, comparing the network’s estimate for each sample with the actual known class label. For each training sample, weights are modified to minimize the mean squared error between the network’s prediction and the actual class. These changes are made in the “backward” direction, i.e., from the output layer, through each concealed layer down to the first hidden layer (hence the name backpropagation). Although it is not guaranteed, in general, the weights will finally converge, and the knowledge process stops.

14. What is a Genetic Algorithm?

Genetic algorithm is a part of evolutionary computing which is a rapidly growing area of artificial intelligence. The genetic algorithm is inspired by Darwin’s theory about evolution. Here the solution to a problem solved by the genetic algorithm is evolved. In a genetic algorithm, a population of strings (called chromosomes or the genotype of the gen me), which encode candidate solutions (called individuals, creatures, or phenotypes) to an optimization problem, is evolved toward better solutions. Traditionally, solutions are represented in the form of binary strings, composed of 0s and 1s, the same way other encoding schemes can also be applied. 

15. What is Classification Accuracy?

Classification accuracy or accuracy of the classifier is determined by the percentage of the test data set examples that are correctly classified. The classification accuracy   of a classification tree = (1 – Generalization error).

16. Define Clustering in Data Mining?

Clustering is the task of dividing the population or data points into a number of groups such that data points in the same groups are more similar to other data points in the same group and dissimilar to the data points in other groups. It is basically a collection of objects on the basis of similarity and dissimilarity between them.

17. Write a difference between classification and clustering?[IMP]

18. What is Supervised and Unsupervised Learning?[TCS interview question]

Supervised learning, as the name indicates, has the presence of a supervisor as a teacher. Basically supervised learning is when we teach or train the machine using data that is well labeled. Which means some data is already tagged with the correct answer. After that, the machine is provided with a new set of examples(data) so that the supervised learning algorithm analyses the training data(set of training examples) and produces a correct outcome from labeled data. 

Unsupervised learning is the training of a machine using information that is neither classified nor labeled and allowing the algorithm to act on that information without guidance. Here the task of the machine is to group unsorted information according to similarities, patterns, and differences without any prior training of data. 

Unlike supervised learning, no teacher is provided that means no training will be given to the machine. Therefore, the machine is restricted to find the hidden structure in unlabeled data by itself. 

19. Name areas of applications of data mining?

  • Data Mining Applications for Finance
  • Intelligence
  • Telecommunication
  • Supermarkets
  • Crime Agencies
  • Businesses Benefit from data mining

20. What are the issues in data mining?

A number of issues that need to be addressed by any serious data mining package

  • Uncertainty Handling
  • Dealing with Missing Values
  • Dealing with Noisy data
  • Efficiency of algorithms
  • Constraining Knowledge Discovered to only Useful
  • Incorporating Domain Knowledge
  • Size and Complexity of Data
  • Data Selection
  • Understandably of Discovered Knowledge: Consistency between Data and Discovered Knowledge.

21. Give an introduction to data mining query language?

DBQL or Data Mining Query Language proposed by Han, Fu, Wang, et.al. This language works on the DBMiner data mining system. DBQL  queries were based on SQL(Structured Query language). We can this language for databases and data warehouses as well. This query language support ad hoc and interactive data mining.

22. Differentiate Between Data Mining And Data Warehousing?

Data Mining: It is the process of finding patterns and correlations within large data sets to identify relationships between data. Data mining tools allow a business organization to predict customer behavior. Data mining tools are used to build risk models and detect fraud. Data mining is used in market analysis and management, fraud detection, corporate analysis, and risk management. It is a technology that aggregates structured data from one or more sources so that it can be compared and analyzed rather than transaction processing. 

Data Warehouse : A data warehouse is designed to support the management decision-making process by providing a platform for data cleaning, data integration, and data consolidation. A data warehouse contains subject-oriented, integrated, time-variant, and non-volatile data.

Data warehouse consolidates data from many sources while ensuring data quality, consistency, and accuracy. Data warehouse improves system performance by separating analytics processing from transnational databases. Data flows into a data warehouse from the various databases. A data warehouse works by organizing data into a schema that describes the layout and type of data. Query tools analyze the data tables using schema.

23.What is Data Purging?

The term purging can be defined as Erase or Remove. In the context of data mining, data purging is the process of remove, unnecessary data from the database permanently and clean data to maintain its integrity.

24. What Are Cubes?

A data cube stores data in a summarized version which helps in a faster analysis of data. The data is stored in such a way that it allows reporting easily. E.g. using a data cube A user may want to analyze the weekly, monthly performance of an employee. Here, month and week could be considered as the dimensions of the cube.

25.What are the differences between OLAP And OLTP?[IMP]

26. Explain Association Algorithm In Data Mining?

Association analysis is the finding of association rules showing attribute-value conditions that occur frequently together in a given set of data. Association analysis is widely used for a market basket or transaction data analysis. Association rule mining is a significant and exceptionally dynamic area of data mining research. One method of association-based classification, called associative classification, consists of two steps. In the main step, association instructions are generated using a modified version of the standard association rule mining algorithm known as Apriori. The second step constructs a classifier based on the association rules discovered.

27. Explain how to work with data mining algorithms included in SQL server data mining?

SQL Server data mining offers Data Mining Add-ins for Office 2007 that permits finding the patterns and relationships of the information. This helps in an improved analysis. The Add-in called a Data Mining Client for Excel is utilized to initially prepare information, create models, manage, analyze, results.

28. Explain Over-fitting?

The concept of over-fitting is very important in data mining. It refers to the situation in which the induction algorithm generates a classifier that perfectly fits the training data but has lost the capability of generalizing to instances not presented during training. In other words, instead of learning, the classifier just memorizes the training instances. In the decision trees over fitting usually occurs when the tree has too many nodes relative to the amount of training data available. By increasing the number of nodes, the training error usually decreases while at some point the generalization error becomes worse. The  Over-fitting can lead to difficulties when there is noise in the training data or when the number of the training datasets, the error of the fully built tree is zero, while the true error is likely to be bigger.

There are many disadvantages of an over-fitted decision tree:

  • Over-fitted models are incorrect.
  • Over-fitted decision trees require more space and more computational resources.
  • They require the collection of unnecessary features.

29. Define Tree Pruning?

When a decision tree is built, many of the branches will reflect anomalies in the training data due to noise or outliers. Tree pruning methods address this problem of over-fitting the data.  So the tree pruning is a technique that removes the overfitting problem. Such methods typically use statistical measures to remove the least reliable branches, generally resulting in faster classification and an improvement in the ability of the tree to correctly classify independent test data. The pruning phase eliminates some of the lower branches and nodes to improve their performance. Processing the pruned tree to improve understandability.

30. What is a Sting?

Statistical Information Grid is called STING; it is a grid-based multi-resolution clustering strategy. In the STING strategy, every one of the items is contained into rectangular cells, these cells are kept into different degrees of resolutions and these levels are organized in a hierarchical structure.  

31 . Define Chameleon Method?

Chameleon is another hierarchical clustering technique that utilization dynamic modeling. Chameleon is acquainted with recover the disadvantages of the CURE clustering technique. In this technique, two groups are combined, if the interconnectivity between two clusters is greater than the inter-connectivity between the object inside a cluster/ group.

  32. Explain the Issues regarding Classification And Prediction?

Preparing the data for classification and prediction:

  • Data cleaning
  • Relevance analysis
  • Data transformation
  • Comparing classification methods
  • Predictive accuracy
  • Scalability
  • Interpretability

33.Explain the use of data mining queries or why data mining queries are more helpful?

The data mining queries are primarily applied to the model of new data to make single or multiple different outcomes. It also permits us to give input values. The query can retrieve information effectively if a particular pattern is defined correctly. It gets the training data statistical memory and gets the specific design and rule of the common case addressing a pattern in the model. It helps in extracting the regression formulas and other computations. It additionally recovers the insights concerning the individual cases utilized in the model. It incorporates the information which isn’t utilized in the analysis, it holds the model with the assistance of adding new data and perform the task and cross-verified. 

34. What is a machine learning-based approach to data mining?

This question is the high-level Data Mining Interview Questions asked in an Interview. Machine learning is basically utilized in data mining since it covers automatic programmed processing systems, and it depended on logical or binary tasks. . Machine learning for the most part follows the rule that would permit us to manage more general information types, incorporating cases and in these sorts and number of attributes may differ. Machine learning is one of the famous procedures utilized for data mining and in Artificial intelligence too.

35.What is the K-means algorithm?

K-means clustering algorithm – It is the simplest unsupervised learning algorithm that solves clustering problems. K-means algorithm partition n observations into k clusters where each observation belongs to the cluster with the nearest mean serving as a prototype of the cluster.

data mining assignment pdf

Figure: K-Means Clustering division of attribute

36. What are precision and recall?[IMP]

Precision is the most commonly used error metric in the n classification mechanism. Its range is from 0 to 1, where 1 represents 100%. 

Recall can be defined as the number of the Actual Positives in our model which has a class label as Positive (True Positive)”. Recall and the true positive rate is totally identical. Here’s the formula for it:

Recall = (True positive)/(True positive + False negative)

data mining assignment pdf

37. What are the ideal situations in which t-test or z-test can be used?

It is a standard practice that a t-test is utilized when there is an example size under 30 attributes and the z-test is viewed as when the example size exceeds 30 by and large.

38. What is the simple difference between standardized and unstandardized coefficients?

In the case of normalized coefficients, they are interpreted dependent on their standard deviation values. While the unstandardized coefficient is estimated depending on the real value present in the dataset.

39. How are outliers detected?

Numerous approaches can be utilized for distinguishing outliers anomalies, but the two most generally utilized techniques are as per the following:  

  • Standard deviation strategy: Here, the value is considered as an outlier if the value is lower or higher than three standard deviations from the mean value.
  • Box plot technique: Here, a value is viewed as an outlier if it is lesser or higher than 1.5 times the interquartile range (IQR)

40. Why is KNN preferred when determining missing numbers in data?

K-Nearest Neighbour (KNN) is preferred here because of the fact that KNN can easily approximate the value to be determined based on the values closest to it.

The k-nearest neighbor (K-NN) classifier is taken into account as an example-based classifier, which means that the training documents are used for comparison instead of an exact class illustration, like the class profiles utilized by other classifiers. As such, there’s no real training section. once a new document has to be classified, the k most similar documents (neighbors) are found and if a large enough proportion of them are allotted to a precise class, the new document is also appointed to the present class, otherwise not. Additionally, finding the closest neighbors is quickened using traditional classification strategies.

41. Explain Prepruning and Post pruning approach in Classification?

Prepruning: In the prepruning approach, a tree is “pruned” by halting its construction early (e.g., by deciding not to further split or partition the subset of training samples at a given node). Upon halting, the node becomes a leaf. The leaf may hold the most frequent class among the subset samples, or the probability distribution of those samples. When constructing a tree, measures such as statistical significance, information gain, etc., can be used to assess the goodness of a split. If partitioning the samples at a node would result in a split that falls below a pre-specified threshold, then further partitioning of the given subset is halted. There are problems, however, in choosing a proper threshold. High thresholds could result in oversimplified trees, while low thresholds could result in very little simplification.

Postpruning: The postpruning approach removes branches from a “fully grown” tree. A tree node is pruned by removing its branches. The cost complexity pruning algorithm is an example of the post pruning approach. The pruned node becomes a leaf and is labeled by the most frequent class among its former branches. For every non-leaf node in the tree, the algorithm calculates the expected error rate that would occur if the subtree at that node were pruned. Next, the predictable error rate occurring if the node were not pruned is calculated using the error rates for each branch, collective by weighting according to the proportion of observations along each branch. If pruning the node leads to a greater probable error rate, then the subtree is reserved. Otherwise, it is pruned. After generating a set of progressively pruned trees, an independent test set is used to estimate the accuracy of each tree. The decision tree that minimizes the expected error rate is preferred.                     

42. How can one handle suspicious or missing data in a dataset while performing the analysis?

If there are any inconsistencies or uncertainty in the data set, a user can proceed to utilize any of the accompanying techniques: Creation of a validation report with insights regarding the data in conversation Escalating something very similar to an experienced Data Analyst to take a look at it and accept a call Replacing the invalid information with a comparing substantial and latest data information Using numerous methodologies together to discover missing values and utilizing approximation estimate if necessary.

43.What is the simple difference between Principal Component Analysis (PCA) and Factor Analysis (FA)?

Among numerous differences, the significant difference between PCA and FA is that factor analysis is utilized to determine and work with the variance between variables, but the point of PCA is to explain the covariance between the current segments or variables.

44 . What is the difference between Data Mining and Data Analysis?

45. What is the difference between Data Mining and Data Profiling?

  • Data Mining: Data Mining refers to the analysis of information regarding the discovery of relations that have not been found before. It mainly focuses on the recognition of strange records, conditions, and cluster examination.  
  • Data Profiling : Data Profiling can be described as a process of analyzing single attributes of data. It mostly focuses on giving significant data on information attributes, for example, information type, recurrence, and so on.

46. What are the important steps in the data validation process?

As the name proposes Data Validation is the process of approving information. This progression principally has two methods associated with it. These are Data Screening and Data Verification.  

  • Data Screening : Different kinds of calculations are utilized in this progression to screen the whole information to discover any inaccurate qualities.  
  • Data Verification: Each and every presumed value is assessed on different use-cases, and afterward a final conclusion is taken on whether the value must be remembered for the information or not.

47. What is the difference between univariate, bivariate , and multivariate analysis?

The main difference between univariate, bivariate, and multivariate investigation are as per the following:  

  • Univariate : A statistical procedure that can be separated depending on the check of factors required at a given instance of time.  
  • Bivariate : This analysis is utilized to discover the distinction between two variables at a time.  
  • Multivariate : The analysis of multiple variables is known as multivariate. This analysis is utilized to comprehend the impact of factors on the responses.

48. What is the difference between variance and covariance?

Variance and Covariance are two mathematical terms that are frequently in the Statistics field. Variance fundamentally processes how separated numbers are according to the mean. Covariance refers to how two random/irregular factors will change together. This is essentially used to compute the correlation between variables.

49. What are different types of Hypothesis Testing?

The various kinds of hypothesis testing are as per the following:  

  • T-test : A T-test is utilized when the standard deviation is unknown and the sample size is nearly small.  
  • Chi-Square Test for Independence: These tests are utilized to discover the significance of the association between all categorical variables in the population sample.  
  • Analysis of Variance (ANOVA): This type of hypothesis testing is utilized to examine contrasts between the methods in different clusters. This test is utilized comparatively to a T-test but, is utilized for multiple groups.

Welch’s T-test: This test is utilized to discover the test for equality of means between two testing sample tests.

50. Why should we use data warehousing and how can you extract data for analysis?

Data warehousing is a key technology on the way to establishing business intelligence. A data warehouse is a collection of data extracted from the operational or transactional systems in a business, transformed to clean up any inconsistencies in identification coding and definition, and then arranged to support rapid reporting and analysis.

Here are some of the benefits of a data warehouse:

  • It is separate from the operational database.
  • Integrates data from heterogeneous systems.
  • Storage a huge amount of data, more historical than current data.
  • Does not require data to be highly accurate.

Bonus Interview Questions & Answers

1. What is Visualization?

Visualization is for the depiction of data and to gain intuition about the data being observed. It assists the analysts in selecting display formats, viewer perspectives, and data representation schema.

2. Give some data mining tools?

  • Multimedia miner
  • WeblogMiner

3. What are the most significant advantages of Data Mining?

There are many advantages of Data Mining. Some of them are listed below:

  • Data Mining is used to polish the raw data and make us able to explore, identify, and understand the patterns hidden within the data.
  • It automates finding predictive information in large databases, thereby helping to identify the previously hidden patterns promptly.
  • It assists faster and better decision-making, which later helps businesses take necessary actions to increase revenue and lower operational costs.
  • It is also used to help data screening and validating to understand where it is coming from.
  • Using the Data Mining techniques, the experts can manage applications in various areas such as Market Analysis, Production Control, Sports, Fraud Detection, Astrology, etc.
  • The shopping websites use Data Mining to define a shopping pattern and design or select the products for better revenue generation.
  • Data Mining also helps in data optimization.
  • Data Mining can also be used to determine hidden profitability.

4. What are ‘Training set’ and ‘Test set’?

In various areas of information science like machine learning, a set of data is used to discover the potentially predictive relationship known as ‘Training Set’. The training set is an example given to the learner, while the Test set is used to test the accuracy of the hypotheses generated by the learner, and it is the set of examples held back from the learner. The training set is distinct from the Test set.

5. Explain what is the function of ‘Unsupervised Learning?

  • Find clusters of the data
  • Find low-dimensional representations of the data
  • Find interesting directions in data
  • Interesting coordinates and correlations
  • Find novel observations/ database cleaning

6. In what areas Pattern Recognition is used?

Pattern Recognition can be used in

  • Computer Vision
  • Speech Recognition
  • Data Mining
  • Informal Retrieval
  • Bio-Informatics

7. What is ensemble learning?

To solve a particular computational program, multiple models such as classifiers or experts are strategically generated and combined to solve a particular computational program Multiple. This process is known as ensemble learning. Ensemble learning is used when we build component classifiers that are more accurate and independent of each other. This learning is used to improve classification, prediction of data, and function approximation.

8. What is the general principle of an ensemble method and what is bagging and boosting in the ensemble method?

The general principle of an ensemble method is to combine the predictions of several models built with a given learning algorithm to improve robustness over a single model. Bagging is a method in an ensemble for improving unstable estimation or classification schemes. While boosting methods are used sequentially to reduce the bias of the combined model. Boosting and Bagging both can reduce errors by reducing the variance term.

9. What are the components of relational evaluation techniques?

The important components of relational evaluation techniques are

  • Data Acquisition
  • Ground Truth Acquisition
  • Cross-Validation Technique
  • Scoring Metric
  • Significance Test

10. What are the different methods for Sequential Supervised Learning?

 The different methods to solve Sequential Supervised Learning problems are

  • Sliding-window methods
  • Recurrent sliding windows
  • Hidden Markov models
  • Maximum entropy Markov models
  • Conditional random fields
  • Graph transformer networks

11. What is a Random Forest?

Random forest is a machine learning method that helps you to perform all types of regression and classification tasks. It is also used for treating missing values and outlier values.

12. What is reinforcement learning?

Reinforcement Learning is a learning mechanism about how to map situations to actions. The end result should help you to increase the binary reward signal. In this method, a learner is not told which action to take but instead must discover which action offers a maximum reward. This method is based on the reward/penalty mechanism.

13. Is it possible to capture the correlation between continuous and categorical variables?

Yes, we can use the analysis of the covariance technique to capture the association between continuous and categorical variables.

14. What is Visualization?

Visualization is for the depiction of information and to acquire knowledge about the information being observed. It helps the experts in choosing format designs, viewer perspectives, and information representation patterns.

15. Name some best tools which can be used for data analysis.

The most common useful tools for data analysis are:

  • Google Search Operators

16. Describe the structure of Artificial Neural Networks?

An artificial neural network (ANN) also referred to as simply a “Neural Network” (NN), could be a process model supported by biological neural networks. Its structure consists of an interconnected collection of artificial neurons. An artificial neural network is an adjective system that changes its structure-supported information that flows through the artificial network during a learning section. The ANN relies on the principle of learning by example. There are, however, 2 classical types of neural networks, perceptron and also multilayer perceptron. Here we are going to target the perceptron algorithmic rule.

17. Do you think 50 small decision trees are better than a large one? Why?

Yes,50 small decision trees are better than a large one because 50 trees make a more robust model (less subject to over-fitting) and simpler to interpret.

Please Login to comment...

Similar reads.

  • interview-questions

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

This repository contains all the assignments offered by Nptel - Swayam related to the topic DATA MINING

pinaxtech/Data-Mining

Folders and files, repository files navigation, data-mining.

COMMENTS

  1. PDF CS145: INTRODUCTION TO DATA MINING

    Descriptive vs. predictive data mining • Multiple/integrated functions and mining at multiple levels • Techniques utilized • Data-intensive, data warehouse (OLAP), machine learning, statistics, pattern recognition, visualization, high- performance, etc. • Applications adapted • Retail, telecommunication, banking, fraud analysis, bio ...

  2. PDF Data Mining

    Originally, "data mining" or "data dredging" was a derogatory term referring to attempts to extract information that was not supported by the data. Section 1.2 illustrates the sort of errors one can make by trying to extract what really isn't in the data. Today, "data mining" has taken on a positive meaning.

  3. PDF Data Mining Practice Final Exam Solutions

    Data Mining Practice Final Exam Solutions Note: This practice exam only includes questions for material after midterm—midterm exam provides sample questions for earlier material. The final is comprehensive and covers material for the entire year. True/False Questions: 1. T F Our use of association analysis will yield the same frequent ...

  4. PDF Data Mining Classification: Basic Concepts and Techniques

    Classification: Definition. Given a collection of records (training set ) - Each record is by characterized by a tuple (x,y), where x is the attribute set and y is the class label. x: attribute, predictor, independent variable, input. y: class, response, dependent variable, output.

  5. PDF CS 6220 Data Mining

    the data. Data integrity tends to be a problem in large scale processing, especially if there is little to no support. Therefore, it's important to verify the quality of the file download. If all worked out well, you should have the following files: • combined data 1.txt • combined data 2.txt • combined data 3.txt • combined data 4.txt

  6. PDF DATA MINING AND MACHINE LEARNING

    department. He has published more than 230 papers on data mining and parallel and distributed systems. He was leader of the Knowledge Discovery research track of InWeb and is currently Vice-chair of INCT-Cyber. He is on the editorial board of the journal Data Mining and Knowledge Discovery and was the program chair of SDM'16 and ACM WebSci'19.

  7. PDF Introduction to Data Mining

    considered by data mining. However, in this specific case, solu-tions to thisproblemwere developed bymathematicians a long timeago,andthus,wewouldn'tconsiderittobedatamining. (f) Predicting the future stock price of a company using historical records. Yes. We would attempt to create a model that can predict the continuous value of the stock ...

  8. Introduction to Data Mining

    Avoiding False Discoveries: A completely new addition in the second edition is a chapter on how to avoid false discoveries and produce valid results, which is novel among other contemporary textbooks on data mining. It supplements the discussions in the other chapters with a discussion of the statistical concepts (statistical significance, p-values, false discovery rate, permutation testing ...

  9. PDF Information Technology/ Database

    Practical Data Mining is a must-have book for anyone in the field of data mining and analytics. —Chad Sessions, Program Manager, Advanced Analytics Group (AAG) ... PDF) This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author ...

  10. Assignments

    2 MB. CBC_4000.xls. MIT OpenCourseWare is a web based publication of virtually all MIT course content. OCW is open and available to the world and is a permanent MIT activity.

  11. Lecture Notes

    ISBN: 1-55860-489-8. 17. Recommendation Systems: Collaborative Filtering. 18. Guest Lecture by Dr. John Elder IV, Elder Research: The Practice of Data Mining. MIT OpenCourseWare is a web based publication of virtually all MIT course content. OCW is open and available to the world and is a permanent MIT activity.

  12. PDF Data Mining with Python (Working draft)

    1.2 Why Python for data mining? Researchers have noted a number of reasons for using Python in the data science area (data mining, scienti c computing) [4,5,6]: 1.Programmers regard Python as a clear and simple language with a high readability. Even non-programmers may not nd it too di cult. The simplicity exists both in the language itself as ...

  13. PDF Example Questions Data Mining, with Answers

    Name a data mining tool that works with a canvas to design you data mining workflow. (A)Cortana (B)KNIME (C)Python (D)Weka 1. Question 2 ... In k-means the initial assignment of an instance (before the algorithm converges) is dependent on its nearest neighbour. (B)In k-means clustering, k is learned and reflects the number of clusters. ...

  14. (PDF) Data Mining Issues and Challenges: A Review

    This article provides an overview on d ata mining, the analysis of data includes data quality, data cleansing, data. integration, data selection, data transformation, pattern eva luation, knowled ...

  15. Assignments

    Call the coefficient vector for this model ß 1. Use the subset selection options in XLMiner to choose a model using only the training data. Call the coefficient vector for this model ß 2. Use the Validation Data to compute the mean and the standard deviation of errors for Model1 by copying ß 1 into cells B5 through K5.

  16. PDF Machine Learning and Data Mining

    Assignment 0: Data mining in the news (1 week) Week 2: M2: Machine Learning and Classification Assignment 1: Learning to use WEKA (1 week) M3. Input: Concepts, instances, attributes Week 3: M4. Output: Knowledge Representation Assignment 2: Preparing the data and mining it - basic (2 weeks) M5. Classification - Basic methods

  17. (PDF) Data mining techniques and applications

    Data Mining Algorithms and Techniques. Various algorithms and techniques like Classification, Clustering, Regression, Artificial. Intelligence, Neural Networks, Association Rules, Decision Trees ...

  18. PDF Data Mining Classification: Basic Concepts and Techniques

    Classification: predicts categorical class labels (discrete or nominal) classifies data (constructs a model) based on the training set and the values (class labels) in a classifying attribute and uses it in classifying new data. Prediction: models continuous-valued functions, i.e., predicts unknown or missing values.

  19. PDF THE UNIVERSITY OF TEXAS AT TYLER Soules College of Business Department

    apply Python for solving data mining problems. All course material and videos will be posted on Canvas. Grading: Grading will be based on homework assignments. Assignments are open book. Assignment submissions should be made electronically to Canvas. Late submissions will not be graded but there is no penalty for early submissions.

  20. PDF noc20 cs12 assigment 6

    As per our records you have not submitted this assignment. 1) Data mining is the process of finding valid, novel, useful, and terms best fills the gap above? A. voluminous B. heterogeneous C. actionable D. noisy No, the answer is incorrect. Score: 0 Accepted Answers: C. actionable 2) Which of the following is usually the last step in the data ...

  21. Top 50 Data Mining Interview Questions & Answers

    SQL Server data mining offers Data Mining Add-ins for Office 2007 that permits finding the patterns and relationships of the information. This helps in an improved analysis. The Add-in called a Data Mining Client for Excel is utilized to initially prepare information, create models, manage, analyze, results. 28.

  22. COMP5318 Machine Learning and Data Mining Assignment 1

    Download Free PDF. View PDF. COMP5318 Machine Learning and Data Mining Assignment 1 Group:34 Tutors: Yang Lin, Iwan Budiman Shubin Du (480190510) Jingjing Wu (480509446) Liangchun Yu (480317999) 1 Abstract This project is to classify a dataset of grey-scale images to different labels with supervised classifiers.

  23. Data Mining Assignment 1 .pdf

    1. Read the data, do the necessary initial steps, and exploratory data analysis (Univariate, Bi-variate, and multivariate analysis) The dataset consists of 7 variables. The dataset consists of information regarding a bank's customer credit card usage. The variables are as below: 1. spending: Amount spent by the customer per month (in 1000s) 2. advance_payments: Amount paid by the customer in ...

  24. GitHub

    This repository contains all the assignments offered by Nptel - Swayam related to the topic DATA MINING - pinaxtech/Data-Mining