Docsity

Artificial Intelligence (AI) Complete Notes, Study notes of Artificial Intelligence

Partial preview of the text

Download Artificial Intelligence (AI) Complete Notes and more Study notes Artificial Intelligence in PDF only on Docsity!

ARTIFICIAL INTELLIGENCE UNIT-1 SESSION-1 CONTENTS 1. What is Artificial Intelligence (AI)? 2. History of AI 3. What Comprises of Artificial Intelligence? 4. Applications of AI What is Artificial Intelligence (AD? "It is a branch of computer science by which we can create intelligent machines which can behave like a human, think like humans, and able to make decisions.“ Artificial Intelligence exists when a machine can have human based skills such as learning, reasoning, and solving problems. History of AI aa Evolution of Turning Birth of Al: First First First al Arrtificial Machine Dartmounth Chatboat : Inteligence winer System neurons ‘Conference ELIZA Robot : 'WABOT -1 —— ams oo a HmhrOo Bf a Second Al IBM Deep blue: AlinHome 1BMs Watson: Googlenow ChatbotEugene Amazon Winer first computer Roomba Wins a quiz ‘Goostman: Wines Echo to beat a world show a” Turing test chess champion History of artificial intelligence 1943 American researchers Warren McGulloch and Walter Pitts present their model of artificial neurons, considered the first artificial intelligence. History and Evolution of AT Early Concepts and Theoretical Foundations 1950s: The term "Artificial Intelligence" was coined by John McCarthy in 1956. Early Al research focused on problem-solving and symbolic methods. 1956: The Dartmouth Conference is considered the birth of AI as a field. Researchers like Marvin Minsky, Allen Newell, and Herbert A. Simon were pioneers. 1950: Alan Turing introduced the Turing Test to determine if a machine can exhibit intelligent behavior indistinguishable from a human. The First AI Winer (1970s-1980s) Early enthusiasm was tempered by the realization of the limitations of AI. The "AI Winter" refers to periods when funding and interest in AI research significantly decreased. Limited computing power and the complexity of AI problems led to disillusionment. Expert Systems and Knowledge-Based AI (1980s) The development of expert systems, which emulate the decision-making ability of a human expert, brought renewed interest. Systems like DENDRAL (for chemical analysis) and MYCIN (for medical diagnosis) demonstrated practical applications. The Second AI Winer (Late 1980s-1990s) What comprises of AI? Everything about Al, ML, DL, NLP, Cv. Al Artificial Intelligence « Artificial Intelligence refers to the development of computer systems that can perform tasks that typically require human intelligence. ¢ Think of AI as the virtual assistant on your smartphone that can understand your voice commands, provide recommendations, and learn from your preferences over time. Fs Amazon Alexa Tesla Autopilot Car Sophia Humanoid Robot Machine Learning « Machine Learning involves algorithms and statistical models that enable computers to improve their performance on a specific task without explicit programming. + It focuses on pattern recognition and learning from data. * Machine Learning is a subset of Artificial Intelligence. a~tti-4i-@ INPUT FEATURE EXTRACTION CLASSIFICATION Deep Learning Deep learning is a subset of Machine Learning that involves neural networks with multiple layers (deep neural networks). These networks can automatically learn to extract features from data and make complex decisions based on large amounts of data. a DEEP LEARNING =~ INPUT Computer Vision (CV) is a field of artificial intelligence that enables computers to interpret and understand the visual world. Using digital images from cameras and videos and deep learning models, machines can accurately identify and classify objects, and then react to what they "see." Natural language processing Natural Language Processing (NLP) is a subfield of artificial intelligence that focuses on the interaction between computers and humans through natural language. The ultimate goal of NLP is to enable computers to understand, interpret, and generate human languages in a valuable way. Applications of AI Finance Gaming Data Security 1. Al in Astronomy ° Exoplanet Hunting: AI helps astronomers find planets outside our solar system by looking at lots of data. It can notice tiny changes in the light from stars, which tell us there might be planets around them, such as those caused by exoplanet transits. Analyzing Space Information: AI plays a crucial role in the study of space. It assists scientists by carefully examining vast amounts of complex data gathered from space observations. This helps astronomers uncover sophisticated patterns, unusual phenomena, and connections that might be otherwise very difficult to notice. Essentially, Al acts as a dedicated assistant, sifting through the cosmic data haystack to find the valuable needles of knowledge. Watching Space Events in Real-time: Al-powered tools can keep a constant eye on the night sky, looking out for sudden happenings like exploding stars (supernovae) or bursts of powerful gamma rays. This allows scientists to quickly study these events in more detail when they occur. 2. Al in Healthcare ° Helping Doctors See Inside the Body Better: AI is like a super helper for doctors when they look at pictures of the inside of a patient's body, like X-rays or MRIs. It uses smart algorithms to find things like problems, tumors, or broken bones very accurately. This means doctors can figure out what's going on faster and more accurately, which is great for patients and for better diagnosis. Detecting Health Problems Early: AI acts as a health detective. It looks at your health information to find out if you might get certain diseases in the future. When it sees a high risk, doctors can step in early to help you stay healthy. This is really important for conditions like diabetes and heart problems because catching them at this time means better treatment and less trouble for the patient. Developing Medications Quickly and Cost-Effectively: AI acts like a super scientist in the lab. It uses certain algorithms to predict how different chemicals can fight diseases. This helps us make new medicines much quicker and at a low cost. So people can get the treatments they need sooner, and it doesn't cost as much money to manufacture them. 3. Alin Gaming ° Creating Game Worlds with AI: AI can make parts of video games all on its own. It can create levels, maps, and places to explore without people having to make them by hand. This means games can have bigger and more interesting worlds because AI does a lot of the work, kind of like a game world builder. It helps game developers, too. Making Games Look and Feel Real: AI helps to make games look and act more like the real world. They create graphics that look just like the things we see, and they make how things move in games feel realistic, like in real life. They even guess what players night do next so the game looks smooth and natural. 4. Al in Finance ° Identifying and Prevention of Fraud: AI keeps an eye on bank transactions all the time. They act like super detectives who can spot strange things happening with money, like someone using a credit card in a weird way. When they see something fishy, they 8. AI in E-commerce Personalized Product Suggestions: AI looks at what you've looked at and bought before and suggests things you might really like. It's like having a personal shopper who knows your style, making your online shopping more fun and helping you discover new things you might want to buy. Plus, it's great for the store because it helps them sell more, and as a customer, it saves your time. Dynamic Pricing: Artificial intelligence dynamically adjusts pricing according to demand, market competition, and inventory levels, ensuring customers receive optimal value while enhancing the store's profitability. 9. AT in education ° ° Education Content Creation: AI acts as a teaching assistant for educators. It helps them make things like quizzes, lesson plans, and study materials. This makes teaching easier and better because educators have more time for students, and the materials are top-notch. It's like having a super-efficient helper who does the paperwork, leaving teachers more time to inspire students. Virtual Learning Assistants: AJ is there to answer questions, explain things, and offer help whenever students need it, day or night. This makes learning easier and more fun because students have someone to turn to whenever they're stuck. It also takes some pressure off teachers because AI can handle common questions, leaving more time for personalized teaching. 10. AI in Automotive Industry ° ° Self-Driving Cars: AI is like the brain of self-driving cars. It looks at what's happening around the car using various sensors and decides what the car should do, like turning or stopping. It's like having a super-smart driver that doesn't need a person. This makes cars drive on their own, making travel more convenient and safer because there's no need for a human to steer. Voice Recognition: Al-driven voice recognition systems allow drivers to control various functions in their vehicles, such as navigation, music, and communication, using natural language. When it comes to machines and computers, they don't possess an innate understanding of the world, what is acceptable, or what is not. Like a child, machines must be taught everything from the ground up. Broadly speaking, there are two approaches to help machines gain intelligence, which is the rule-based approach and the machine learning approach. Rule-Based Systems Machine Learning Systems Rule-based system? A rule-based decision system makes decisions based on a set of predefined rules and logic. In this approach, human experts or domain specialists explicitly encode rules into the system, dictating how it should respond to different input scenarios. These rules are typically in the form of "if-then" statements, where specific conditions (the "if" part) are followed by corresponding actions or decisions (the "then" part). Rules-Based System Components: * Knowledge Base: This contains the set of rules and facts. The rules encode the expert knowledge in a specific domain. A rule-based system is generally cost-efficient and accurate in terms of its results. The outputs generated by the system are dependent on rules so the output responses are stable and not random. The coverage for different circumstances is less, whatever scenarios are covered by the Rule Based system will provide high accuracy. The error rate goes down because of the predefined rules. It's feasible to reduce the amount of risk in terms of system accuracy. Optimizing the speed of the system is easier as you know all the parts. So providing instant outputs, is not a big issue. Time &> ioe inputs Low €% self-learning capacity Difficult pattern identification Disadvantages of the rule-based system in Al? A rule-based system is built upon a lot of data, deep knowledge of the domain, and a lot of manual work. 2. Writing and generating rules for a complex system is quite challenging and time-consuming. 3. The self-learning capacity in a rule-based system is less as it generates the result as per the rules. 4. Complex pattern identification is a challenging task in the Rule Based method as it takes a lot of time and analysis. Machine learning based system? Machine learning is a subset of Al that focuses on the development of algorithms and models that enable machines to learn from data and make predictions or decisions without explicit programming. Instead of relying on predefined rules, machine learning models use statistical techniques to learn from the data they have been trained on to new, unseen situations. Machine Learning Based System Alis branch of computer science by which we can create intelligent machine which can behave like a human, think like humans and able to make decisions. Examples 1. Chatbots use Al to understand customer problems faster and provide more efficient answers. 2. Intelligent assistants use Al to parse critical information from large free-text datasets to improve scheduling 3. Recommendation engines can provide automated recommendations for TV shows based on users’ viewing habits Goals of Al 1. Replicate Human Intelligence Al seeks to understand how humans think and how that thinking can be simulated in a machine. The goal is to develop systems that can not only perform specific tasks but also exhibit general intelligence like a human. This includes the ability to adapt, learn from experience, and apply knowledge in different contexts. 2. Solve Knowledge-Intensive tasks These tasks are typically challenging for traditional algorithms because they require access to large amounts of information, reasoning with that knowledge, and making decisions based on it. Examples include natural language processing, medical diagnosis, and legal reasoning. Al systems that solve these tasks must be able to interpret and apply domain-specific knowledge in a way that parallels human expertise. 3. An Intelligent Connection of perception and action In humans, perception involves gathering information through our senses, while action involves making decisions based on that information. Al aims to replicate this by allowing machines to perceive their surroundings (using cameras, microphones, sensors, etc.) and then take appropriate actions (such as moving, manipulating objects, or responding to queries). This is crucial in robotics, autonomous vehicles, and interactive systems like virtual assistants. 4. Building a machine which can perform tasks that requires human intelligence such as Providing a Theorem: Al systems like automated theorem provers can assist in mathematics by finding proofs for theorems, a task that requires logic, reasoning, and pattern recognition. Playing Chess: Chess-playing Al systems, like Deep Blue or AlphaZero, demonstrate the ability to plan, strategize, and anticipate the opponent's moves—skills that were once thought to be exclusively human. Planning Surgical Operations: In healthcare, Al is used to assist in planning and executing complex surgeries, optimizing procedures, and providing decision support to surgeons. Driving a Car in Traffic: Autonomous driving requires the integration of perception (identifying obstacles, signs, other vehicles), decision-making (when to brake, accelerate, or turn), and execution (maneuvering the vehicle in real-time). The Intelligent Components in Al? Al has focused on the following components of intelligence: learning, reasoning, problem solving, perception, and linguistic intelligence Reasoning Judgment, Make Decision, Prediction Linguistic Intelligence comprehend Speaks write the verbal & Written language Intelligence Problem Learning Solving Working through detais Gaining Knowledge of problem to reach solutions Perception Acquiring, Interpreting, Selecting, Organting by using sensor information * Example: Virtual assistants like Siri or Google Assistant, which can comprehend and respond to spoken language, or translation systems like Google Translate. Agents in Al An agent can be anything that perceive environment through sensors & act upon that environment through actuators. Three types of agents: Human Agent: Sensors: Eyes, ears, and other organs serve as sensors for perceiving the environment. These organs collect data (sight, sound, etc.), which the human brain processes to make decisions. Example: When we see an object moving towards us (using our eyes), we might step aside to avoid it (using our muscles as actuators). Robotic Agent: Sensors: Cameras, infrared range finders, and other devices act as sensors for robots. These sensors allow robots to perceive their surroundings and gather information (such as distance, movement, or heat signatures). Example: A robot uses a camera to detect obstacles and then uses its motors (actuators) to navigate around them. Software Agent: Sensors: Key strokes and other input mechanisms are the "sensors" for software agents. These agents operate within digital environments, and their perception comes from user inputs or other software-generated data. Example: A chatbot might use text input (key strokes) to understand a user’s question and respond with a relevant answer. In Al, agents are autonomous entities that perceive their environment, reason to make decisions, and take actions to achieve specific goals. Agents can be software programs, robots, or systems that interact with their surroundings and adapt based on input and feedback. Key Concepts of Al Agents: Perception: Agents sense their environment through sensors or data inputs (e.g., cameras, microphones, databases). Reasoning: Agents process the input to make decisions or generate plans. Action: Agents act on the environment through actuators or outputs (e.g., motors, display systems, API responses). Autonomy: Agents operate independently without human intervention, though they may interact with humans. Examples of Al Agents 1. Autonomous Robots: Description: These robots are capable of navigating and interacting with the physical world independently. They use sensors to perceive their surroundings and actuators (such as motors) to perform actions. Examples: Autonomous cars, drones, or robots used in warehouses for sorting and moving packages. Key Features: They make decisions in real-time without human intervention, adapting to dynamic environments. 2. Virtual Assistants: Description: These are Al systems, suchas Siri, Alexa, or Google Assistant, that interact with users via voice commands. They process natural language inputs and execute tasks like setting reminders, playing music, or answering questions. Key Features: They employ speech recognition, natural language processing (NLP), and machine learning to understand and respond to users' queries. 3. Reinforcement Learning Agents: