Coder Social home page Coder Social logo

visakh47 / covid-19-severity-detector Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 36.9 MB

Machine learning model to predict the probability of an individual being covid positive based on his set of symptoms, deployed as a web application for general use.

Home Page: https://bit.ly/Covid19HelpApp

Jupyter Notebook 96.10% Python 3.85% Shell 0.05%
machine-learning herokuapp streamlit covid-19 prediction symptoms covid mongodb

covid-19-severity-detector's Introduction

Covid 19 Severity Detector

A Machine Learning model integrated with a front end interface using streamlit UI and deployed via Amazon EC2 instance through which users can predict if they have covid 19 and how severe it is based on the given symptoms and using the COWIN API , we are able to provide vaccination details for each state with multiple filters.

Check out the application here : Covid Help App

To Do :

  • Add Front End Interface [Priority]
  • Find an API(Updated Every Day) for the dataset handling
  • Add Helpul Guidances and Contact Informations
  • Implement Better MongoDB Table for viewing feedback~
  • Create Analytics & Timseries for vaccination rates with ARIMA Model
  • Add Tableau Implementation for Time Series
  • Add User Authentication with SQL
  • Create Feedback form working with mongodb
  • Add COWIN Vaccine Slot Checker
  • Find solution for api call limit succedding

covid-19-severity-detector's People

Contributors

poonam-16 avatar visakh47 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

covid-19-severity-detector's Issues

error theme.base

Traceback (most recent call last):
  File "/usr/local/bin/streamlit", line 5, in <module>
    from streamlit.cli import main
  File "/usr/local/lib/python3.8/dist-packages/streamlit/__init__.py", line 75, in <module>
    from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
  File "/usr/local/lib/python3.8/dist-packages/streamlit/delta_generator.py", line 18, in <module>
    from streamlit import caching
  File "/usr/local/lib/python3.8/dist-packages/streamlit/caching.py", line 40, in <module>
    from streamlit.hashing import Context
  File "/usr/local/lib/python3.8/dist-packages/streamlit/hashing.py", line 39, in <module>
    from streamlit.folder_black_list import FolderBlackList
  File "/usr/local/lib/python3.8/dist-packages/streamlit/folder_black_list.py", line 39, in <module>
    if config.get_option("global.developmentMode"):
  File "/usr/local/lib/python3.8/dist-packages/streamlit/config.py", line 86, in get_option
    parse_config_file()
  File "/usr/local/lib/python3.8/dist-packages/streamlit/config.py", line 992, in parse_config_file
    _update_config_with_toml(file_contents, filename)
  File "/usr/local/lib/python3.8/dist-packages/streamlit/config.py", line 913, in _update_config_with_toml
    _set_option(
  File "/usr/local/lib/python3.8/dist-packages/streamlit/config.py", line 893, in _set_option
    assert key in _config_options, 'Key "%s" is not defined.' % key
AssertionError: Key "theme.base" is not defined.

XLRDError: Excel xlsx file; not supported

apt install python3-pip
git clone https://github.com/Visakh47/Covid-19-Severity-Detector.git
cd Covid-19-Severity-Detector/
pip install streamlit
pip install -r requirements.txt

and next i put this command

streamlit run app.py

show me this in command prompt

  You can now view your Streamlit app in your browser.

  Network URL: http://134.209.75.138:8501
  External URL: http://134.209.75.138:8501

/usr/local/lib/python3.8/dist-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 0.23.1 when using version 0.23.0. This might lead to breaking code or invalid results. Use at your own risk.
  warnings.warn(
/usr/local/lib/python3.8/dist-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator RandomForestClassifier from version 0.23.1 when using version 0.23.0. This might lead to breaking code or invalid results. Use at your own risk.
  warnings.warn(

and in webpage show me this:
SNAG-0620

how solve this pls
tnks

DuplicateWidgetID: There are multiple identical st.button widgets with key='FormSubmitter:my-form3'.

Missing Submit Button

This form has no submit button, which means that user interactions will never be sent to your Streamlit app.

To create a submit button, use the st.form_submit_button() function.

For more information, refer to the documentation for forms.

and show this

DuplicateWidgetID: There are multiple identical st.button widgets with key='FormSubmitter:my-form3'.

To fix this, please make sure that the key argument is unique for each st.button you create.

Traceback:
File "/root/Covid-19-Severity-Detector/app.py", line 671, in <module>
    main()
File "/root/Covid-19-Severity-Detector/app.py", line 515, in main
    formcheck.form_submit_button("CHECK ✔️")

he Forecast of the next 26 days is as such error

AttributeError: 'XAxis' object has no attribute '_gridOnMajor'
Traceback:
File "/usr/local/lib/python3.8/dist-packages/streamlit/script_runner.py", line 349, in _run_script
    exec(code, module.__dict__)
File "/root/Covid-19-Severity-Detector/app.py", line 671, in <module>
    main()
File "/root/Covid-19-Severity-Detector/app.py", line 611, in main
    st.plotly_chart(fig)
File "/usr/local/lib/python3.8/dist-packages/streamlit/elements/plotly_chart.py", line 116, in plotly_chart
    marshall(
File "/usr/local/lib/python3.8/dist-packages/streamlit/elements/plotly_chart.py", line 139, in marshall
    figure = plotly.tools.mpl_to_plotly(figure_or_data)
File "/usr/local/lib/python3.8/dist-packages/plotly/tools.py", line 112, in mpl_to_plotly
    matplotlylib.Exporter(renderer).run(fig)
File "/usr/local/lib/python3.8/dist-packages/plotly/matplotlylib/mplexporter/exporter.py", line 51, in run
    self.crawl_fig(fig)
File "/usr/local/lib/python3.8/dist-packages/plotly/matplotlylib/mplexporter/exporter.py", line 118, in crawl_fig
    self.crawl_ax(ax)
File "/usr/local/lib/python3.8/dist-packages/plotly/matplotlylib/mplexporter/exporter.py", line 123, in crawl_ax
    props=utils.get_axes_properties(ax)):
File "/usr/local/lib/python3.8/dist-packages/plotly/matplotlylib/mplexporter/utils.py", line 272, in get_axes_properties
    'axes': [get_axis_properties(ax.xaxis),
File "/usr/local/lib/python3.8/dist-packages/plotly/matplotlylib/mplexporter/utils.py", line 236, in get_axis_properties
    props['grid'] = get_grid_style(axis)
File "/usr/local/lib/python3.8/dist-packages/plotly/matplotlylib/mplexporter/utils.py", line 246, in get_grid_style
    if axis._gridOnMajor and len(gridlines) > 0:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.