Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

AI unit 4

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

4.

2 Role of Cloud Computing in AI Development


Cloud computing has significantly influenced the growth of artificial intelligence (AI). Key aspects of this impact
include:
1. Cloud Delivery Models
• IaaS (Infrastructure as a Service) provides instant computing environments with GPU hardware,
eliminating infrastructure setup delays.
• PaaS (Platform as a Service) offers AI and data science services, making app development easier.
• SaaS (Software as a Service) allows AI integration into applications like CRM and paymentprocessing.
2. Cloud Technologies
• Containers and Kubernetes enable data scientists to collaborate and scale AI projects efficiently.
• Containers can be hosted on cloud platforms, even with enhanced GPU capabilities.
3. Data Management
• Data is essential for AI, and cloud solutions simplify secure data storage, enabling access to ample
data for algorithm and model evaluation.
4. Talent/Skills Availability
• The proliferation of data science and AI programs at universities worldwide has produced a pool of AI
experts.
• Platforms like Kaggle and CrowdANALYTIX allow experts to collaborate and compete on AI projects,
promoting skill development.
5. DevOps and MLOps
• DevOps and MLOps facilitate software development and AI operations by leveraging cloud-native
infrastructures.
• Major cloud providers offer AI services and platforms for data science, machine learning, and more.
• Prominent companies like IBM, SAS, and RapidMiner provide cloud-based data science and machine
learning solutions.

Advantages of AI Impact on Cloud Computing


1. Sense of Autonomy
• AI-driven automation streamlines data processing, enhancing productivity.
• AI can handle repetitive tasks, allowing humans to focus on strategic efforts, making businesses more
data-driven and efficient.
2. Cost-Efficiency
• Cloud computing eliminates on-premises data center costs, offering a cost-effective alternative.
• AI systems can analyze data and make decisions without human intervention, reducing operational
expenses.
3. Minimum Effort Data Management
• AI enhances data processing and organization, leading to improved performance through real-time,
reliable data handling.
• Data gathering, organization, and updates become more accessible with AI technologies.

Companies are migrating to the cloud for several reasons, mainly due to the profound impact of artificial intelligence
(AI) on cloud computing, which has revolutionized various aspects of business operations. The key benefits of
combining cloud computing and AI for businesses are as follows:

1. Cost Efficiency: AI and the cloud are a cost-effective duo, eliminating the need for on-premises data centers
and reducing infrastructure expenses. AI provides valuable research insights without extra costs, enhancing
research and development efficiency while saving money.
2. Faster Decision Making: AI, in conjunction with the cloud, streamlines decision-making by analyzing vast
data sets quickly. This empowers decision-makers with essential information, improving the speed and
quality of decisions, particularly when used in combination with predictive analytics.
3. Security: AI integrated into cloud infrastructures enhances security by efficiently processing data and
detecting anomalies. It enables immediate responses or alerts for human intervention, prioritizing tasks and
protecting sensitive business information.
4. Analytics Advantages: AI-based cloud services offer cost savings, making advanced analytics accessible to
businesses without the need for hiring highly skilled analysts. This technology allows companies to achieve
more with less expenditure.
5. Business Management: AI applications enhance business management by automating tasks like spam email
screening, saving time and improving customer interaction.
6. Operational Improvements: Cloud services are a practical and cost-effective option for data storage and
scalability as companies grow. On-premises solutions are costly and less flexible in comparison.
7. Hiring Process: AI solutions help streamline the hiring process, improving candidate screening, and reducing
bias in the selection process. AI-powered applicant tracking systems assist recruiters in managing
applications more efficiently.
8. Development and Team Integration: AI and cloud computing support agile development by ensuring
efficient, error-minimized solutions. Additionally, these technologies enhance team integration, allowing
secure data sharing among team members, promoting faster turnaround times and increased productivity.

Top cloud computing providers that offer AI-enabled solutions:


Amazon Web Services (AWS): AWS is a leader in cloud computing, offering a wide range of AI products and
services. Their AI services include Lex for conversational interfaces, Polly for text-to-speech, and Rekognition for
image recognition. They also provide Amazon Machine Learning for creating ML models without extensive
technical expertise.
Google Cloud: Google Cloud is known for its strong AI and data analytics capabilities. They offer services like
TensorFlow, Cloud Vision API for image analysis, Cloud ML for training machine learning models, and ML Engine
for production-level deployment.
IBM Cloud: IBM offers a variety of AI services under the Watson brand, including Watson Studio for building and
training AI models, as well as Core ML services for AI-powered applications that can run on-premises or in the
cloud.
Microsoft Azure: Azure provides AI services, tools, and infrastructure. This includes Azure Cognitive Services,
Azure Machine Learning, and tools like Azure Notebooks and Visual Studio Tools for AI.
Alibaba Cloud: Alibaba Cloud is a leading cloud platform in Asia, offering a Machine Learning Platform for AI. It
features a user-friendly visual interface and pre-built AI solutions, making it accessible for various tasks.
Salesforce: Salesforce's Einstein AI platform integrates AI solutions with their cloud offerings, allowing customers
to build apps with machine learning and predictive analytics. It provides insights from customer data to enhance
decision-making and business strategies.
Wipro Holmes: Wipro Holmes, a global IT and consulting company, offers a comprehensive AI and automation
platform covering various aspects of AI deployment. It includes digital virtual agents, process automation, and
support for robotics and drones.

Amazon SageMaker is a fully-managed service offered by Amazon Web Services (AWS) that facilitates the building,
training, and deployment of machine learning models. It includes the following key features and characteristics:

Characteristics of Amazon SageMaker:


• Fully Managed: SageMaker handles infrastructure and management tasks, allowing data scientists and
developers to focus on creating and deploying machine learning models.
• Scalable: It's designed to handle large datasets and complex models, making it suitable for applications
requiring high scalability.
• Flexible: SageMaker supports various machine learning frameworks and algorithms, including TensorFlow,
PyTorch, and MXNet.
• Easy to Use: It provides an intuitive user interface and accessible APIs, catering to users with different levels
of experience.
• Integration with AWS: SageMaker seamlessly integrates with other AWS services, such as S3 for data storage,
EMR for big data processing, and EC2 for compute resources.
• Cost-Effective: It offers a pay-as-you-go pricing model, with features for cost reduction, such as automatic
scaling and optimization.
• Security: SageMaker ensures security with VPC support, encryption, and access controls for protecting
machine learning models and data.

Advantages of Amazon SageMaker:


• Faster Time-to-Market: It accelerates the development, training, and deployment of machine learning
models, enabling quicker product and service launches.
• Built-in Algorithms and Frameworks: SageMaker provides a wide range of pre-built algorithms and
frameworks, simplifying the entry into machine learning.
• Automatic Model Tuning: It offers automatic hyperparameter tuning, reducing the effort required to
optimize models for peak performance.
• Ground Truth Labeling Service: SageMaker's Ground Truth labeling service assists in data labeling, making
data preparation more efficient.
• Reinforcement Learning: SageMaker supports reinforcement learning, simplifying the creation and training
of reinforcement learning models.
• Elastic Inference: It offers Elastic Inference to attach GPU acceleration when needed, reducing GPU-related
costs.
• Built-in Model Monitoring: SageMaker includes built-in model monitoring to ensure models perform
optimally in production.

Disadvantages of Amazon SageMaker:


• Complexity: Machine learning can still be complex, and SageMaker may require significant knowledge and
experience for effective use.
• Vendor Lock-In: Integration with AWS services can create vendor lock-in, making it challenging to switch to
other cloud providers.
• Cost: Running machine learning workloads on SageMaker can be costly, especially for large-scale projects.
• Limited Customization: While it offers many options, it may not cover all specific project requirements,
necessitating custom solutions.
• Learning Curve: New users may face a learning curve, particularly if they are new to machine learning or
AWS.
• Limited Support for Some Use Cases: Some specialized use cases may not be well-supported by SageMaker.

SageMaker Workflow:
1. Data Preparation: Collect, clean, and format data for training.
2. Model Building: Create machine learning models using built-in algorithms or custom ones.
3. Model Training: Train the model using prepared data.
4. Model Optimization: Fine-tune hyperparameters and optimize the model's architecture.
5. Model Deployment: Deploy the model for use in a production environment.
6. Model Monitoring: Continuously monitor the model's performance, tracking metrics and detecting
anomalies.
7. Model Management: Manage the model over time, including updates, retraining, and performance
maintenance.
4.1 Types of Agents
Agents can be grouped into five classes based on their degree of perceived intelligence and capability :
Simple Reflex Agents, Model-Based Reflex Agents, Goal-Based Agents, Utility-Based Agents, Learning
Agent, Multi-agent systems, Hierarchical agents

Simple Reflex Agents


Simple reflex agents ignore the rest of the percept history and act only on the basis of the current percept.
Percept history is the history of all that an agent has perceived to date. The agent function is based on the
condition-action rule. A condition-action rule is a rule that maps a state i.e., a condition to an action. If the
condition is true, then the action is taken, else not. This agent function only succeeds when the environment
is fully observable. For simple reflex agents operating in partially observable environments, infinite loops are
often unavoidable. It may be possible to escape from infinite loops if the agent can randomize its actions.
Problems with Simple reflex agents are :
• Very limited intelligence.
• No knowledge of non-perceptual parts of the state.
• Usually too big to generate and store.

Model-Based Reflex Agents


It works by finding a rule whose condition matches the current situation. A model-based agent can handle
partially observable environments by the use of a model about the world. The agent has to keep track of the
internal state which is adjusted by each percept and that depends on the percept history. The current state is
stored inside the agent which maintains some kind of structure describing the part of the world which cannot
be seen.
Updating the state requires information about:
• How the world evolves independently from the agent?
• How do the agent’s actions affect the world?

Goal-Based Agents
These kinds of agents take decisions based on how far they are currently from their goal(description of
desirable situations). Their every action is intended to reduce their distance from the goal. This allows the
agent a way to choose among multiple possibilities, selecting the one which reaches a goal state. The
knowledge that supports its decisions is represented explicitly and can be modified, which makes these agents
more flexible. They usually require search and planning. The goal-based agent’s behavior can easily be
changed.

Utility-Based Agents
The agents which are developed having their end uses as building blocks are called utility-based agents.
When there are multiple possible alternatives, then to decide which one is best, utility-based agents are used.
They choose actions based on a preference (utility) for each state. Sometimes achieving the desired goal is
not enough. We may look for a quicker, safer, cheaper trip to reach a destination. Agent happiness should be
taken into consideration. Utility describes how “happy” the agent is. Because of the uncertainty in the world,
a utility agent chooses the action that maximizes the expected utility. A utility function maps a state onto a
real number which describes the associated degree of happiness.
Learning Agent
A learning agent in AI is the type of agent that can learn from its past experiences or it has learning
capabilities. It starts to act with basic knowledge and then is able to act and adapt automatically through
learning. A learning agent has mainly four conceptual components, which are:

1. Learning element: It is responsible for making improvements by learning from the environment.
2. Critic: The learning element takes feedback from critics which describes how well the agent is
doing with respect to a fixed performance standard.
3. Performance element: It is responsible for selecting external action.
4. Problem Generator: This component is responsible for suggesting actions that will lead to new
and informative experiences.

You might also like