File size: 1,841 Bytes
3df0075 ecff3dd 3df0075 6d55ace 3df0075 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models
# Software And Tools Requirements
1. [Github Account](https://github.com)
2. [Hugging Face](https://www.huggingface.com/)
3. [VSCodeIDE](https://code.visualstudio.com/)
4. [GitCLI](https://git-scm.com/book/en/v2/Getting-Started-The-Command-Line)
---
tags: [iris, flower, classification, machine learning, python]
datasets:
- custom_dataset_name
- iris_dataset
license: Apache-2.0
---
# IRIS Flower Classification using Machine Learning Models
This repository contains code and resources for training and deploying machine learning models for IRIS flower classification.
Create a new environment
```
conda create -p venv python==3.10.14 -y
```
Activating Environment
```
conda activate venv/
```
Install Requirements
```
pip install -r requirements.txt
```
Docker image run steps
```
docker build -t flask .
docker run -it -p 7860:7860 flask
docker ps
```
Hugging face deployment steps
https://huggingface.co/docs/transformers/model_doc/pegasus
```
pip install transformers
pip install torch
import torch
git clone https://github.com/huggingface/transformers.git
huggingface-cli login
```
Configure user name
```
git config --global user.name "Gnaneshwari"
git config --global user.name
```
Configure user email
```
git config --global user.email "gnaneshwari.m2009@gmail.com"
git config --global user.email
```
Adding Files to github
```
git init
git add requirements.txt
git add .
```
Checking the Status of git push
```
git status
```
Commit files to git
```
git commit -m "This commit includes requirements.txt and readme files"
```
Config email for first time
```
git config --global user.email "gnaneshwari.m2009@gmail.com"
```
Pushing files in git
```
git push origin main
```
To Validate Json
```
https://jsonlint.com/
```
|