Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chemicals in Cosmetics Analysis #448

Merged
merged 2 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Chemicals in cosmetics analysis/Dataset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## DATASET

Dataset can be found at below link.

https://www.kaggle.com/datasets/willianoliveiragibin/chemicals-in-cosmetics
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,912 changes: 2,912 additions & 0 deletions Chemicals in cosmetics analysis/Model/Chemicals_in_Cosmetics_Analysis.ipynb

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions Chemicals in cosmetics analysis/Model/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Goals
Analysis of chemicals in cosmetics.

# Dataset
https://www.kaggle.com/datasets/willianoliveiragibin/chemicals-in-cosmetics

# Work Done
* Cleaned the dataset.
* Analyzed the data and found insights and plotted graphs accordingly etc.

# Libraries needed
* Numpy
* Pandas
* Matplotlib
* missingno

# Plots
![cosmetic_products_with_5_or_more_chemicals](https://github.com/ellow0rld/ML-Crate/assets/116413038/a1bc43ce-527d-44cb-bd46-5f880bf18651)
![categories_with_5_or_more_chemicals](https://github.com/ellow0rld/ML-Crate/assets/116413038/38b0cb15-b334-44d2-bb39-3734e4582925)
![commonly_used_chemical](https://github.com/ellow0rld/ML-Crate/assets/116413038/e31acb90-d921-49a8-9f52-ffaf213d91e5)
![cosmetic_brands_with_3_or_more_avg_no_of_chemicals](https://github.com/ellow0rld/ML-Crate/assets/116413038/ee03496b-1abb-469c-8ff1-38ed7c2a26d3)
![cosmetic_companies_with_3_or_more_avg_no_of_chemicals](https://github.com/ellow0rld/ML-Crate/assets/116413038/5965b2f3-da35-46c1-a039-86299749d953)
![brand_names_with_highest_no_of_products](https://github.com/ellow0rld/ML-Crate/assets/116413038/c248766a-ad3d-45b0-98db-115db9142b7f)
![cosmetic_companies_with_highest_number_of_products](https://github.com/ellow0rld/ML-Crate/assets/116413038/7e84a183-3634-4bf3-8772-3b10ce2ba420)

# Conclusion
- Most of the famous cosmetic companies use toxic chemicals in their products. It's best to check the ingredients before purchasing these items.
- Makeup products have the highest amount of chemicals compared to other products. Among them, hair and skin care products have the highest concentrations.
- Titanium dioxide is used in the majority of the products.

# Contributed by
Madhu Shree Aravindan

Github - https://github.com/ellow0rld
4 changes: 4 additions & 0 deletions Chemicals in cosmetics analysis/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
numpy==1.21.4
pandas==1.3.5
matplotlib==3.5.1
missingno
Loading