This project uses machine learning to detect the presence of ethylene and methane in a gas mixture. The
project is divided into two parts:
- Data preprocessing
- Model training and evaluation
The first step is to preprocess the data.
This involves:
- Reading the data from a CSV file
- Dropping any rows with missing values
- Splitting the data into training and test sets
- Standardizing the features
Once the data has been preprocessed, we can train and evaluate a model.
We will use a variety of machine learning models, including:
- Linear discriminant analysis (LDA)
- Quadratic discriminant analysis (QDA)
- Logistic regression
We have evaluated each model using accuracy, precision, recall, and F1 score.
The best performing model is Logistic Regression, with an accuracy of 94% on the test set.
This project demonstrates the use of machine learning to detect the presence of ethylene and methane in a gas mixture. The results show that LDA is a promising model for this task.