Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Interactive COVID-19 Dashboard With Chatbot and Prediction Capabilities
Data Visualization

Interactive COVID-19 Dashboard With Chatbot and Prediction Capabilities

Last Updated on January 11, 2021 by Editorial Team

Author(s): Daksh Trehan

Data Visualization

A Practical Way to show-off Machine Learning skills and help the globeΒ around.

COVID-19 can be marked as the preeminent highlight of the decade, and the vague information spread can be regarded as a matter of concern. Due to which several data visualization researchers and professionals are involved in delivering widely used tools for a better public explanation.

Joining the list of practitioners, we’ve designed a Live Interactive Covid-19 Dashboard that included dynamic visualization of frequently updated worldwide data, along with a chatbot to help and solve queries of neophytes, and a predictor that is capable of predicting active cases, recovered cases, casualties worldwide and for different countries using Machine Learning Techniques.

Dashboard Homepage

Content Table:-

  1. Data Procurement and Preparation
  2. Dynamic Deployment ofΒ Stats
  3. Chatbot
  4. Predicting theΒ Outbreak
  5. Link to Resources

Data Procurement and Preparation

The dataset that has been used in prediction and modeling tasks is fetched from repository β€œ2019 Novel Corona Virus Visual Dashboard” managed by Center for Systems Science and Engineering (CSSE) at Johns Hopkins University, also, Supported by ESRI Living Atlas Team and the Johns Hopkins University Applied Physics Lab (JHUΒ APL).

The data fetched is parametrized that included relevant parameters like State, Country, Latitude, Longitude, and Date. A separate dataset has been used to understand better Confirmed, Death, and Recovered cases.

Dynamic Deployment ofΒ Stats

The data fetched from the above-mentioned repository is cleaned and made usable using several Data Cleaning techniques.

To deploy stats in a dynamic and lively way, JavaScript is employed, and the program is put on the web using HerokuΒ Server.

Salient Features of Dashboard:

Download the chart in VariousΒ Formats
Rolling Mean vs. Daily Cumulative Data
Tabular Representation and Last 6 days count for Various countries

ChatBot

To make our dashboard more usable to neophytes or people with limited knowledge about the deadly Corona Virus, we’ve tried to employ a chatbot that can help to solve queries regarding the Pandemic outbreak.
The data is procured from the Frequently Asked Questions section of the official website of the Center for Disease Control and Prevention using requests and the BeautifulSoup library. The data includes 70 different questions regarding general awareness towards Novel 2019 Coronavirus. The queries and their solutions are collected separately and dumped in JSON files, which are then aggregated to create a useful data frame.
Following up with the chatbot, the Bag-of-Word model was employed using TF-IDF Vectorization. As usual, we can’t directly feed textual data to our model, and rather we need to convert them to feature vectors. This is where TF-IDF helped. It stands for β€œTerm Frequency-Inverse Document Frequency” that stores components of resulting scores assigned to each word. Some words like β€œthe”, β€œis” might appear a lot often in our document, but that certainly isn’t going to help our encoded vector. The TF-IDF vector's goal is to calculate the word frequency scores for the highlighted text that are more interesting. β€œTerm Frequency (TF)” calculates the frequency for each word, whereas β€œInverse Document Frequency (IDF)” downscales the score of much frequently occurring word.
Keeping in mind that there is a high chance that users will not enter the same question as fetched and stored in our corpus, though we can expect to match the meaning and insights feeding the same question to our model is far-fetched. To resolve this challenge, we have used Cosine-similarities that is used to determine the similarity between texts regardless of their size. It tends to determine the cosine angle between two vectors that are projected in multidimensional space.

Cosine-Similarity

Predicting theΒ Outbreak

Another salient feature of our dashboard can be regarded as the prediction of active, recovered, and death cases. The data fetch continuous dataset and, therefore, is well suited for regression analysis as it needs to predict from continuous dependent variables from various independent ones. The relation between dependent and independent variables can be defined by the regression mathematical statement's coefficient of both variables.

Since Linear Regression is supervised learning, therefore, we need to provide it with past data, and to do so, we have collected the data from β€œ1 Jan 2020” and provided it with actual value to plot the hyperplane and predict future values each for Active, Recovered and DeathΒ cases.

SVM Regression followed the same trend. SVM is basically used as a classifier, but when we try to increase the margin rather than decrease it, it shows the property of regression and can be used for prediction modeling.

Predicting Recovered Worldwide Cases:

Predicting worldwide DeathΒ Cases:

Predicting Death cases for theΒ US:

Link to Resources

Link to the repository: dakshtrehan/Interactive-Covid-19-Dashboard

Link to Dashboard: http://interactivecovid19dashboard.herokuapp.com/

Link to Published Paper: COVID 19 Trend Analysis using Machine Learning Techniquesβ€Šβ€”β€ŠIJSER Journal Publication

Link to Portfolio: www.dakshtrehan.com

Feel free toΒ connect:

LinkedIn ~ https://www.linkedin.com/in/dakshtrehan

Follow for further Machine Learning/ Deep LearningΒ blogs.

Medium ~ https://medium.com/@dakshtrehan

Want to learnΒ more?

Are You Ready to Worship AI Gods?
Detecting COVID-19 Using Deep Learning
The Inescapable AI Algorithm: TikTok
GPT-3: AI overruling started?
Tinder+AI: A perfect Matchmaking?
An insider’s guide to Cartoonization using Machine Learning
Reinforcing the Science Behind Reinforcement Learning
Decoding science behind Generative Adversarial Networks
Understanding LSTM’s and GRU’s
Recurrent Neural Network for Dummies
Convolution Neural Network forΒ Dummies

Cheers


Interactive COVID-19 Dashboard With Chatbot and Prediction Capabilities was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.

Published via Towards AI

Feedback ↓