Nasscom Notes
Nasscom Notes
Artificial Intelligence (AI) refers to machines that can think, learn, and make
decisions like humans. It enables computers to analyze data, recognize patterns,
and solve complex problems without human intervention. AI is used in everyday
life, from virtual assistants like Alexa and Siri to self-driving cars and medical
diagnostics.
Applications of AI
1
What is Machine Learning?
Machine Learning (ML) is a subset of AI that enables machines to learn from data
and improve over time without being explicitly programmed.
Deep Learning is a subset of ML that mimics the human brain using neural
networks with multiple layers. It processes vast amounts of data to improve
decision-making.
2
How Deep Learning Works
Benefits
3
✔ Accuracy – Reduces human errors in decision-making
✔ Scalability – Can process large amounts of data instantly
Limitations
4
Understanding Machine Learning Algorithms
Machine Learning (ML) has evolved from a futuristic idea to an essential tool in
today’s business world. It helps automate tasks, analyze large datasets, and
improve decision-making. Companies use ML to stay competitive, optimize
operations, and gain deeper insights into their customers.
But before implementing ML, it’s important to understand the different types of
machine learning algorithms and how they work. There are four main types of
ML algorithms: Supervised Learning, Unsupervised Learning, Semi-Supervised
Learning, and Reinforcement Learning. Each serves a unique purpose and is
suited for specific tasks.
The system is trained with labeled data, meaning every input has a
corresponding correct output. The goal is to learn from past examples and make
accurate predictions about new, unseen data.
How it Works
Common Algorithms
➔ Linear Regression
➔ Logistic Regression
5
➔ Random Forest
➔ Gradient Boosted Trees
➔ Support Vector Machines (SVM)
➔ Neural Networks
➔ Decision Trees
➔ Naive Bayes
➔ Nearest Neighbor
Use Cases
How it Works
6
● Dimensionality Reduction – Removes irrelevant information while
retaining key insights
Common Algorithms
➔ K-Means Clustering
➔ Principal Component Analysis (PCA)
➔ Association Rules
➔ t-SNE (t-Distributed Stochastic Neighbor Embedding)
Use Cases
How it Works
Use Cases
7
● Speech & Image Recognition – Used in tools like Google Image Search
and Siri.
● Web Content Classification – Crawling engines categorize and organize
internet content.
How it Works
Common Algorithms
➔ Q-Learning
➔ Temporal Difference (TD)
➔ Monte Carlo Tree Search (MCTS)
➔ Asynchronous Actor-Critic Agents (A3C)
Use Cases
8
● Ad Targeting & Retargeting – Improves digital marketing by optimizing ad
placement for better engagement.
10
Introduction to Deep Learning
Each connection between neurons has a weight, which determines how much
influence one neuron has on another. There’s also a bias that helps shift values
up or down, making the network more flexible.
1. Each neuron receives inputs (like pixel values from an image).
2. It multiplies each input by a weight and adds a bias.
11
3. The result goes through an activation function, which decides whether
the neuron should pass the information forward.
4. The process repeats through multiple layers until the network produces
an output.
A cost function tells the neural network how wrong it's prediction is. It's like a
teacher grading an exam—if the student (neural network) makes a mistake, they
need to correct it.
1. The network makes a prediction (e.g., predicts a circle instead of a square).
2. The cost function calculates the error (difference between predicted and
actual values).
3. The network adjusts the weights and biases to reduce the error using a
method called backpropagation.
12
4. This process continues until the network makes accurate predictions.
For example, if a neural network predicts that a square is a circle, the cost
function calculates the mistake, and the network adjusts itself to improve future
predictions.
13
2️⃣ Hidden Layers – Processing Information
● The network has hidden layers that refine the input and improve
accuracy.
● Each neuron in one layer connects to neurons in the next layer.
● Every connection has a weight (w) and a bias (b) is added.
z=x1w1+x2w2+b
● Then, an activation function (Φ) decides whether the neuron should "fire"
or not:
a=Φ(z)
● This process happens layer by layer until we reach the final answer.
14
J = (𝑌 − 𝑌) 2
15
The weights are adjusted to reduce the error. The network is trained with the
new weights.
16
Deep Learning Platforms :
Several deep learning frameworks facilitate model development :
1. Convolution
2. Filters (Kernels)
A filter (or kernel) is a small matrix (like a tiny window) that moves across an
image, picking up important details like edges or corners. Different filters detect
different features.
17
3. Feature Maps
The result of applying filters to an image is called a feature map. It highlights the
important patterns found in the image.
4. Stride
Stride is the step size at which a filter moves over an image. A larger stride
means the filter moves faster, reducing the amount of information captured.
5. Padding
Padding is extra space added around an image to prevent shrinking when filters
move over it. This helps preserve details at the edges.
6. Activation Function
Activation functions decide which features are important. The most common
one in CNNs is ReLU (Rectified Linear Unit), which removes negative values and
keeps only important positive ones.
7. Pooling
Pooling helps reduce the size of feature maps while keeping the most important
details.
18
● Max Pooling: Picks the highest value in a small region, keeping the most
prominent feature.
● Average Pooling: Takes the average of all values in a region, smoothing out
the feature map.
At the end of a CNN, a fully connected layer takes all the extracted features and
makes the final prediction, like classifying an image as a cat or a dog.
19
6. Flattening & Fully Connected Layer:
○ The extracted features are converted into a single list and passed to
a fully connected layer, which makes the final decision.
7. Output (Prediction):
○ The network predicts the class of the image (e.g. “Dog” or “Cat”)
1. Hyperparameters – These are settings like learning rate, batch size, and
regularization, manually defined before training. Tuning them correctly
improves performance.
2. Data Augmentation – Expands the dataset using techniques like flipping,
rotating, and zooming images to improve generalization and reduce
overfitting.
3. Regularization – Prevents overfitting by using:
○ L1 & L2 Regularization – Adds penalties to large weights
○ Dropout – Randomly turns off some neurons to make the model
more robust
4. Learning Rate Schedules – Adjusting the learning rate over time (step
decay, exponential decay, cyclical learning) helps the model learn
efficiently.
5. Normalization – Standardizes input data to ensure stable and faster
training.
20
Using these techniques improves CNN training, making models more accurate
and generalizable
Applications of CNNs
1. Object Detection – Identifies and classifies objects in images using models
like R-CNN, YOLO, and Faster R-CNN. Used in self-driving cars,
surveillance, and medical imaging.
2. Semantic Segmentation – Assigns a class label to each pixel for detailed
scene understanding. Applied in medical imaging, robotics, and
autonomous navigation (models: U-Net, DeepLab, FCN).
3. Image Generation – Creates new images using CNN-based GANs (e.g.
StyleGAN, CycleGAN). Used for image synthesis, style transfer, and data
augmentation.
4. Other Fields – Healthcare (diagnosis), agriculture (crop health), retail
(product recognition), security (facial recognition), and entertainment
(CGI, recommendations).
21
by learning and adapting, making them suitable for complex, real-world
problems.
Types of ANNs
Advantages of ANNs
Challenges
22
❌ Requires extensive training and computational power.
❌ Hard to interpret how decisions are made.
Applications of ANNs
● Fraud Detection
● Customer Service Chatbots
● Credit Scoring
● Risk Assessment
● Medical Imaging
23
● Drug Discovery
● Personalized Medicine
● Disease Prediction
● Algorithmic Trading
● Risk Management
● Customer Relationship Management
● Fraud Prevention
● Autonomous Driving
● Predictive Maintenance
● Image and Object Recognition
● Natural Language Processing
● Claims Processing
● Risk Assessment
● Fraud Detection
● Customer Segmentation
● Inventory Management
● Customer Segmentation
● Visual Search
● Recommendation Systems
● Quality Control
24
● Predictive Maintenance
● Supply Chain Optimization
● Process Optimization
● Network Security
● Predictive Analytics for Network Maintenance
● Customer Churn Prediction
● Network optimization
References
● https://encord.com/blog/convolutional-neural-networks-explained/
● https://www.simplilearn.com/tutorials/deep-learning-tutorial/introduction-to-deep-l
earning
25
Chat GPT
In November 2022, an artificial intelligence firm called Open AI introduced Chat GPT ,an
advanced chat bot that has taken the world by storm. Chatgpt is based on generative
pre-trained transformer architecture that is stained on a maximum amount of text data from the
internet.
This is a type of neural network that was introduced in 2017. A neural network is a large
network of computers that can fine tune its output based on the feedback given to it during
stages of training.Chatgpt is a language model that can produce text that sound like human
speech in a conversational setting.
NLP involves teaching computers to understand and respond with human language. A lot
goes into NLP, but in short, it involves feeding an AI model huge amounts of language
text. The model then uses algorithms and statistical analysis to “understand” language.
LLMs are AI models that are pre trained on large amounts of textual data. NLPs are used to
analyze text pre- and post-output into an LLM.
Like any other natural processing model chatgpt has limitations related to caliber and volume
of the training data. Proximal policy optimization, the reinforcement learning algorithm which
was also developed by openAI was used to train chatgpt. Natural Language Processing (NLP)
is a subfield of artificial intelligence that focuses on enabling computers to understand,
interpret and generate human language.
Is ChatGPT free???
The basic version of ChatGPT is currently free to use after you create an account. This
base version is highly capable, but may become unavailable at select times if there is high
demand.
For developers, OpenAI also offers a paid API that can integrate with ChatGPT Plus or
ChatGPT. The cost of integrations depends upon usage and which tool it is integrated with.
Is ChatGPT secure?
ChatGPT is secure, but by no means foolproof. There have not been any publicly disclosed
breaches or attacks on the ChatGPT platform as of this writing. However, the ChatGPT
platform itself can pose security risks.
AI tools may ingest and store user information for training purposes. This means any data
shared with ChatGPT could be used to train the chatbot in the future. Users should never share
any sensitive data with the chatbot, in case ChatGPT either shares that information with other
users by mistake or in case there is a breach of the platform.
ChatGPT is, for the most part, reliable. However, because it was trained on the internet, ChatGPT has
ingested a large amount of bias and misinformation. While OpenAI has done considerable work to
finetune the model into not providing biased answers or falsehoods, the work has not been perfect.
2
Seven steps of NLP (which are happening in encoder region ) are :
Output of the encoder is a vector based representation of input sentence that captures the
structure and meaning of the sentence in a compact and efficient form. Transformers use a self
attention mechanism which allows the model to focus on the most relevant parts of the input
when generating its output.
On March 14, 2023, OpenAI released its successor to GPT-3, unsurprisingly named GPT-4.
1. GPT-4 and GPT-3 are powerful language models that generate natural language text from a
large volume of data.
2. GPT-4 has more data and computing power than GPT-3.
3
3. GPT-4 creates fluent results, even on complex tasks that require more profound understanding
and creativity, which GPT-3 couldn’t handle well.
4. GPT-3 is unimodal, meaning it can only accept text inputs. It can process and generate various
text forms, such as formal and informal language, but can’t handle images or other data
types.GPT-4, on the other hand, is multimodal. It can accept and produce text and image inputs
and outputs, making it much more diverse.
5. GPT-4 has more parameters and multimodal capabilities than GPT-3, giving it a significant
performance advantage.
6. GPT-4 is less likely to generate results that are not relevant to the input.
Features of ChatGPT-4
ChatGPT can influence digital marketing in many different ways. For instance, it can generate
automated, customized replies to customers' queries and craft unique content for different marketing
campaigns like email marketing or social media.
Some of the most powerful ways ChatGPT can impact digital marketing are:
1. ChatGPT can enhance customer engagement by providing real-time responses to customers'
concerns and queries.
4
2. ChatGPT can analyze customer data and offer tailored recommendations to address specific
preferences and needs using its machine learning and natural language processing capabilities.
3. ChatGPT can improve automated customer service operations ,allowing the company's human
customer service representative to handle complex queries and provide a higher level of
service.
4. ChatGPT can generate high-quality content,ranging from social media posts to email
marketing campaigns. This can help digital marketers save time and resources. It also helps
them improve the quality and relevance of the content produced.
5. Marketers can use ChatGPT to develop innovative marketing campaigns that can ideally
resonate with the target audience. Engaging content will attract leads to progress sales
efficiently.
With this ability to analyze large amounts of data and generate creative ideas, ChatGPT can help
marketers create effective, efficient, and memorable campaigns.
ChatGPT has opened new avenues for business owners, especially those related to branding and
customer service. It has some amazing capabilities that enhance business growth.
However, like everything else, certain limitations of ChatGPT should be addressed. As more
people interact with this chatbot, we will uncover new issues that require improvement.
ChatGPT can be extremely beneficial for digital marketers, especially for staying ahead of the
competitors, scaling their operations without overburdening the employees and managing
resources as efficiently as possible.
ChatGPT has a wide range of uses for small businesses. Ultimately, the usage is limited
by business need, familiarity with the tool and imagination. It can be strange to think of
outsourcing more advanced tasks to a piece of software.
5
1. ChatGPT can be effective at generating textual summaries, such as drafting up a report based on
meeting notes, summarizing an article, creating executive summaries, or converting research notes into
a bluff.
2. ChatGPT can suggest outlines based on the subject you provide. This can help focus ideas on a
certain topic and increase efficiency.
3. Identifying SEO-friendly keywords for a subject is an integral part of SEO strategy. ChatGPT’s vast
amounts of training data gives it insight into what words can work for any subject, which helps boost a
business’ search engine rankings.
4. ChatGPT can function remarkably well as a brainstorming tool and potential sounding board.
5. ChatGPT can also help automate customer service emails. It can also create sales emails that notify
your customers about discounts or other promotions. ChatGPT can produce these emails in a variety of
languages as well.
6. One area where ChatGPT shines is in its explanatory power. Because the tool has ingested huge
amounts of data, it can answer almost any question to some degree, with the exception of current
events.
7. ChatGPT-powered chatbots have the benefit of using the most cutting-edge AI tools. This
technology means ChatGPT can generate responses as opposed to using stock responses that best
match a customer’s inquiries.
8. ChatGPT is set to shake up many industries, especially HR and hiring roles. One area where the tool
can really shine is in helping to develop interview questions. It can increase the complexity of the
questions to match the role.
9. While ChatGPT is not capable of fully replacing web developers and designers, it can help generate
stand-in web pages. This can be particularly helpful for quickly iterating through various designs to
settle on a final layout and feel, as well as providing a starting point for further development.
6
Tips for using ChatGPT for small business
The tool can help provide the first steps for multiple different types of tasks. Intelligent use of
ChatGPT can free up time for workers to pursue more advanced projects. However, there are pitfalls to
using the tool. Whenever you use ChatGPT for any function, follow these best practices:
● Fact-check : ChatGPT knows a lot about almost everything. Even so, it is not foolproof.
Always fact-check anything ChatGPT writes, especially if it’s for outside consumption. Treat
ChatGPT’s output as a rough draft.
● Proofread : Like fact-checking, always proofread any output from ChatGPT. While the tool
can match different tones, ensure that the tone used matches your brand voice and style.
● Push the program : If you’re not satisfied with an answer from ChatGPT, provide it additional
directions and ask it to try again. The tool has a set amount of memory that it can use to rework
responses to better match your desired outcome.
● Avoid using ChatGPT to create entire articles : You might be tempted to use ChatGPT to
entirely generate articles or online content. However, avoid using ChatGPT for content that
will be posted online without modification. Search engines may penalize fully chatbot-written
text. Instead, think of ChatGPT as a starting point.
● Check any code produced : Much like with writing, any code produced by ChatGPT should
be checked for errors, vulnerabilities or quirks. While ChatGPT is a capable coder, all of its
output should be double checked — especially before being put anywhere sensitive, like a
payment site.
● Never enter sensitive information : ChatGPT is a third-party service that may store any
entered data for future AI training purposes. Entering sensitive data into the program may
constitute a breach of privacy regulations, such as the European Union’s GDPR.
7
● One of the biggest tasks for marketers is content creation. While it takes an
exceptional marketer to have an accurate pulse on the culture, ChatGPT can
certainly make content creation smoother. ChatGPT can write product descriptions,
headlines, blog posts, call-to-actions and other written content and make it sound
just like a human.
Marketers can create compelling content in a fraction of the time with the assistance of
ChatGPT, including:
1. Blog posts: Marketers can enter keywords and specific requirements into ChatGPT, and the AI
model will create high-quality, original content that is SEO-friendly and engaging for the target
audience.
2. Social media posts: ChatGPT can generate social media posts for various platforms, including
Facebook, Twitter and LinkedIn.
3. Video scripts: ChatGPT can generate video scripts for marketing and promotional videos.
customer behavior and preferences. Marketers can utilize AI to ensure emails are tailored to
each customer based on interests and buzzwords
8
● Customer service : ChatGPT is an excellent resource for providing 24/7 customer
support, so your ecommerce site is available to consumers no matter their time zone or
shopping needs.
● Social media management : Many brands have turned to automation for social
media. There are several platforms out there that handle scheduling, streamlining and
optimization.
● Voice assistance : The more inclusive and accommodating a business can be, the better
natural advertising it gets. Integrate ChatGPT into voice assistants, like Amazon Alexa or
Google Home, to provide a more inclusive customer service experience.
9
2. Analyzing feedback: The program can analyze customer feedback, measure it
against critical trends and generate a detailed report so marketers can better
understand customer preferences and perceptions.
10
● Search engine optimization : SEO refers to the amount of web traffic your
ecommerce business gets and the relevance of that traffic to your business.
1. Keywords: The AI will search its widespread database to generate a list of
relevant keywords based on a given prompt or topic. Marketers can then use
those keywords to optimize content and copy.
2. Meta descriptions: Relevant meta descriptions help improve the
click-through rate on search engine results pages. ChatGPT uses its data to
generate meta descriptions that can improve those rates.
3. Link building: Links are all about being strong, relevant and ethical.
ChatGPT can generate links to improve an ecommerce site's search engine
ranking.
● Data Organization :There is so much data that tracking marketers must organize to stay
at the forefront of their audience's needs. Often, the easiest way to keep track of data is through
a spreadsheet like Excel or Google Sheets. However, if marketers have yet to be trained in
spreadsheet formulas, it can be a very frustrating and time-consuming practice to be
tasked with. ChatGPT can take that frustration away.
Even though ChatGPT is one of the most advanced artificial intelligence language programs, it does
have its limitations.
1. ChatGPT cannot perform physical tasks, like handling physical products, conducting in-person
market research or contributing personality to team meetings.
11
2. While ChatGPT is incredibly intelligent, its database is the Internet not everything you read online
is true. Therefore, there is no 100% guarantee of accuracy when using the tool. Marketers should
always verify the accuracy of their interactions with ChatGPT.
3. There is no substitute for human decision-making. ChatGPT can analyze endless data and make
calculated recommendations, but there is no replacement for the gut instinct of a marketer.
ChatGPT is a powerful AI program that marketers can use to enhance the efficiency and accuracy of their
campaign efforts.
From lead generation and content creation to customer support and search engine optimization,
ChatGPT is a tool that marketers can implement to save time, effort and money while still producing
high-quality ideas.
12
Open AI Text Classifier
OpenAI released its own kryptonite called AI Text Classifier. The ChatGPT detector aims to
distinguish