
Explore data mining and machine learning in Python, read data files, create datasets, clean data, and use Python libraries to build models and analyze results.
Explore data mining and machine learning fundamentals, including supervised and unsupervised methods, and learn to install Python environments with Anaconda, use Jupyter for coding, and build deep learning models.
Learn to control lecture pace using a playback speed tool, choosing options from 1x to speed up or slow down to accommodate diverse learners.
Data mining is the process of digging through data to discover hidden connections and patterns that predict future trends, using data sources, statistics, and machine learning.
Explore data mining applications across target marketing, customer profiling, fraud detection, healthcare decision support, finance and asset evaluation, resource planning, and eSports performance prediction.
Explore the data mining process pyramid, from bottom data cleaning and preparation (often 60% of project time) through middle data analysis to top business decisions by end users.
Explore how machine learning, a subset of artificial intelligence, uses data and algorithms to imitate human learning and improve over time through deep learning and natural language processing.
Learn how machine learning uses past data with inputs and targets to train a predictive model, then evaluates with training and testing sets to improve accuracy.
Learn machine learning algorithms by exploring supervised and unsupervised methods, including classification, regression, and clustering, with examples like customer default prediction and market basket analysis.
Learn reinforcement learning, where software agents act in an environment to maximize cumulative rewards through a reward-based learning loop. Examples include self-driving cars learning to recognize roads and traffic elements.
Explore Google Colab for machine learning in Python, coding in your browser with zero configuration, free GPU access, and easy notebook sharing—watch for disconnection and save progress.
Log in to Google Colab with a Gmail account, create a new IPython notebook, and navigate the simple interface to write Python code online.
Learn to create lists in Python with numbers, text, or mixed values, then use len, sort, and append, and access or extract values via indexing.
Learn how to create tuples and dictionaries in Python, explore tuples' immutability, access values by index or key, and build dictionaries with curly braces and key-value pairs.
Learn how to implement loops and functions in Python, including for and while loops, range, conditionals, and simple functions to manipulate lists and data.
Explore the pandas library for data manipulation and analysis in Python, including its data structures for numerical tables and time series, and how to import it in a Python environment.
Import pandas in Python and load a dataset with read_csv. Inspect the dataframe with head, tail, shape, and columns, and plot a bar chart from selected data.
Learn to use NumPy library for working with arrays and multidimensional arrays like matrices in Python.
Import numpy in a notebook (Colab) as np, create a normal-distribution dataset, and compute its mean. Then import matplotlib.pyplot as plt to plot a histogram inline.
Explore the scikit-learn library, its tools for classification, regression, clustering, and dimensionality reduction. Import the library to start building machine learning models in this course.
Explore supervised learning, where models use known labels to classify or predict, distinguishing classification for categorical outcomes from regression for continuous values with features like height, weight, size, and location.
Examine types of variables in data: categorical (nominal and ordinal) and numerical (discrete and continuous), with examples such as male or female, blue, green, orange, age, weight, and height.
Explore how regression analysis estimates the influence of independent variables on a dependent variable, using coefficients and an intercept to predict sales volume from past data.
explain how linear regression uses a slope line to predict salary from years of experience, compare actual values with predictions, and minimize the residuals using ordinary least squares.
Explain why the regression line starts at 2000 for zero experience, highlighting the intercept as the baseline in the model.
Learn how r-squared quantifies the portion of the dependent variable's variance explained by predictors, interpret 0–100% values, and note the role of adjusted r-squared in model evaluation.
Learn how to assess predictor significance in regression using p values and a 0.05 threshold, deciding when to keep or remove variables like price, model, year, mileage, age, and gender.
Learn simple linear regression with one independent variable, Y hat equals b0 plus b1 X, and how X predicts Y, for example year of experience to predict salary.
Open a Google Colab notebook, upload a dataset file using the files module, then read it with pandas and print dataset to see our dataset.
Analyze a dataset of 30 students with hours studied and exam scores, and build a simple linear regression model to predict scores from study time.
Open a Jupyter notebook or Google Colab, and upload your study hours data file. Import pandas and load the data into a variable named dataset, then print it.
Learn to prepare data for a simple linear regression in Python by extracting X and Y with iloc, viewing their values, and splitting data into train and test sets.
Split data into training and testing sets with train_test_split, training on X_train and Y_train and testing on X_test and Y_test, using a 2/3–1/3 split and a fixed random_state.
Build a linear regression model in Python by importing the linear regression class, fitting with inputs and outputs, and predicting with x_test. Compare actual and predicted data to evaluate performance.
Build and evaluate a simple linear regression model in Python by predicting exam scores from study hours and comparing to actual values. Visualize with a regression line and scatter plot.
Explain multiple linear regression by predicting a dependent variable from several independent variables, such as house price using location, size, and rooms. Highlight 3D plane concept and the model's assumptions.
Convert the city category into dummy variables for multiple linear regression by adding binary columns for each city, then remove the original city column and drop one dummy variable.
Discover stepwise regression in multiple linear regression, using forward selection and backward elimination to keep significant variables, guided by p-values and R-squared and adjusted R-squared for model quality.
Explain how multiple linear regression relies on linearity, multivariate normality, and minimal multicollinearity. Assess residuals for autocorrelation and homoscedasticity, and apply nonlinear transformations or collect more data to address deviations.
Learn to predict profit using a multiple linear regression with 71 company data, incorporating staff training expenses, advertising expenses, and city, encoded as dummy variables in Python.
Load the dataset in Google Colab, import pandas, and read csv to inspect features like city, it, staff training, and advertising for predicting profit with a multiple linear regression model.
Extract the feature matrix X and target Y from the dataset by selecting all rows and excluding the last column, and convert the first column's categorical data to numeric values.
Convert city categorical data to numeric using a column transformer with one-hot encoding, perform fit and transform, and apply train/test split to prepare for a Python multiple linear regression model.
Build a reusable multiple linear regression model in Python, fit with training data, predict on test data, and evaluate with r-squared to gauge performance.
Explore polynomial regression as an extension of linear regression, modeling curved relationships between inputs and output by using powers of input terms and their coefficients.
Explore the dataset from a reward system to build a polynomial regression model, analyzing hours worked and points earned across twenty observations to predict points in Python.
Import the dataset file in google colab by uploading reward_system.csv and reading it into a pandas dataframe, using the hours and points columns to prepare for a polynomial regression model.
Learn how to build a polynomial regression model in Python by treating hours as input and points as target, compare linear regression and polynomial regression, and visualize results.
Apply polynomial regression in Python by generating polynomial features, fitting degree-2 and degree-3 models, and comparing predictions to data. Assess overfitting versus underfitting and note the training-test split.
In Python, compare linear regression and polynomial regression to predict points from hours. The results show polynomial regression provides predictions closer to the original value, indicating better accuracy.
Learn how classification in supervised learning builds a classifier from training data to predict categorical labels like risky or safe, using loan and marketing data mining examples.
Learn logistic regression's binary prediction with a sigmoid function and use age, years as a customer, and gender to estimate buying probability above 50 percent.
Explore how the confusion matrix evaluates logistic regression by detailing true positives, false negatives, false positives, and true negatives, with an 88 percent accuracy example.
Learn how the standard scaler standardizes features by subtracting the mean and dividing by the standard deviation. Unify inputs with different units to improve model performance.
Analyze a bank's client data with features like age, accommodation, income, gender, household size, credit lines, and loans. Build a logistic model to predict loan defaults and identify future applicants.
Create a logistic regression model using age, income, household, and credit lines to predict bank client default, then standardize features and split data into 80% train and 20% test.
Import and instantiate a logistic regression model, fit it, predict on x test, and evaluate with confusion metrics to report 75 percent accuracy.
Learn how the k nearest neighbors algorithm classifies a new point by using a selected k and distance measurements, including euclidean distance and collodion methods, with bank client examples.
Learn to build a k-nearest neighbors model in Python with scikit-learn, including data split, scaling, fitting, predicting, and evaluating with confusion matrix and accuracy, exploring neighbor counts and Minkowski distance.
Learn how to classify data with a support vector machine by finding the optimal hyperplane with maximum margins, and apply linear, radial basis function, and polynomial kernels in Python.
Learn to build a support vector machine in python, trying linear, radial basis function, and polynomial kernels to classify data and evaluate accuracy with a confusion matrix.
Explore the naive bayes algorithm, a supervised classifier based on probability theory, and learn to compute P(customer|male) and P(customer|female) to categorize customers.
Demonstrate how naive bayes classifies a new bank client as default or not by combining prior defaults with local income and age evidence.
Build a naive Bayes model in python by importing Gaussian and B class, fitting on data, evaluating with a confusion matrix, and reporting 74 percent accuracy.
Explore how the decision tree algorithm uses entropy to split data, build branches, and classify clients as default or not default through conditional rules.
Create a decision tree classifier in Python, split data, standardize inputs, and evaluate with a confusion matrix to reach 74% accuracy, below earlier 82% and 81% models.
Explore the random forest classifier, a collection of decision trees. Create nine trees, average their predictions, and experiment with different tree counts in Python to maximize prediction power.
Learn to build a random forest classifier in Python, a collection of trees that averages predictions for data classification. Evaluate with confusion matrix and compare to support vector machine models.
Dear Students,
I will be highly grateful if you leave a rating on my course. It will take only a second, but it means a lot for me and for other students. You can always change the rating anytime you want.
Simply, you just need to click Leave a rating on the bar at the top of your screen and leave your rating (see the image below)
Explore the concept of unsupervised learning, where data lacks predefined targets, and cluster data to discover groupings such as customer segments by location or purchasing behavior.
Explore hierarchical clustering, an unsupervised method that builds nested clusters by merging closest data points using a distance measure. Learn to determine the optimal number of clusters with a diagram.
Learn how a dendrogram guides the optimal number of clusters by mapping pairwise distances with vertical and horizontal lines and cutting at the longest non-crossing vertical line.
Explore a dataset of around 100 movies with budget, genre, and worldwide gross, clustering films to uncover hidden patterns and prepare for unsupervised learning techniques.
Build a supervised clustering model using production budget and worldwide gross income, apply the Hiriko method to choose the number of clusters, and interpret labels with a dendrogram.
Create a three-cluster agglomerated clustering model in python, fit it to data, and visualize production budget versus gross income to interpret high profit, loss, and mid-range clusters.
Explore how the k-means clustering algorithm partitions data into clusters by iteratively updating centers and reassigning points, and how the elbow method helps decide the number of clusters.
Use the elbow method with k-means to determine the optimal number of clusters by locating the elbow on the total within sum of squares curve.
learn to build a k-means clustering model in python by loading the dataset, extracting two inputs, and plotting the elbow method to determine the optimal number of clusters.
Apply k-means clustering in python by setting n_clusters=3, init='k-means++', and random_state=0; predict on X, and display a three-cluster scatter plot with labeled clusters.
Discover association rules and market basket analysis, illustrate left-hand side implies right-hand side, and explain support, confidence, and lift with retail examples like coffee and sugar and beer and diapers.
Investigate association rules on a 100-transaction convenience store dataset, treating each basket as a transaction and using a primary algorithm to uncover associated items.
Install and import the Pury library, load the 100-transaction dataset with five items per basket, and transform each row into a list of item strings for the apriori model.
Build an association rules model for market basket analysis in Python using apriori, configuring minimum support, confidence, lift, and length constraints to generate and view rules.
Create association rules for market basket analysis in Python, identifying base items and add-ons, and evaluate support, confidence, and lift for jam with bread and coffee with donut.
Explore how deep learning builds on neural networks to perform regression and classification, with real-world examples like self-driving cars and image classification.
Apply deep learning to data mining by using neural networks for classification and regression, with inputs, hidden layers, and real examples like loan approval and house price prediction.
Learn about loss functions, including mean squared error for regression and binary cross entropy or categorical cross entropy for classification, and how they guide weight updates.
Activation functions decide which nodes forward data through hidden layers to the output, shaping decisions across epochs; Relu for hidden layers, sigmoid for output, softmax for multiple outputs.
Show how deep learning computes outputs by summing w_i x_i at each node in hidden layers, then uses forward and back propagation across epochs to minimize the cost function.
Explore gradient descent, an optimization algorithm that uses the cost function to guide parameter updates, balancing learning rate to optimize weights through iterations.
Compare gradient descent types—batch, stochastic, and mini-batch—and explain how learning rate, backpropagation, and the cost function guide weight updates to escape local minima toward global minima.
Explore TensorFlow, the open source deep learning library by Google, used in Python to build neural networks, with Keras on top for CPU and GPU speed.
Explore a dataset of over 700 female patients with medical test inputs and build a python algorithm to predict diabetes.
Build a deep learning classifier to predict diabetes from eight input features, reading data with pandas, extracting inputs with iloc, splitting into train and test sets, and scaling with StandardScaler.
Create an artificial neural network in Python with the Kiraz sequential model, stacking input, hidden, and output layers, using a sigmoid binary output and training with Adam and binary cross-entropy.
See how a Python-based neural network iteratively improves from 38% to 80% accuracy, while using a confusion matrix to validate diabetic vs not diabetic predictions.
Explore statistics as the science of collecting, analyzing, interpreting, and presenting empirical data and methods for driving decisions, with examples from medicine, exams, and pricing.
Explore when to use a sample versus a population, and how a random sample from the population ensures each member has an equal chance of being selected.
Explore descriptive statistics to describe and summarize data with mean, median, and variance, visualize frequency and time-series patterns, and learn inferential statistics to generalize from samples to populations.
Explore data types, including categorical and numerical data, with discrete and continuous numerical types. Examine ordinal and nominal categories using examples like age, height, weight, and credit score.
Visualize data in Excel using charts and descriptive statistics to reveal patterns and trends, identifying Texas as the state with the most Walmart stores and Nevada with the fewest.
Explore how to group continuous data into bins using histograms, set bin ranges, and interpret frequency for age data in Excel with the data analysis toolpak.
Explore measures of central tendency, focusing on mean, its calculation, and how outliers alter it, alongside median and mode, with salary examples and mu and x-bar notation.
Explore how standard deviation measures data dispersion around the mean, and how variance equals the square of the standard deviation, with sigma and s for population and sample.
Discover how to compute sum, mean, variance, and standard deviation for population and sample data using Excel, including stdev.p and stdev.s functions.
Learn how symmetry and skewness shape data distributions, compare mean, median, and mode across left-skew, right-skew, and symmetric cases, and recognize outliers at distribution tails.
Explore covariance and correlation, detailing how correlation measures the strength and direction of a linear relationship, with positive, negative, and zero examples, plus notes on population and sample formulas.
learn inferential statistics by using probability distributions to draw inferences about a population from a random sample, and differentiate discrete and continuous distributions.
Explore discrete probability distributions, including the uniform distribution with a fair coin and a fair die, and introduce the binomial distribution before the normal distribution.
Explore the normal distribution, also called gaussian or bell shaped distribution, its mean and standard deviation determine symmetry, with no skewness, and learn standardization to reach the standard normal distribution.
Standardize a variable by subtracting its mean and dividing by the standard deviation to obtain a z-score, enabling use of the standard normal distribution for probability and hypothesis testing.
See in this standardization demo how to transform a normal distribution by shifting the mean to zero, and setting the standard deviation to one, producing a standard normal distribution.
Learn how the central limit theorem makes the sampling distribution of the mean approach a normal distribution as sample size grows, with standard error and population mean clarified.
Define estimators as rules that infer population facts, with the sample mean x bar as the population mean estimate, illustrated by a 70-inch example from a population of 1000.
Compare point estimates and confidence intervals to understand accuracy. Higher confidence widens intervals—from 68–72 at 90% to 65–75 at 95% and 60–80 at 99%, reflecting the alpha error.
Calculate a confidence interval for a single sample with known population variance using z-values and a z-table, covering 90%, 95%, and 99% levels and rule of thumb for clinical studies.
Compute the confidence interval for clinic income in a city where the standard deviation is known, using the sample mean from 30 clinics and the z-margin of error, with alpha/2.
Compute confidence intervals in Excel for 30 clinic incomes with known population standard deviation, using the sample mean and z values, and consider when to use the t distribution.
Explore the t distribution, or student distribution, which handles small samples with unknown population standard deviation, using the t table and degrees of freedom to form confidence intervals.
Calculate a 95% confidence interval for a single sample with unknown population variance using the t distribution, based on a small sample of ten and the sample mean.
Increase the sample size to reduce the margin of error and bring the sample mean, x-bar, closer to the population mean, as shown by a pizza pricing example.
Explore confidence intervals for two dependent samples using a before-and-after medical study, such as testing a blood pressure medicine, with a 99 confidence level and Excel methods.
Compute a 99% confidence interval for the mean difference of two dependent measurements in a paired study in Excel for a blood pressure study.
Learn to compute confidence intervals for two independent samples with known variances, using sample means of 85% and 91% from two schools and their population standard deviations, at 95% confidence.
Compute a 95% confidence interval for the difference between two independent means with known variances using a z-test, from two school samples (n=60 and n=40).
derive a confidence interval for the difference between two independent means with unknown but equal variances, using pooled standard deviation, for salaries of engineers in Dallas and New York City.
Define null and alternative hypotheses, testable with data observations, to verify claims about population means; decide to accept or reject the null based on sample mean comparisons.
Explore one- and two-tailed hypothesis tests using Z and T distributions, and understand alpha as the significance level, type I and type II errors, with examples from medicine and finance.
Learn how p-values decide whether to reject the null hypothesis at 10%, 5%, and 1% significance with 90%, 95%, and 99% confidence, using regression of price on sales volume.
Learn to test a one-sample hypothesis with known variance, evaluating whether the city’s average clinic income equals 160,000, and define the null and alternative hypotheses.
A z-test with 30 observations rejects the null that mu differs from 160,000, concluding the mean clinic income is 160,000.
Use the one-sample t-test with unknown variance for a small n=10 to test if city clinic income exceeds $170,000; the 95% test does not reject the null.
Test the hypothesis that a medicine lowers blood pressure using two dependent samples before and after treatment, with a 1% significance level and 14 degrees of freedom, yielding no evidence.
Apply a z-test for the difference of means between two independent samples with known variances to assess whether school B outperforms school A by 8%, at the 95% confidence level.
Compare engineer salaries in New York and Dallas using a two-sample t-test with equal but unknown variance. Conclude no significant difference at 95% confidence.
If you seek to learn how to create machine learning models and use them in the data mining process, this course is for you. In this course, you will understand what the data mining process is and how to implement machine learning algorithms in data mining. Moreover, you will learn in detail how deep learning does work and how to build a deep learning model to solve a business problem. At the beginning of the course, you will understand the basic concepts of data mining and learn about the business fields where data mining is implemented.
After that, you will learn how to create machine learning models in Python using several data science libraries developed especially for this purpose. NumPy, Pandas, and Matplotlib are examples of these tools that you will learn to import and use to build machine learning algorithms in Python. You will learn to type code in Python from scratch without the need to have previous knowledge of coding. You will be familiar with the essential code needed to build machine learning models. This course is designed to provide you with the knowledge you need in a simple and straightforward way to smooth the learning process. You will build your knowledge step by step until you become familiar with the most commonly used Machine Learning algorithms.