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
#importing required libraries | |
from scipy.stats import poisson | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
#creating the Poisson distribution | |
data = poisson.rvs(mu=3, size=10000,random_state = 93) | |
#plotting the data | |
ax = sns.distplot(data, |
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 typing import Union | |
import uvicorn | |
import numpy as np | |
import pandas as pd | |
import pickle as pk | |
from sklearn.linear_model import LogisticRegression | |
from fastapi import FastAPI | |
from pydantic import BaseModel | |
app = FastAPI() |
OlderNewer