Ahishek file
Ahishek file
(Devasthali)
Assignment: 03
In supervised learning, algorithms are trained on labeled data, where the correct output
is provided for each input.
* Linear Regression: Predicts a continuous numerical value based on input features.
* Logistic Regression: Predicts the probability of a binary outcome (e.g., 0 or 1, yes or
no).
* Decision Trees: Creates a tree-like model of decisions and their possible
consequences.
* Random Forest: An ensemble method that combines multiple decision trees to
improve accuracy.
* Support Vector Machines (SVM): Finds the optimal hyperplane to separate data
points into different classes.
* Naive Bayes: Assumes independence between features to calculate the probability of
a class.
* K-Nearest Neighbors (KNN): Classifies data points based on the majority class of their
nearest neighbors.
2. Unsupervised Learning
Ans:
(a). Convolutional networks: Convolutional Neural Networks (CNNs) are a type of deep
learning architecture primarily used for image and video analysis tasks. They excel at
recognizing patterns and features within visual data.
• Key Components of CNNs:
* Convolutional Layers: These layers apply filters (kernels) to the input image,
extracting features like edges, corners, and textures.
* Pooling Layers: These layers reduce the spatial dimensions of the feature maps,
helping to reduce computational cost and prevent overfitting.
* Fully Connected Layers: These layers connect all neurons from one layer to all
neurons in the next layer, similar to traditional neural networks. They are responsible
for making final predictions or classifications.
• Advantages of CNNs:
* Feature Learning: CNNs automatically learn relevant features from data, reducing the
need for manual feature engineering.
* Invariance to Translation: CNNs are robust to small shifts or translations in the input
image.
* Hierarchical Feature Learning: CNNs learn features at different levels of abstraction,
from simple edges to complex objects.
• Applications of CNNs:
* Image Classification: Identifying objects within images (e.g., cat, dog, car).
* Image Segmentation: Pixel-level classification of images (e.g., medical image
segmentation).
* Image Generation: Creating new images or modifying existing ones (e.g., style
transfer, image synthesis).
CNNs have revolutionized computer vision and have found applications in various
fields, including autonomous vehicles, medical image analysis, and robotics.
(b). Natural Language Processing: NLP is a field of computer science and artificial
intelligence that focuses on the interaction between computers and human language. It
aims to enable machines to understand, interpret, and generate human language in a
meaningful way.