This repository was archived by the owner on Jun 29, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Image Converter:
Image
module from the PIL library to open and save images in different formats. It checks the input image format and converts it to the desired format using theconvert()
method.compress_image()
function takes the input image path, desired output path, and format as input parameters. It opens the input image, converts it to the desired format, and saves the converted image to the output path.Data Analysis with Pandas:
load_dataset()
function, converting it to a Pandas DataFrame, and then performing various data analysis tasks using Pandas methods such asdescribe()
,info()
,isnull()
,groupby()
, and visualization usingmatplotlib
orseaborn
.Linear Regression with Scikit-learn:
LinearRegression
class to create a linear regression model, train it on the Boston housing dataset, and evaluate its performance on training and testing data. It also plots residuals to assess the model's performance.Image Compression:
compress_image()
function accepts input image path, output image path, and compression quality as input parameters. It opens the input image, applies compression techniques to reduce its size while maintaining quality, and saves the compressed image to the output path.