Skip to main content

A package including the analysis of relationship between mental disease and weather and an application based on the ML model

Project description

This package includes the analysis of relationship between mental disease and weather and an application based on the trained ML model.

"mw_data_analysis" folder:

  1. eda.py: containing the functions for EDA, ex. making pairplots and global map.
  2. WeatherRegression.py: It is designed as a class for the reason that more ML method will be added. The stacking regressor used in the application and demo .ipynb file is here.
  3. make_weather_history_data.py: used for fetching the global history weather data. It took hours to complete fetching weather data worldwide for the past dacade, so only run it when you need data for years not in range [2012 ~ 2021]
  4. the weather data saved from running 3. and IHME disease statistics for training.(informations/, incidence/, prevalence/)
  5. "app.py": This is an application making prediction with the Regression model

"data_analysis_demo.ipynb": a jupyter notebook demostrating the exploratory data analysis of the mental disease data and history weather data, serving as interactive visualization UI.

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

mentalweather-0.0.2.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mentalweather-0.0.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file mentalweather-0.0.2.tar.gz.

File metadata

  • Download URL: mentalweather-0.0.2.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for mentalweather-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5a7504668d83daa6e426cbd6eedfaa7029812566568502bfe895273495e0f0d2
MD5 dbce42d90abe14a6fa316f0278b89d0a
BLAKE2b-256 38caad433ce017c66ed2c0d6c6ca9cc10e8febdf311dcc78de2ad243a8404683

See more details on using hashes here.

File details

Details for the file mentalweather-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mentalweather-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for mentalweather-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a971a8598032cefbb54225bdb900d5949ec734f216e340f78fac52d371ca4c32
MD5 881a78e064ff418b4b815acdfaf9f03f
BLAKE2b-256 d649e357d095dda64fdf0f63c1a384b7e84e4216164af8a4aa38a914451a067f

See more details on using hashes here.

Supported by

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