Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,59 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
This project seeks to use machine learning to predict the species of an iris flower, given information on its petals and sepals. It also features an interface that makes it easier for users to interact with the model to predict the specie of an iris flower.
|
6 |
-
|
7 |
-
It comes as a challenge from the **Slightly Techie** community.
|
8 |
-
|
9 |
-
## Process Description
|
10 |
-
|
11 |
-
The process begins with exporting the necessary items from the notebook, building an interface that works correctly, importing the necessary items for modelling, and then writing the code to process inputs. The process can be summarized as:
|
12 |
-
|
13 |
-
- Export machine learning items from notebook,
|
14 |
-
- Import machine learning items into the app script,
|
15 |
-
- Build an interface,
|
16 |
-
- Write a function to process inputs,
|
17 |
-
- Pass values through the interface,
|
18 |
-
- Recover these values in backend,
|
19 |
-
- Apply the necessary processing,
|
20 |
-
- Submit the processed values to the ML model to make the predictions,
|
21 |
-
- Process the predictions obtained and display them on the interface.
|
22 |
-
|
23 |
-
## Installation
|
24 |
-
|
25 |
-
To setup and run this project you need to have [`Python3`](https://www.python.org/) installed on your system. Then you can clone this repo. At the repo's root, use the code from below which applies:
|
26 |
-
|
27 |
-
- Windows:
|
28 |
-
|
29 |
-
python -m venv venv; venv\Scripts\activate; python -m pip install -q --upgrade pip; python -m pip install -qr requirements.txt
|
30 |
-
|
31 |
-
- Linux & MacOs:
|
32 |
-
|
33 |
-
python3 -m venv venv; source venv/bin/activate; python -m pip install -q --upgrade pip; python -m pip install -qr requirements.txt
|
34 |
-
|
35 |
-
**NB:** For MacOs users, please install `Xcode` if you have an issue.
|
36 |
-
|
37 |
-
You can then run the app (still at the repository root):
|
38 |
-
|
39 |
-
- App built with Gradio Interface
|
40 |
-
|
41 |
-
python app.py
|
42 |
-
|
43 |
-
- With `inbrowser = True` defined, it should open a browser tab automatically. If it doesn't, type this address in your browser: <http://127.0.0.1:7860/>
|
44 |
-
|
45 |
-
## Screenshots
|
46 |
-
|
47 |
-
<table>
|
48 |
-
<tr>
|
49 |
-
<th>Gradio App Interface with a Prediction</th>
|
50 |
-
</tr>
|
51 |
-
<tr>
|
52 |
-
<td><img src="screenshots\App_Interface.png"/></td>
|
53 |
-
</tr>
|
54 |
-
</table>
|
55 |
-
|
56 |
-
## Contact Information
|
57 |
-
|
58 |
-
- [Kwame Otchere](https://kodoi-oj.github.io/)
|
59 |
-
- [![Twitter](https://img.shields.io/twitter/follow/kwameoo_?style=social)](https://twitter.com/kwameoo_)
|
|
|
1 |
+
title: {{Iris_Flower_Specie_Prediction}}
|
2 |
+
app_file: app.py
|
3 |
+
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|