AI Lab File
AI Lab File
Objective - Applying Linear Regression - Utilize different classes in Python and visualize the Linear
regression algorithm. Also check the different Error values.
Working - This experiment demonstrates fitting a linear regression model, visualizing the fit, and
calculating error values.
Working - Logistic Regression is a supervised learning algorithm used to predict categorical outcomes.
Here, it will help classify patients based on the likelihood of heart disease.
Working - Ensemble learning combines multiple models to improve performance. Random Forest, an
ensemble method, builds multiple Decision Trees to reduce overfitting and improve accuracy.
Working - K-Means is an unsupervised learning algorithm that groups data into clusters based on feature
similarity. The algorithm iteratively assigns data points to clusters and adjusts the cluster centroids until
convergence.
Working - Logistic Regression is a classification algorithm that predicts probabilities of binary outcomes.
It is commonly used in binary classification problems.
Working - This experiment implements a CNN for classifying handwritten digits in the MNIST dataset.
The CNN model uses convolutional layers to automatically extract features and a fully connected layer for
classification.
Working - This experiment involves using OpenCV to preprocess images and a deep learning model (such
as a CNN) to perform sentiment analysis based on the image content, specifically recognizing facial
expressions that can indicate emotions such as happiness, sadness, or anger.
Working - Recurrent Neural Networks (RNNs) are designed to handle sequence data. LSTM is a type of
RNN that is well-suited for learning long-term dependencies in sequences, addressing the vanishing gradient
problem.