Skip to content

Alomair02/mnist-xgboost-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

1. Creating a Conda Environment

Before proceeding, create and activate a conda environment with Python 3.12.10:

conda create --name digit-recognizer-env python=3.12.10 -y
conda activate digit-recognizer-env

2. Unzipping the Dataset

Unzip the digit-recognizer.zip file into the data directory by running the following command:

unzip digit-recognizer.zip -d data

3. Installing Requirements

Install the required dependencies using the requirements.txt file. You can use either conda or pip as the package installer:

pip install -r requirements.txt
# or
conda install --file requirements.txt

4. Running the Script

Run the main.py script with the following example arguments:

python main.py --n_splits 5 --num_rounds 500 --data_directory data

About

MNIST digit classification with XGBoost and Python data preparation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages