This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a basic workflow to help you get started with Actions | |
| name: Deploy to Raspberry Pi | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the main branch | |
| push: | |
| branches: [ main ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # We need to add arm64v8 architecture type to run it on RaspberryPi or other ARM based devices | |
| FROM arm64v8/python:3 | |
| WORKDIR /usr/src/app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| gunicorn -w 1 -b 0.0.0.0:4000 app:app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dockerfile | |
| __pycache__/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a basic workflow to help you get started with Actions | |
| name: Deploy to Raspberry Pi | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the main branch | |
| push: | |
| branches: [ main ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| df_wine = pd.read_csv('https://archive.ics.uci.edu/ml/' | |
| 'machine-learning-databases/wine/wine.data', | |
| header=None) | |
| df_wine.head() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sklearn.model_selection import train_test_split | |
| from sklearn.preprocessing import StandardScaler | |
| # split into training and testing sets | |
| X, y = df_wine.iloc[:, 1:].values, df_wine.iloc[:, 0].values | |
| X_train, X_test, y_train, y_test = train_test_split( | |
| X, y, test_size=0.3, | |
| stratify=y, random_state=0 | |
| ) | |
| # standardize the features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| cov_mat = np.cov(X_train_std.T) | |
| eigen_vals, eigen_vecs = np.linalg.eig(cov_mat) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basics": { | |
| "name": "Megha Goyal", | |
| "label": "WFM Business Partner | Chief of Staff | MIS Executive", | |
| "email": "meghagoyal0602@gmail.com", | |
| "phone": "+91-90961 69255", | |
| "location": { | |
| "address": "Wagholi", | |
| "city": "Pune", | |
| "region": "Maharashtra" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basics": { | |
| "name": "Peeush Agarwal", | |
| "label": "Principal MLOps Engineer | AI Infrastructure & LLM Systems", | |
| "email": "agarwal.peeush@gmail.com", | |
| "phone": "+91 82377 28795", | |
| "location": { | |
| "city": "Pune", | |
| "region": "Maharashtra", | |
| "countryCode": "IN" |
OlderNewer