Skip to content

meminciftci/CMPE462-ML-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMPE462-ML-Project

Welcome to the Machine Learning Project of Süleyman, Hüseyin, and Muhammet. This is the README file for how to run the models on your local machine using terminal commands.

  • Open the folder in which the project presents.

  • Create a virtual environment with the below command:
    python3.12 -m venv venv

  • Get inside of the virtual environment:
    .\venv\Scripts\activate

  • Install the requirements:
    pip install -r requirements.txt

  • Execute the below command to enter the models folder:
    cd models

  • Execute the below command to run svm_from_scratch.py file:
    python svm_from_scratch.py

  • By using the same method, you can execute any .py file inside the models directory:
    python model_name.py

  • Relevant output will be shown on the terminal.

  • There are also two more Jupyter files that can be run using the UI Jupyter provides. These two files are:
    knn.ipynb
    xgboost.ipynb

About

The work done for CMPE 462 Machine Learning course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •