Skip to content

Latest commit

 

History

History
68 lines (60 loc) · 2.16 KB

README.md

File metadata and controls

68 lines (60 loc) · 2.16 KB

Python Jupyter Notebook Bootstrap Flask

Introduction

This repo is the result of a project assignment for a machine learning course at my university which was assisted by other group members. This project is to create a website that can cluster from the models that have been made. This model was created using the KMeans algorithm with 3 clusters that were trained with the seed dataset.

Reminder

This project mostly use Bahasa Indonesia in the documentation but if you read the code it will be easy without having to understand Bahasa Indonesia

Link Dataset

Tech

This project uses a number of open source projects to work properly:

  • HTML, CSS, and JS
  • Python
  • Flask
  • VSCode
  • Jupyter Notebook
  • Google Colab

Installation

Clone this repository

https://github.com/otakmager/projectML-ClusteringWeb.git

Open CMD and install flask

pip install Flask

Move to work directory (cloned repo)

cd projectML-ClusteringWeb

Make python environment

py -3 -m venv venv

Activate the environment

venv\Scripts\activate

Make sure you have installed numpy, pandas, and scikit learn, if not you must install with this prompt in CMD

pip install numpy
pip install pandas
pip install -U scikit-learn scipy matplotlib

Open VSCode

Change python interpreter to global version 

In active CMD or via terminal VSCode in working directory run flask

set FLASK_APP=app.py
set FLASK_ENV=development
flask run

Open browser and paste the link from flask

ex: http://127.0.0.1:5000

Finish