This project contains machine learning classifiers for predicting flower types and Titanic survival.
The project is divided into two main parts: the backend and the frontend.
The backend is written in Python and uses Flask for the web server. It contains three classifiers:
- Flower Classifier using Decision Trees (
FlowerClassifierTrees
) - Flower Classifier using Random Forest (
FlowerClassifierRandomForest
) - Titanic Survival Classifier (
TitanicSurvivalClassifier
)
The backend server provides endpoints for training the classifiers and making predictions.
The frontend is a React application written in TypeScript. It provides a user interface for interacting with the classifiers.
- Install the Python dependencies for the backend:
cd backend
pip install -r requirements.txt
- Start the backend server:
python app.py
- Install the JavaScript dependencies for the frontend:
cd frontend
npm install
- Start the frontend server:
npm run dev
Now you can open your browser and navigate to http://localhost:5173 to interact with the application.