/LogisticRegression-BreastCancer

Simple code for Logistic regression via Torch.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Logistic Regression Breast Cancer

The example codes above are related to a logistic classification for the diagnosis of benign or malignant breast cancer.

For this issue, the dataset available in the link below has been used. https://github.com/Sutanoy/Public-Regression-Datasets/blob/main/bdiag.csv (Also available in Dataset folder)

Run the Main.py file to run the code. After running the code, you will need to specify the following.

  • The dataset path
  • The number of iteration steps (Epochs)
  • Data validation percentage
  • Test set percentage
  • Learning rate
  • Batch size
  • Optimizer model