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.1.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.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mentalweather-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 906d9e4167acab79d371f3684a8abd38d6251be5b9a1be3b21dbcec87f4a9da4
MD5 30fa682075fd457208a2cd649a9d4b63
BLAKE2b-256 0c9b1684b3e9e8797ab9456f99a2b7c8d9a99eb0888929c8ddc71aacbc713f1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mentalweather-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a70c7ae928f0df1781feafc16488c15938f8b91f8846b44f31b33f97536b6c34
MD5 fb513b9b7b63b2ff9b6d22e73a86c1ea
BLAKE2b-256 13eed7be652edca3e4055e16cde249103ce9d122f1bc294ba37965f143324a1f

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