Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.07 KB

File metadata and controls

28 lines (18 loc) · 1.07 KB

Assignment 2 readme

Datasets:

  1. Heart Disease Dataset: Download from: https://www.kaggle.com/datasets/fedesoriano/heart-failure-prediction/data

Before running:

  1. Ensure that all the packages mentioned in requirements.txt is present in your env
  2. Download, if not present the datasets - they should be named: heart.csv
  3. For mlrose, it is better to clone mlrose repo: https://github.com/gkhayes/mlrose and then install rather than using pip

Files to run

  1. Neural Network Optimization.ipynb - Optimize NN using Random Hill climbing, Simulated Annealing and Genetic Algorithm
  2. Optimization Algo.ipynb - Random Hill climbing, Simulated Annealing and Genetic Algorithm on 4 peaks and N Queens

How to run:

  1. Clone: https://github.gatech.edu/gt-omscs-ml/cs-7641-2024-fall-nsaji6 2.Start launch jupyter from anaconda
  2. Navigate to Assignment - 2
  3. Choose either: Neural Network Optimization.ipynb or Optimization Algo.ipynb
  4. Run all cells in them sequentially.

Link to overleaf Project: https://www.overleaf.com/read/qbyytrjfqxwr#a0bd3d

Randomized-Optimization