Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Keras: Practical AI Projects & Deep Learning using Keras
Rating: 4.3 out of 5(3 ratings)
2,386 students

Keras: Practical AI Projects & Deep Learning using Keras

Explore practical AI projects, including chatbots, sentiment analysis, image classification, advanced face recognition
Last updated 3/2024
English
English [Auto],

What you'll learn

  • Building chatbots using Keras. Sentiment analysis implementation with recurrent neural networks (RNN).
  • Image classification techniques using Keras. Advanced face recognition applications using computer vision and deep learning.
  • Practical project implementation on Google Colab. Text preprocessing techniques like Bow Model, Count Vectorizer, Stemming, and Lemmatization.
  • Model training, evaluation, and prediction. Pretrained model utilization and fine-tuning. Image preprocessing, augmentation, and visualization.
  • Face detection and recognition algorithms. Embedding generation and classification. Real-world implementation and testing of AI models.

Course content

4 sections73 lectures9h 26m total length
  • Introduction to Project5:48
  • Bow Model8:08

    Master text data handling for chatbots by preprocessing sentiment data and applying bag-of-words models, including count vector, term frequency, tf-idf, and glow model.

  • Count Vectorizer10:46

    Learn how the count vectorizer converts text into numerical features by building a bag of words and marking word presence with 0s and 1s, using a Python sklearn example.

  • Text Data7:34

    Apply the count vectorizer to text data to create a 2132-feature count vector and a sparse matrix; convert to a numpy array and a dataframe with feature names.

  • Text Data Continue9:47

    Convert text data into features with a count vector model, examine feature counts to understand word frequencies, and visualize distribution with a histogram to spot words that occur only once.

  • Limit Number of Features8:16

    Limit text features with a count vectorizer set to max features 1000, convert text to a sparse matrix, and remove stopwords to improve feature quality.

  • Stop Words7:49

    Learn how to remove stop words using sklearn's English stopwords, extend them with custom words, and apply them in CountVectorizer to shape the feature space.

  • Stemming10:32
  • Stemming Continue10:07

    Tokenize and stem full sentences with a stem_sentence function, join results, and apply to a dataframe; then use countvectorizer on clean text to generate feature counts and sentiment insights.

  • Lemmatization6:41

    Explore lemmatization with WordNet in NLTK, compare it to stemming, and learn context aware base word extraction for text preprocessing.

  • ML Model on Text Data8:24

    Apply a Bernoulli Naive Bayes model to preprocessed text data, using lemmatization and count vectorization, then evaluate with train-test split and a confusion matrix.

  • TF-TF-IDF Vectorizer5:30

    Explore text representation with term frequency and tf-idf vectorizers using sklearn, configuring use_idf, max_features, and stopwords, and introduce word2vec via spaCy to capture word relationships beyond basic vectorizers.

  • Spacy Word2Vec8:43

    Learn to measure word similarity with SpaCy using a pretrained word-to-vector model. Install SpaCy, download a language model, load it, and compute token similarities to build a basic chatbot.

  • Requirements6:54

    Build your first chatbot by taking user input, processing text with tf-idf vectorization, and retrieving the most relevant answer from the Amazon FAQ CSV dataset.

  • Hindson Implementation6:41

    Build a chatbot by loading data with Pandas, cleaning nulls, and creating a TF-IDF representation from concatenated questions and answers; use cosine similarity to retrieve responses.

  • Hindson Implementation Continue9:13

    Create a chat interface that loops, vectorizes user questions with tf-idf, uses cosine similarity to find the closest stored answer, and prints it as the chatbot response.

  • Neural Networks9:16

    Build a deep neural network with TensorFlow and Keras on mnist. Normalize data, define a sequential model with flatten, dense 128 ReLU, and dense 10, then apply softmax.

  • Generative Chatbots Part 19:33

    Develop a generative chatbot with LSTM in Keras by building a character-based text generator, loading text data (Wonderland.txt), encoding characters, and training with model checkpoints.

  • Generative Chatbots Part 26:58

    Encode text characters as integers with a Python dictionary, create fixed-length 100-character sequences, and build input-output pairs for training. Use an LSTM to predict the 101st character from 100-character history.

  • Generative Chatbots Part 312:22

    Transform input sequences into samples, timestamps, and features for an LSTM, one-hot encode outputs, and train a Keras model with an LSTM layer, dropout, and a 58-unit softmax output.

  • Generative Chatbots Part 48:02

    Train a Keras LSTM model on full data, track loss across epochs, and load the minimum-loss weights to generate 1000-character predictions from a seed.

  • Generative Chatbots Part 56:02

    Generate text with an LSTM-based generative chatbot by predicting the next character from a seed, using softmax probabilities and argmax to select the highest value.

  • Attentive Chatbots Part 111:08

    Enhance a chatbot's performance by building an attentive model with LSTM in TensorFlow, loading the Cornell movie dialogues corpus, and preprocessing data with regex.

  • Attentive Chatbots Part 25:56
  • Attentive Chatbots Part 35:20

    Build an attentive chatbot by creating a subword tokenizer from a questions-and-answers corpus using tfds, and define start and end tokens; test tokenization and pad sequences with tf.keras.

  • Advanced Chatbot10:55

    Implement scaled dot-product attention and multi-head attention in Keras, including masking and the query, key, and value dense layers. Train the chatbot model with 20 epochs using a dataset.

  • Advanced Chatbot - Evaluation2:57

    Evaluate a chatbot by generating predictions for test data, comparing outputs, and tracking accuracy (16%), then improve with more epochs and production environment tips.

  • Conclusion5:42

    Train chatbots with relevant business data, start with basic q&a, add intent classification and text generation, and monitor user experience to ensure reliable, customer-focused service.

Requirements

  • Python programming language.
  • Fundamentals of machine learning and deep learning concepts.

Description

Welcome to the comprehensive course on practical applications of deep learning with Keras! In this course, you will embark on an exciting journey through various projects aimed at developing practical skills in deep learning and neural networks using the Keras framework. Whether you're a beginner looking to get started with deep learning or an experienced practitioner seeking to enhance your skills, this course offers something for everyone.

Throughout this course, you will dive into hands-on projects covering a wide range of topics, including building chatbots, sentiment analysis using recurrent neural networks (RNNs), image classification, and advanced face recognition computer vision applications. Each project is carefully designed to provide you with practical experience and insights into real-world applications of deep learning.

By the end of this course, you will have gained valuable experience in implementing deep learning models, understanding their underlying principles, and applying them to solve complex tasks. Whether you're interested in natural language processing, computer vision, or any other domain, the skills you acquire in this course will be invaluable in your journey as a deep learning practitioner.

Get ready to unlock the full potential of deep learning with Keras and take your skills to the next level!

Section 1: Building A Chatbot with keras

In this section, students will embark on a practical journey of constructing a chatbot using Keras. They will begin with an introduction to the project's objectives, followed by an exploration of foundational concepts such as the Bag of Words (BoW) model, Count Vectorizer, and techniques for handling text data. Through a series of progressive lectures, students will delve into preprocessing steps, feature limitation strategies, and essential text processing elements like stop words and stemming.

Section 2: Project On Keras: Sentimental Analysis Using RNN

In the second section, students will transition to another project focusing on sentiment analysis with Recurrent Neural Networks (RNNs) using Keras. They will be introduced to Google Colab for collaborative work and IMBD dataset for sentiment analysis. The section will cover topics such as padding sequences, basic and complex LSTM models, and training procedures, enabling students to gain practical experience in sentiment analysis.

Section 3: Project On Keras - Image Classification

Continuing the journey, students will move to image classification projects in this section. They will learn to set up Google Colab, download datasets, and employ pretrained models for image classification tasks. Topics covered will include intermediate layer visualization, model creation, image augmentation, and model evaluation techniques.

Section 4: Project On Keras - Creating An Advanced Face Recognition Computer Vision App

In the final section, students will engage in creating an advanced face recognition application using computer vision techniques with Keras. They will explore Convolutional Neural Networks (CNNs) for image processing, face detection using MTCNN, and building a classifier for face recognition. This section will culminate in a comprehensive understanding of implementing deep learning models for real-world applications.

Who this course is for:

  • Students or professionals seeking to enhance their skills in machine learning and deep learning.
  • Data scientists looking to expand their knowledge in natural language processing (NLP) and computer vision.
  • Software engineers interested in developing advanced applications using Keras and TensorFlow.
  • Individuals aspiring to build chatbots, perform sentiment analysis, and work on image classification and face recognition projects.
  • Professionals seeking to advance their careers in artificial intelligence (AI) and deep learning-related roles.
  • Anyone with a keen interest in exploring advanced projects in the field of artificial intelligence and machine learning.