Class 6 - Coding, AI & Robotics Course
-
Coding
Session 1: Introduction to Coding3 Topics -
Session 2: Backdrop, Costume, and Animation3 Topics|1 Quiz
-
Session 3: Basics of Algorithm and Flowchart3 Topics|1 Quiz
-
Session 4: Basics of Pseudocode3 Topics|1 Quiz
-
Session 5: Getting Started with Quarky3 Topics|1 Quiz
-
Session 6: Variables: The Multitaskers4 Topics|1 Quiz
-
Session 7: Arithmetic Operators4 Topics|1 Quiz
-
Session 8: Conditional Statements3 Topics|1 Quiz
-
Session 9: Logical Operators4 Topics|1 Quiz
-
Session 10: Nested Conditional Statements2 Topics|1 Quiz
-
Session 11: Loops3 Topics|1 Quiz
-
Session 12: Touch Based Piano2 Topics
-
Session 13: Criterial in Loops5 Topics|1 Quiz
-
Session 14: Catch the Fruit Game - Part 12 Topics
-
Session 15: Catch the Fruit Game - Part 22 Topics|1 Quiz
-
Artificial IntelligenceSection 16: Introduction to Artificial Intelligence3 Topics|1 Quiz
-
Session 17: Basics of Face Detection2 Topics|1 Quiz
-
Session 18: Face Expression Detection2 Topics|1 Quiz
-
Session 19: Mimic Face with Quarky1 Topic
-
Session 20: Face Filter - Part 12 Topics
-
Session 21: Face Filter - Part 22 Topics
-
RoboticsSession 22: Basics of Robotics2 Topics|1 Quiz
-
Session 23: Wirelessly Controlled Robot2 Topics
-
Session 24: Introduction to Sensors3 Topics|1 Quiz
-
Session 25: Introduction to Actuators3 Topics|1 Quiz
-
Session 26: Face Tracking with Robot2 Topics
-
Session 27: Obstacle Avoidance Robot - Part 13 Topics
-
Session 28: Obstacle Avoidance Robot - Part 22 Topics|1 Quiz
-
Session 29: Edge Detector Robot - Part 13 Topics
-
Session 30: Edge Detector Robot - Part 22 Topics|1 Quiz
-
Capstone ProjectCapstone Project
Rule Based Learning
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.
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:
-
- Classification: The goal is to predict a discrete label or class for a given input. Examples include image classification, spam detection, and weather forecasting.
- 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.
- 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:
-
- 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.
- 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.
- 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.
-
- 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:
- 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.
- 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.
- 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.
- 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.