Back to Course

Class 6 - Coding, AI & Robotics Course

0% Complete
0/0 Steps
  1. Coding

    Session 1: Introduction to Coding
    3 Topics
  2. Session 2: Backdrop, Costume, and Animation
    3 Topics
    |
    1 Quiz
  3. Session 3: Basics of Algorithm and Flowchart
    3 Topics
    |
    1 Quiz
  4. Session 4: Basics of Pseudocode
    3 Topics
    |
    1 Quiz
  5. Session 5: Getting Started with Quarky
    3 Topics
    |
    1 Quiz
  6. Session 6: Variables: The Multitaskers
    4 Topics
    |
    1 Quiz
  7. Session 7: Arithmetic Operators
    4 Topics
    |
    1 Quiz
  8. Session 8: Conditional Statements
    3 Topics
    |
    1 Quiz
  9. Session 9: Logical Operators
    4 Topics
    |
    1 Quiz
  10. Session 10: Nested Conditional Statements
    2 Topics
    |
    1 Quiz
  11. Session 11: Loops
    3 Topics
    |
    1 Quiz
  12. Session 12: Touch Based Piano
    2 Topics
  13. Session 13: Criterial in Loops
    5 Topics
    |
    1 Quiz
  14. Session 14: Catch the Fruit Game - Part 1
    2 Topics
  15. Session 15: Catch the Fruit Game - Part 2
    2 Topics
    |
    1 Quiz
  16. Artificial Intelligence
    Section 16: Introduction to Artificial Intelligence
    3 Topics
    |
    1 Quiz
  17. Session 17: Basics of Face Detection
    2 Topics
    |
    1 Quiz
  18. Session 18: Face Expression Detection
    2 Topics
    |
    1 Quiz
  19. Session 19: Mimic Face with Quarky
    1 Topic
  20. Session 20: Face Filter - Part 1
    2 Topics
  21. Session 21: Face Filter - Part 2
    2 Topics
  22. Robotics
    Session 22: Basics of Robotics
    2 Topics
    |
    1 Quiz
  23. Session 23: Wirelessly Controlled Robot
    2 Topics
  24. Session 24: Introduction to Sensors
    3 Topics
    |
    1 Quiz
  25. Session 25: Introduction to Actuators
    3 Topics
    |
    1 Quiz
  26. Session 26: Face Tracking with Robot
    2 Topics
  27. Session 27: Obstacle Avoidance Robot - Part 1
    3 Topics
  28. Session 28: Obstacle Avoidance Robot - Part 2
    2 Topics
    |
    1 Quiz
  29. Session 29: Edge Detector Robot - Part 1
    3 Topics
  30. Session 30: Edge Detector Robot - Part 2
    2 Topics
    |
    1 Quiz
  31. Capstone Project
    Capstone Project
Lesson Progress
0% Complete

RULE BASED LEARNING:

Rule-based artificial intelligence (AI) systems use a set of predefined rules to make decisions or perform tasks. These rules are typically encoded by humans and are based on expert knowledge of the domain

in which the system is operating. Rule-based systems are good at handling specific, well-defined problems and can make decisions quickly, but they can be inflexible and may not be able to handle exceptions or new situations.

Learning-based artificial intelligence (AI) systems use machine learning algorithms to improve their performance over time. These systems learn from data, allowing them to adapt and improve their decision-making abilities as more data becomes available. Learning-based systems can handle more complex, dynamic problems and can improve their performance over time. However, they may require large amounts of data to train and can be more computationally expensive than rule-based systems.

Type of Supervised Learning

There are different types of learning models. The most common types of learning models used are:

Supervised Learning: Supervised learning is a type of machine learning where a model is trained on a labeled dataset to make predictions or decisions. The goal of supervised learning is to learn a mapping from input features to output labels, based on the examples provided in the training data. In supervised learning, the training dataset is composed of pairs of input features and corresponding output labels. The model is trained to learn the relationship between the input and output, and then it is tested on unseen data to evaluate its performance. There are several types of supervised learning algorithms, including:

    1. Classification: The goal is to predict a discrete label or class for a given input. Examples include image classification, spam detection, and weather forecasting.
    2. Regression: The goal is to predict a continuous value for a given input. Examples include stock price prediction, weather forecasting, and sales forecasting.

Supervised learning is widely used in many application domains, such as natural language processing, computer vision, speech recognition, and many more. As the model is trained on labeled data, it can be more accurate, compared to unsupervised learning. However, it requires a large amount of labeled data, which may be expensive and time-consuming to collect.

  1. Unsupervised Learning: Unsupervised learning is a type of machine learning where a model is trained on an unlabeled dataset to discover patterns or structures in the data. Unlike supervised learning, there are no specific input-output pairs provided in the training data; the model is instead given the task of finding patterns or relationships in the data. There are several types of unsupervised learning algorithms, including:
      1. Clustering: The goal is to group similar data points together. Examples include grouping customers based on their buying habits, grouping images based on their content, and grouping genes based on their expression levels.
      2. Dimensionality reduction: The goal is to reduce the number of features in the data while preserving as much information as possible. Examples include reducing the number of variables in a dataset, compressing images, and visualizing high-dimensional data.
      3. Anomaly detection: The goal is to identify data points that are different from the rest of the dataset. Examples include identifying fraudulent transactions, detecting defective items, and detecting errors in sensor data. Association rule learning: The goal is to discover relationships between variables in a dataset. Examples include finding patterns in a customer’s shopping cart, discovering the relationships between genes, and identifying the factors that influence a customer’s behavior.

    Unsupervised learning is useful in cases where labeled data is not available or is too expensive to acquire. It can be used for exploratory data analysis, anomaly detection, and for preprocessing the data before applying supervised learning. It can also be used for feature extraction, compression, and visualization. However, it may require more computational power and can be more complex to interpret than supervised learning.

    Clustering

    Dimensionality Reduction
  1. Reinforcement Learning: Reinforcement learning (RL) is a type of machine learning where an agent learns to make decisions by interacting with its environment and receiving feedback in the form of rewards or penalties. The agent learns to optimize its behavior over time to maximize the cumulative reward. The RL process can be broken down into three main components:
    1. The environment: The environment is the external system with which the agent interacts. It receives the actions from the agent and returns observations and rewards.
    2. The reward: The reward is a scalar value that the agent receives from the environment as feedback. The agent’s goal is to maximize the cumulative reward over time.
    3. The reward: The reward is a scalar value that the agent receives from the environment as feedback. The agent’s goal is to maximize the cumulative reward over time.
  2. RL is different from supervised learning because the agent does not have access to labeled training data. Instead, it must explore the environment and learn from the rewards it receives. RL is also different from unsupervised learning because the agent has a goal or objective to achieve.RL has been successfully applied to a wide range of problems, such as robotics, game-playing, recommendation systems, and control systems. It is also used in many real-world applications, such as self-driving cars, energy management systems, and healthcare systems.The agent: The agent is the decision-maker, it receives observations of the environment, and it selects actions to take.The environment: The environment is the external system with which the agent interacts. It receives the actions from the agent and returns observations and rewards.