
Course Introduction!!!!
Learn to use Google Colab, a free service with CPU, GPU, and TPU runtimes, manage notebooks from creation to saving on Google Drive, and use libraries like pandas and numpy.
Please watch each lecture carefully!!!
Explore Python basics, including arithmetic operations, data types (int, float, complex, list, dictionary, bool, string), casting, and control structures like if-else, loops, and functions.
Master Python conditional statements and loops, including if else, for, and while. Define and use functions, with print and return to display or pass values.
Explore numpy basics: create 1d and 2d arrays, inspect data types and shapes, and perform indexing, slicing, and statistical operations like mean, variance, std, and median.
Introduce Seaborn for data plotting, load datasets with Seaborn, and visualize iris sepal length via histograms. Customize with bins and hue, while Seaborn uses matplotlib behind the scenes.
Explore machine learning foundations, including supervised, unsupervised, reinforcement, and semi-supervised methods; learn classification, regression, and clustering with key algorithms, data preparation, model training, validation, and deployment.
learn how logistic regression models binary outcomes with a logistic function to produce probabilities, classify with thresholding, and prevent overfitting via log loss, regularization, and early stopping.
Explore how regularization reduces overfitting, improves generalization, and balances loss with a complexity term in L2 regularization, controlled by lambda.
L1 regularization drives some weights to zero, enabling feature selection and reducing memory use and noise, by penalizing the absolute value of weights rather than squared values.
Evaluate models with the Roc curve, especially for unbalanced data, across thresholds. Use AUC, the area under the curve, as a scale-invariant ranking measure.
Code along in Python demonstrates loading the iris dataset from scikit-learn, standardizing features with StandardScaler, and implementing logistic regression, SVM, decision tree, and random forest to compare their accuracy.
Discover unsupervised learning with unlabeled data to uncover patterns and cluster data, using methods like k-means, hierarchical and density-based clustering, PCA and LDA, association rules, and dimensionality reduction.
Reinforcement learning learns from mistakes through trial and error, using rewards for correct actions, penalties for wrong ones, and aims to maximize rewards in autonomous vehicles, real-time games, and robotics.
Explain how deep learning differs from traditional machine learning, highlighting neural networks with multiple hidden layers, automatic feature extraction, and non-interpretable models.
Introduce neural networks, inspired by the nervous system, and describe their structure with input, hidden, and output layers, plus activation functions that create nonlinear models.
Explore the diverse applications of deep learning, including image classification, object detection, speech recognition, natural language processing, sentiment analysis, and autonomous driving.
Introduce deep learning with Keras and TensorFlow by explaining artificial neural networks, neurons, and perceptrons. Describe how weights, bias, and activation functions shape outputs in multi-layer networks, including XOR capabilities.
Compare shallow and deep neural networks: shallow with one hidden layer is easy to build but limited for complex patterns; deep learns complex features with higher accuracy, though longer training.
Learn to use optimizers to speed up convergence and reach lower loss, including SGD, Adam, RMSProp, Adagrad, and mini-batch gradient descent and stochastic gradient descent methods, while avoiding local minima.
Learn to load a customer churn dataset and prepare features for a deep learning model, skipping unnecessary columns, splitting inputs (X) and target (Y), and visualizing class distribution.
Explore data visualization with a pair plot using seaborn to compare numerical features like credit score, tenure, balance, and salary, colored by gender, and identify patterns for customer exit.
Import TensorFlow as tf and Keras, using the sequential API as a container for flatten, input, and dense layers. Import Adam from TensorFlow.keras.optimizers and skip dropout to begin building model.
Explore building a neural network using sequential API and functional API, adding dense layers with relu activations and sigmoid output for binary churn prediction, and review model summary and parameters.
Compile and train a neural network with Adam, a 0.001 learning rate, and binary cross entropy loss; train for 10 epochs with batch size 32 and monitor accuracy.
Save and load a deep learning model by creating a model directory, saving the model as an .h5 file, and storing the preprocessing scalar with pickle.
Build a deep neural network with TensorFlow to classify fashion Mnist images (28×28) into ten classes, using 784 input neurons, hidden layers, and an output layer.
Download and explore the Fashion MNIST dataset from OpenML, noting its 10 classes, 60,000 training and 10,000 testing examples, and 28 by 28 images (784 features) for model training.
Analyze fashion mnist images by inspecting 28x28 pixels, separating input features and targets, visualizing samples across 0–9 classes, and training a deep neural network classifier on 60k/10k data.
Learn convolutional neural networks for beginners, inspired by the visual cortex, using local receptive fields, activation, pooling, and weight sharing to recognize images and learn patterns.
MobileNet explains a lightweight architecture for mobile and embedded devices by using depthwise separable convolution and a pointwise convolution, reducing parameters dramatically with comparable accuracy.
Explore EfficientNet and its compound scaling that optimizes depth, width, and resolution for mobile and desktop performance, and its squeeze-and-excitation based convolutional block with inverted residual ideas.
Install and load the horses or humans dataset with TensorFlow dataset, using tfds.load, configure splits, info, and class labels for horse and human.
Examine the model layer by layer, noting convolution weights and biases while max-pool and flatten have no parameters. Train with Adam and cross entropy, observe overfitting, preview augmentation and regularization.
Plot training and validation loss and accuracy on a two-row subplot to assess overfitting and underfitting. Save and load the model using .h5 with keras load_model, demonstrating end-to-end model persistence.
Load a saved Keras model and prepare a four-dimensional, 300×300 image, then predict with a 0.5 threshold to distinguish horses from humans.
Explore regularization techniques to prevent overfitting in neural networks, including L1, L2, and early stopping, plus dropout, batch normalization, and data augmentation.
Dropout randomly drops neurons during training to prevent overfitting and encourage robust feature learning, while batch normalization normalizes inputs within batches to speed convergence.
Apply image data augmentation for cat and dog images with a Keras image data generator. Rotate images within a 60-degree range using flow from directory to build a two-class generator.
Learn how to calculate the number of parameters in cnn and fcn layers using standard formulas, including bias terms, with notes on maxpooling and flatten layers having zero parameters.
Use image data generator with rescaling, normalization, and augmentation (rotation, shifts, zoom, horizontal flip) plus dropout to reduce overfitting and compare regularized CNN with baseline on cats versus dogs.
Build a regularized cnn by adding dropout after maxpool and flatten, with batch normalization after maxpool. Train using Adam 0.001 for 10 epochs on a free gpu, alongside data augmentation.
Monitor training results to adjust learning rate from 0.0001 to 0.001 to smooth the validation curve and reduce overfitting, then save the trained model for future predictions.
Design a convnet and compare it with transfer learning to measure time and accuracy, including a 0.2 validation split for five flower classes, using image data generator with 0-1 normalization.
Train a model directly from tfds data without saving locally by loading tfds, splitting 80% training and 20% validation, resizing and normalizing images for training with a 24 batch size.
Apply data augmentation and transfer learning with VGG16 to improve a CNN model for flowers classification, and fine-tune on augmented data to achieve higher validation accuracy.
Enable online prediction of flower classes by loading a trained model, fetching image URLs, preprocessing to 224 by 224, and predicting class probabilities.
This comprehensive course covers the latest advancements in deep learning and artificial intelligence using Python. Designed for both beginner and advanced students, this course teaches you the foundational concepts and practical skills necessary to build and deploy deep learning models.
Module 1: Introduction to Python and Deep Learning
Overview of Python programming language
Introduction to deep learning and neural networks
Module 2: Neural Network Fundamentals
Understanding activation functions, loss functions, and optimization techniques
Overview of supervised and unsupervised learning
Module 3: Building a Neural Network from Scratch
Hands-on coding exercise to build a simple neural network from scratch using Python
Module 4: TensorFlow 2.0 for Deep Learning
Overview of TensorFlow 2.0 and its features for deep learning
Hands-on coding exercises to implement deep learning models using TensorFlow
Module 5: Advanced Neural Network Architectures
Study of different neural network architectures such as feedforward, recurrent, and convolutional networks
Hands-on coding exercises to implement advanced neural network models
Module 6: Convolutional Neural Networks (CNNs)
Overview of convolutional neural networks and their applications
Hands-on coding exercises to implement CNNs for image classification and object detection tasks
Module 7: Recurrent Neural Networks (RNNs)
Overview of recurrent neural networks and their applications
Hands-on coding exercises to implement RNNs for sequential data such as time series and natural language processing
By the end of this course, you will have a strong understanding of deep learning and its applications in AI, and the ability to build and deploy deep learning models using Python and TensorFlow 2.0. This course will be a valuable asset for anyone looking to pursue a career in AI or simply expand their knowledge in this exciting field.