AI Fundamentals Man made thinking power. It is a branch of CS by which we can create an intelligent machine which can behave like human, think like human and able to make decisions.so we need to create a machine with programmed alogorithm which can work with own intelligence and make decisions. AI → ML → Deep Learning → Generative AI Let me first explain the relationship between these four important concepts: Artificial Intelligence, Machine Learning, Deep Learning, and Generative AI. "Artificial Intelligence is the broader concept of making machines capable of performing tasks that normally require human intelligence. For example, Google Maps uses intelligent systems to analyze routes and traffic and suggest the best route." AI can be classified into three types based on its capabilities: Narrow AI, General AI and Super AI.” “Narrow AI is an AI system that is designed to perform a specific task It is very good at the task for which it has been designed, but it does not have general human intelligence.” Then give a real-life example: “Let us take Google Maps as an example.” “When I enter my destination in Google Maps, it can analyze traffic, distance, road conditions and previous traffic patterns.” “Based on this information, it can suggest the best route and estimate the travel time.” “But Google Maps is designed for navigation. It cannot suddenly teach me mathematics, write a poem, diagnose a disease, or repair a computer.” “So, it is an example of Narrow AI because it performs a specific task very effectively.” Almost all AI systems we commonly use today are examples of Narrow AI.” Google Maps Face recognition YouTube recommendations Voice assistants ChatGPT The second type is General AI, also called Artificial General Intelligence or AGI.” “General AI refers to a hypothetical AI system that would have intelligence similar to humans across many different types of tasks.” “Unlike Narrow AI, it would not be restricted to one particular task.” “It would be able to learn, reason, understand information, solve problems, adapt to new situations and apply its knowledge to different areas.” Now give a simple real-world-style scenario: “For example, imagine we have one AI system called an AI student assistant.” “Today, I ask it to explain mathematics. It understands the question and teaches me.” “Tomorrow, I give it a programming problem. It learns the requirements and helps me write the program.” “Next, I ask it to prepare a presentation. It understands the topic and prepares the content.” “Later, I give it a completely new problem that it has never seen before, and it is able to learn and solve it.” “This is the kind of flexibility we mean by General AI.” A true General AI would theoretically be able to perform both tasks and learn new tasks.” he third type is Super AI, also called Artificial Superintelligence or ASI.” “Super AI is a hypothetical form of AI that would be more intelligent than humans across almost all intellectual areas.” “It would not simply perform tasks faster than humans. It would potentially be capable of understanding, learning, reasoning and solving complex problems at a level beyond human capabilities.” Give a simple scenario “For example, imagine scientists are trying to develop a new medicine for a difficult disease.” “A Super AI, theoretically, could analyze enormous amounts of scientific research, understand complex biological relationships, generate new hypotheses, and identify possible drug candidates much faster than humans.” “Similarly, it could potentially solve extremely complex mathematical, scientific or engineering problems that are difficult for humans.” Machine Learning is a subset of Artificial Intelligence that enables computers to learn patterns from historical data and use those patterns to make predictions or decisions without being explicitly programmed for every scenario. For example, Gmail uses machine learning to identify spam emails by learning patterns from previously classified emails." AI → Machine Learning → Data → Learn Patterns → Make Predictions/Decisions Application What ML does Gmail Detects spam emails YouTube Recommends videos Netflix Recommends movies Application What ML does Banking Detects fraudulent transactions Amazon Recommends products Google Maps Predicts traffic and travel time Healthcare Helps predict diseases from medical data E-commerce Predicts customer purchasing behavior Face unlock Recognizes your face Chatbots Learns patterns in language Real-world example: Banking fraud detection A bank has historical transaction data. For example: Normal transaction Normal transaction Fraud Normal transaction Fraud ... The ML model learns patterns. Now a new transaction occurs: ₹2,00,000 transaction from an unusual location at 3 AM. The model may identify it as: Potential Fraud The bank can then perform additional verification. Deep Learning is a subset of Machine Learning that uses artificial neural networks with multiple layers to learn complex patterns from large amounts of data. Deep learning is especially useful when we have large amounts of complex data such as images, audio, video, and text.” “Let me explain Deep Learning with a simple classroom example. Imagine a classroom with 60 students. If a teacher looks at overall marks, attendance, and assignments and predicts which students may perform well or need improvement, we can compare that to Machine Learning. Now, suppose the teacher wants to understand each student's performance more deeply. The teacher looks at multiple factors such as marks, attendance, assignments, learning patterns, and previous performance, and identifies complex patterns for each student. This is similar to Deep Learning, where a neural network uses multiple layers of connected neurons to learn complex patterns from data. So, in simple words, Machine Learning learns patterns from data, while Deep Learning uses multiple layers of neural networks to learn more complex patterns automatically.” The key words are: Neural networks + multiple layers + large/complex data Generative AI is a type of Artificial Intelligence that can create new content such as text, images, audio, video, and code based on the patterns it has learned from existing data. The key word is "generate", meaning create something new. Simple real-world example: ChatGPT Generating an Image 🖼️ Suppose you give an AI tool this prompt: "Create an image of a dog sitting in a park." Generative AI can create a new image based on that description. Prompt: "Dog sitting in a park" ↓ Generative AI ↓ New image of a dog in a park Examples of Generative AI Generative AI application What it generates ChatGPT Text, answers, code Image-generation AI Images AI coding assistants Code AI voice tools Speech/audio AI video tools Videos AI writing assistants Emails, articles, summaries Generative AI application What it generates AI design tools Designs and creative content Very Simple Comparison Table Technology Main idea Example AI Machines perform intelligent tasks Chatbot ML Machines learn patterns from data Fraud detection Deep Learning Neural networks learn complex patterns Face recognition Generative AI AI creates new content ChatGPT generating text AI = Think intelligently → ML = Learn from data → Deep Learning = Learn complex patterns → Generative AI = Create new content. AI Infrastructure AI INFRASTRUCTURE │ ┌───────────┬───────┼───────┬───────────┐ ↓ ↓ ↓ ↓ ↓ Computing Storage Network Software Cloud │ │ │ ↓ ↓ │ ↓ │ ↓ ↓ Process Store Connect Build Scale Data Data Systems AI Models Resources "Now that we understand what Artificial Intelligence is and the importance of data, let us look at one more important concept — AI Infrastructure. Students, whenever we build an AI application, we need some resources to collect and store data, process that data, train our AI model, and finally make the model available to users. All these underlying resources together are called AI Infrastructure." 2. Give the definition "Simply stated, AI Infrastructure is the combination of hardware, software, storage, networking, and computing resources required to develop, train, deploy, and run AI applications. We can think of it as the foundation on which an AI system operates." 3. Explain the major components "Let us look at the major components one by one." 1. Computing Resources Computing provides the processing power required by AI. .”AI systems perform a large number of mathematical calculations. For this, we use processors such as: CPU — Central Processing Unit GPU — Graphics Processing Unit TPU — Tensor Processing Unit CPU is a general-purpose processor. It handles normal application operations and coordinates different tasks. GPU is powerful for AI because it can perform many mathematical calculations in parallel. That's why GPUs are widely used for training deep-learning models.” CPU: Task 1 → Task 2 → Task 3 → Task 4 One after another GPU: Task 1 ┐ Task 2 ├──→ Process simultaneously Task 3 ┤ Task 4 ┘ TPU is a specialized processor designed specifically to accelerate machine-learning and tensor operations. It can be very efficient for certain large-scale AI workloads.” However, when we train large AI models, we often use GPUs because GPUs can perform many calculations in parallel. For example, training an image-recognition model using thousands or millions of images requires significant computing power." 2. Data Storage AI needs a large amount of data for training and operation. Storage infrastructure stores datasets, databases, model files and other information.” For example, if we are developing a system to identify diseases from medical images, we may need thousands of images for training. Therefore, we need storage systems such as: Databases File storage Cloud storage The amount of storage required depends on the size and type of the AI project." 3. Networking "The third component is networking. AI systems often involve multiple machines, servers, databases, and cloud services. Networking allows these components to communicate and transfer data between them. For large AI systems, fast and reliable networking is very important because huge amounts of data may need to move between different systems." When a student asks an AI chatbot a question, the request travels through the network to the AI server and the response comes back. 4. AI Software and Frameworks "The next component is software. Hardware alone cannot build an AI application. Developers use programming languages such as Python and frameworks and libraries such as: These tools help developers build, train, test, and deploy AI models." 5. Cloud Infrastructure "Another important part of modern AI infrastructure is cloud computing. Instead of purchasing expensive hardware, organizations can use computing resources through cloud platforms such as: Amazon Web Services Microsoft Azure Google Cloud For example, a company can rent GPU computing power from the cloud when it needs to train a large AI model." Let us take one simple example to understand AI infrastructure — an AI-based student performance prediction system." "First, we collect student data such as attendance, internal marks, assignment performance, and previous examination results." "This data needs to be stored, so we use a database or storage system." "Next, we use computing resources, such as a CPU or GPU, to process the data and train our AI model." "We can use Python and machine-learning libraries to develop the AI model. This represents the software part of our AI infrastructure." "Once the model is ready, a faculty member can enter or access student information through an application. The application communicates with the server through the network." "Finally, we can deploy the application on the cloud, which provides computing, storage, and other resources and allows us to scale the application when the number of users increases." "Therefore, students, building an AI application is not only about creating an AI model. We need data, storage, computing, software, networking, and deployment infrastructure. All these together form AI infrastructure." Data → Storage → Computing → AI Model → Deployment → Application" When we interact with an AI application, we may only see the application interface, but behind that interface there can be servers, GPUs, databases, networking systems, AI models, and cloud infrastructure working together." AI Data Pipeline What you should say “Now let us understand an important concept called an AI Data Pipeline. An AI model cannot directly work with raw data and give us a useful result. The data needs to go through a series of steps before it can be used by an AI model. This complete flow of collecting, processing, storing and preparing data for AI is called an AI data pipeline.” AI DATA PIPELINE 1. COLLECT DATA ↓ 2. CLEAN DATA ↓ 3. PREPARE DATA ↓ 4. STORE DATA ↓ 5. TRAIN AI MODEL ↓ 6. TEST MODEL ↓ 7. DEPLOY MODEL ↓ 8. MONITOR & IMPROVE 1. Data Sources “First, we have data sources. Data can come from different sources such as websites, mobile applications, databases, sensors, social media, customer transactions, images, videos or logs.” The first step is data collection. AI needs data to learn or to provide useful answers. So, we collect data from different sources." 2. Data Cleaning “Raw data is usually not perfect. It may contain missing values, duplicate records, incorrect values or inconsistent formats. So, we clean the data before giving it to the AI model.” For example: Customer ID: 101 Age: 22 Purchase: Laptop Customer ID: 101 Age: 22 Purchase: Laptop “If the same transaction appears twice, we may need to remove the duplicate.” Then say this important line: “Good-quality data is important because poor-quality data can lead to poor AI results.” 3.Data Transformation “After cleaning, we transform the data into a format that the machine learning model can understand.” For example: “If we have a date such as 07-09-2026, we may transform it into useful features such as day, month or year depending on the problem.” Convert documents into text Break large documents into smaller sections Create labels if required 4. Data Storage “The processed data needs to be stored so that it can be used for analysis and machine learning.” Examples: Database Data warehouse Data lake Cloud storage 5. Model Training Now the prepared data can be used to train an AI model. During training, the model learns patterns from the data." 6.Test Model → "Check the AI" Say: "After training, we test the model to check whether it gives correct and useful results." 7.Deploy Model → "Make it available" Say: "Once the model performs well, we deploy it so that real users can access it through an application." 8.Monitor & Improve → "Keep checking" After deployment, our work doesn't stop. We continuously monitor the AI system for errors, response time, accuracy and user feedback. Based on this information, we improve the system." Computer Science AI Coding Assistants: AI helps developers write, explain, and debug code. Cybersecurity: AI detects unusual network activity and potential security threats. Chatbots: AI-powered Life Sciences Disease Detection: AI analyzes X-rays and scans to help identify diseases. Drug Discovery: AI helps scientists identify potential new medicines faster. Patient Monitoring: AI analyzes patient data to detect health risks early. AI can analyze medical images such as X-rays and scans to help doctors detect diseases at an early stage.” Arts & Humanities Content Creation: AI can generate text, images, music, and videos. Language Translation: AI translates content from one language to another. Historical Analysis: AI helps researchers analyze large collections of historical documents. Physical Sciences Weather Prediction: AI analyzes weather data to improve forecasting. Climate Research: AI helps scientists identify climate patterns and predict changes. Space Exploration: AI helps analyze images and data collected from space missions. Commerce & Management Product Recommendations: AI recommends products based on customer interests and previous purchases. Fraud Detection: AI identifies unusual transactions and helps detect fraudulent payments. Sales Forecasting: AI analyzes past sales data to predict future demand.
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )