/BasaltChemistryExploration

Primary LanguageJupyter NotebookMIT LicenseMIT

Ocean Basalts

Basalt's Chemistry Analysis to Determined Tectonic Setting using Machine Learning Algorithms

Screenshot 2023-05-11 at 12 48 47 AM

This is a project being conducted by Jenifer Vivar, the Geology department of the city college of New York and the computer science department of the City College of New York, as part of the thesis project for my graduate studies. To find out more, visit my Google site: https://sites.google.com/view/jenifervivarfinalthesis/home

The project uses data obtained from the EartChem website. The data is maintained by different colleges and is sponsored by the Natural Science Foundation. The data can be found here: https//www.earthchem.org/data-access/

The first part of the project consisted of using Logistic Regression and Random Forest algorithms to explore what each model determined to be the most "important" features for classification. The techniques used to reduce bias in the feature selection were recursive feature elimination RFE and a permutation algorithm.

perm_rfe_models

The second part of the project focused on determining a way to detect mislabeled data. This was approached by determining outliers in the data. Many algorithms can be used for this purpose, and they all have strengths and weaknesses. The idea here was to diversify an ensemble method by combining their approaches via majority voting. The ensemble works as follows: First, all algorithms determine what they believe to be outliers, then voting is done, and the features with the more votes are selected, then dummy_y values are created, assigning one to suspected outliers and 0 to all others values, finally, the dummy y values are passed to a function that will determine if is probable that the sample is an outlier.

Screenshot 2023-05-11 at 1 29 06 AM