/breast-cancer-genetic-algorithm

this is a breast cancer detection project using genetic algorithm

Primary LanguageJupyter Notebook

breast-cancer-genetic-algorithm

In this project, we use the concept of genetic algorithms and random search to choose the best features from the dataset to get the best results with least features.

Dataset

The dataset used in this project is not specified, and users can input their own dataset as required. You can Use it with any Data you specify here we use it with Breat cancer dataset.

Approach

The approach involves the following steps:

  1. Split the dataset into training and testing datasets.
  2. Train different classification models using the training dataset.
  3. Evaluate the performance of each model using the testing dataset.
  4. Implement a genetic algorithm to select the best features that optimize the classification model's performance.
  5. Generate a new population by selecting the fittest chromosomes, applying crossover, and mutation.
  6. Evaluate the new population's fitness and repeat steps 5 and 6 for a specified number of generations.
  7. Select the best feature subset found during the genetic algorithm's iterations.