Skip to main content

This is a python library that can help predict when will next epidemic happen (relatively). MAY NOT BE ACCURATE

Project description

# Epidemic Python Library ### Introduction This Python Library (pip package) is created by Boyuan Liu, with purpose to help global officials to understand that the danger of epidemic. Realize that the ultimate ending (assume we have one) for human is more likely to be a pandemic rather than nuclear warface. Also realize that we are not prepared for a pandemic, from Ebola to ongoing Coronavirus.

## Functions Description/Usage This python package provide following functions for users: - Linear Regression - This can help analysts to find a line of best fit based on provided data. In this package, it’s commonly used as to make prediction. Example Usage: `python from epidemic import linear_regression """use an input list, output list, and input to predict""" linear_regression([1, 2, 3, 4, 5], [282, 314, 581, 846, 1320], 59) # return 15273.400 ` - Graph, function usage similar to linear regression, it provides a graph with all datapoints and a line of best fit. Example usage: `python from epidemic import graph """provide two list represent datapoint""" graph([1, 2, 3, 4, 5], [282, 314, 581, 846, 1320]) # graph shown below ` ![](https://i.imgur.com/Dg5MYTK.png) - Predict, this is a class that contains and predict following attributes by given year: population, climate_change, democracy_index, poverty, gdp, life_expectancy, global_health_gdp_average, flights. Example Usage `python from epidemic import Predict Predict(2020).population() ` - Predict_Epidemic, this is my favorite function to implement, this function start with current year (2020), then it based on probability gives from each category above, with a special algorithm, to calculate the probability of the epidemic happening. Example Usage: `python from epidemic import Predict_Epidemic Predict_Epidemic() # try it on your own, don't want to spoil ` - Predict_Virus_Growth, this is another analysis tool that able to predict how many people will get infected/death cause by a certain virus. Example Usage: `python from epidemic import Predict_Virus_Growth Predict_Virus_Growth([1, 2, 3, 4, 5], [282, 314, 581, 846, 1320], 59) `

### Installation To install, type following command: `bash pip3 install epidemic ` to install this python library.

# Disclaimer This python library shall not guaranteed that it will give correct output, especially when using Predict and Predict_Epidemic. However, this library does created based on a lot of researches done in the past.

# Author This is created by Boyuan Liu, if you have any question or comment want to make, please [send an email](mailto:boyuanliu6@yahoo.com?subject=[Pypi]%20epidemic%20comments) to me.

# Video Coming Soon!

# Sources: - [Climate Change Data](https://data.giss.nasa.gov/gistemp/graphs/graph_data/Global_Mean_Estimates_based_on_Land_and_Ocean_Data/graph.txt) - [Democracy Index Data](https://en.wikipedia.org/wiki/Democracy_Index#Democracy_Index_by_region) - [Poverty Rate](https://data.worldbank.org/topic/poverty) - [GDP](https://www.worldometers.info/gdp/) - [Life Expectancy](https://data.worldbank.org/indicator/SP.DYN.LE00.IN) - [Global Health Spending (GDP Average)](https://www.healthsystemtracker.org/chart-collection/health-spending-u-s-compare-countries/#item-since-1980-the-gap-has-widened-between-u-s-health-spending-and-that-of-other-countries___2018) - [Flights](https://www.statista.com/statistics/564769/airline-industry-number-of-flights/)

Thanks for reading and use this python library.

Version 0.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epidemic-0.0.1.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file epidemic-0.0.1.tar.gz.

File metadata

  • Download URL: epidemic-0.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for epidemic-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8c2133167076e58b3ace888f1c6242240eb74ec7d5c8060ccad09b4808db3776
MD5 530a0ed41359518c98379a876ef4a8dc
BLAKE2b-256 fe1584fe94ad774ded9d5bb35914587d202fc48121841fa89333e70fd3dc5b28

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page