Attendance Management System

Last Updated on May 3, 2021

About

This project is basically concerned with the attendance management system. This software automatically calculates the percentage of attendance. This provides GUI to the user. This software saves the time and reduce the efforts in maintaining the attendance records. It stores the data in SQLite database

Key Learning: - I have learned connectivity between java and database using JDBC. I have learned how to make queries using GUI.

More Details: Attendance Management System

Submitted By


Share with someone who needs it

Heart Attack Prediction

Last Updated on May 3, 2021

About

I did this project in the first semester of my MTech studies at Ahmedabad University. This project is all about predicting the heart attack based on different parameters such as cholesterol, bp, exercise, age, sex, chest pain type, slope, etc. The dataset size was 27 kb. It had 13 columns and 303 rows, I got this dataset from Kaggle. First I did data cleaning in which I removed outliers, null values, duplicate values. After that, I did some data visualization to get insight from the data. During the data visualization, some insights I got from the data were people mostly aged above 40 are suffering/ suffered from a heart attack once in their life, heart rate and chest pain are highly correlated with a heart attack, stress and cholesterol are also one of the main factors of a heart attack, we can see that the patient suffering from heart disease have high cholesterol as compared to the patient not suffering from heart disease. In this project, I have used different machine learning algorithms to predict the Heart attack. I used Logistic regression in which I got 85% accuracy, and decision tree I got 72% accuracy. In the end, there is a decision tree that shows the parameters affecting in order of correlation.

More Details: Heart Attack Prediction

Submitted By


Covid-19

Last Updated on May 3, 2021

About

#!/usr/bin/env python

# coding: utf-8


# In[1]:



import datetime as dt

from datetime import datetime, timedelta

import numpy as np

import pandas as pd

import time as tm

import warnings

warnings.filterwarnings("ignore")

import matplotlib.pyplot as plt


import requests

import json

import itertools 

today = dt.date.today()

print(today)



# In[2]:



country = requests.get('https://api.coronatracker.com/v3/stats/worldometer/topCountry')

world = json.loads(country.text)

world = pd.io.json.json_normalize(world)



# In[3]:



cases_world = pd.pivot_table(world,index=['country'],columns=None,

        values=['totalConfirmed','totalRecovered','totalDeaths']).reset_index()

cases_world['last_update'] = dt.datetime.now()

incases = cases_world[cases_world['country']=='India'].reset_index().drop(columns=['index'])

incr = incases['totalConfirmed'][0]

inre = incases['totalRecovered'][0]

inde = incases['totalDeaths'][0]



# In[4]:



india_datewise = requests.get('https://api.covid19india.org/data.json')


in_date = json.loads(india_datewise.text)['cases_time_series']

in_date = pd.io.json.json_normalize(in_date)

in_date = in_date.iloc[0:len(in_date),[3,0,2,1,4,6,5]]



# In[5]:



in_date['day'] = in_date['date'].str.split(" ",expand=True)[0]

in_date['months'] = in_date['date'].str.split(" ",expand=True)[1]

in_date['year'] = 2020

in_date['month']=0



# In[6]:



for x in range(len(in_date['months'])):

  if in_date['months'][x]=='January':

    in_date['month'][x] = str(1)

   

  elif in_date['months'][x]=='February':

    in_date['month'][x] = str(2)

   

  elif in_date['months'][x]=='March':

    in_date['month'][x] = str(3)

   

  elif in_date['months'][x]=='April':

    in_date['month'][x] = str(4)

   

  elif in_date['months'][x]=='May':

    in_date['month'][x] = str(5)

   

  elif in_date['months'][x]=='June':

    in_date['month'][x] = str(6)

   

  elif in_date['months'][x]=='July':

    in_date['month'][x] = str(7)

   

  elif in_date['months'][x]=='August':

    in_date['month'][x] = str(8)

   

  elif in_date['months'][x]=='September':

    in_date['month'][x] = str(9)

   

  elif in_date['months'][x]=='October':

    in_date['month'][x] = str(10)

   

  elif in_date['months'][x]=='November':

    in_date['month'][x] = str(11)

   

  elif in_date['months'][x]=='December':

    in_date['month'][x] = str(12)

     

in_date['year'] = in_date['year'].astype(str)

in_date['month'] = in_date['month'].astype(str)

in_date['day'] = in_date['day'].astype(str)

in_date['Date'] = in_date['year'].astype(str)+'-'+in_date['month']+'-'+in_date['day']

in_date['Date'] = pd.to_datetime(in_date['Date'])

in_date['Date'] = in_date['Date'].astype(str)

in_date = in_date[['Date','dailyconfirmed','dailyrecovered','dailydeceased','totalconfirmed','totalrecovered','totaldeceased']]

in_date = in_date.sort_values(by='Date',ascending=False)

last7 = str(today - dt.timedelta(days=+7))



# In[7]:



last7days = in_date[in_date['Date']>=last7]

last7days









# In[8]:



india_statewise = requests.get('https://api.covid19india.org/data.json')


in_state = json.loads(india_statewise.text)['statewise']

in_state = pd.io.json.json_normalize(in_state)

in_state = in_state.iloc[0:len(in_state),[9,6,0,2,1,4,5,7,8,10,11]]

in_state









# In[9]:



from flask import Flask, render_template


app = Flask(__name__)




@app.route("/")

def home():

  return render_template('index.html', total=incr, recovered=inre, death=inde,

              column_names=in_state.columns.values, row_data=list(in_state.values.tolist()),

              link_column="cases", zip=zip)


if __name__ == "__main__":

  app.run()


details of project:-

Python is a general purpose, dynamic, high-level, and interpreted programming language. It supports Object Oriented programming approach to develop applications. It is simple and easy to learn and provides lots of high-level data structures.

•Python is not intended to work in a particular area, such as web programming. That is why it is known as multipurpose programming language because it can be used with web, enterprise, 3D CAD, etc.

•Python laid its foundation in the late 1980s.

•The implementation of Python was started in December 1989 by Guido Van Rossum at CWI in Netherland.

•In February 1991, Guido Van Rossum published the code (labeled version 0.9.0) to alt.sources.

In 1994, Python 1.0 was released with new features like lambda, map, filter, and reduce


•Python provides many useful features which make it popular and valuable from the other programming languages. It supports object-oriented programming, procedural programming approaches and provides dynamic memory allocation. We have listed below a few essential features.

•Easy to Learn and Use

•Expressive Language

•Interpreted Language

•Cross-platform Language

•Free and Open Source

•Object-Oriented Language

•Extensible

• Large Standard Library

•GUI Programming Support

•Integrated

•Embeddable

•Dynamic Memory Allocation



•Python is known for its general-purpose nature that makes it applicable in almost every domain of software development. Python makes its presence in every emerging field. It is the fastest-growing programming language and can develop any application.


python library:-

•Numpy

•Pandas

•Matplotlibraries

Numpy:-Numpy is considered as one of the most popular machine learning library in Python.

Features Of Numpy:-

Interactive: Numpy is very interactive and easy to use.

Mathematics: Makes complex mathematical implementations very simple.

Intuitive: Makes coding real easy and grasping the concepts is easy.

Lot of Interaction: Widely used, hence a lot of open source contribution.


Pandas:-Pandas is a machine learning library in Python that provides data structures of high-level and a wide variety of tools for analysis. One of the great feature of this library is the ability to translate complex operations with data using one or two commands. 

Features Of Pandas:-Pandas make sure that the entire process of manipulating data will be easier. Support for operations such as Re-indexing, Iteration, Sorting, Aggregations, Concatenations and Visualizations are among the feature highlights of Pandas.

Matplotlibraries:-Matplotlib is an amazing visualization library in Python for 2D plots of arrays. Matplotlib is a multi-platform data visualization library built on NumPy arrays and designed to work with the broader SciPy stack. It was introduced by John Hunter in the year 2002. Matplotlib consists of several plots like line, bar, scatter, histogram etc.


Datetime:-A date in Python is not a data type of its own, but we can import a module named datetime to work with dates as date objects.

•Import the datetime module and display the current date: import datetime. ...

•Return the year and name of weekday: import datetime. ...

•Create a date object: import datetime. ...

•Display the name of the month:

Warnings:-The warnings module was introduced in PEP 230 as a way to warn programmers about changes in language or library features in anticipation of backwards incompatible changes coming with Python 3.0. Since warnings are not fatal, a program may encounter the same warn-able situation many times in the course of running.

Requests:-Requests is a Python HTTP library, released under the Apache License 2.0. The goal of the project is to make HTTP requests simpler and more human-friendly. 

Json:-The json library can parse JSON from strings or files. The library parses JSON into a Python dictionary or list. It can also convert Python dictionaries or lists into JSON strings.

Itertools:-


Flask:-


•Flask is a web application framework written in Python. Armin Ronacher, who leads an international group of Python enthusiasts named Pocco, develops it. Flask is based on Werkzeug WSGI toolkit and Jinja2 template engine. Both are Pocco projects.

Getting Started With Flask:

Python 2.6 or higher is required for the installation of the Flask. You can start by import Flask from the flask package on any python IDE




More Details: covid-19

Submitted By


Social Distance Monitoring System(Python, Deep Learning And Opencv)(Research Paper)

Last Updated on May 3, 2021

About

Social distancing is one of the community mitigation measures that may be recommended during Covid-19 pandemics. Social distancing can reduce virus transmission by increasing physical distance or reducing frequency of congregation in socially dense community settings, such as ATM,Airport Or market place .

Covid-19 pandemics have demonstrated that we cannot expect to contain geographically the next influenza pandemic in the location it emerges, nor can we expect to prevent international spread of infection for more than a short period. Vaccines are not expected to be available during the early stage of the next pandemic (1), a Therefore, we came up with this system to limit the spread of COVID via ensuring social distancing among people. It will use cctv camera feed to identify social distancing violations

We are first going to apply object detection using a YOLOv3 model trained on a coco dataset that has 80 classes. YOLO uses darknet frameworks to process incoming feed frame by frame. It returns the detections with their IDs, centroids, corner coordinates and the confidences in the form of multidimensional ndarrays. We receive that information and remove the IDs that are not a “person”. We will draw bounding boxes to highlight the detections in frames. Then we use centroids to calculate the euclidean distance between people in pixels. Then we will check if the distance between two centroids is less than the configured value then the system will throw an alert with a beeping sound and will turn the bounding boxes of violators to red.

Research paper link: https://ieeexplore.ieee.org/document/9410745

More Details: Social Distance Monitoring System(Python, Deep Learning And OpenCV)(Research paper)

Submitted By


Helping The People Who Are In Need

Last Updated on May 8, 2021

About

Our Inspiration

"Anybody can help but the help at the right time brings the big difference. Anybody can help everybody but helping the needy brings the big difference".

As rightly quoted above, helping the needy at right time brings the huge impact on the society. On this pandemic situation we come across lot of people in a risk of losing their life though staying inside the home .The reason behind this is,not COVID-19 but POVERTY. There also exist people who is passionate to serve the society by providing the people needs .So we,the TEAM CRUTCH has decided to serve the society through our tech minds by designing the app called CRUTCH which act as bridge between the donor & recipient .

This application is built on top of PEGA platform version 8.4

Challenges

The challenging task for us is making the live request ,choosing the most needful services,handling the services between donor & recipient .But as a team we were able to conquer the challenges in to fruitful product.

CRUTCH acts as a platform of sharing assets to needy people at right time from donors.

Learning Experience

We had a great learning experience .We had a chance of experiencing activities,customizing harness & portal. .

Uniqueness of Our Application CRUTCH

Crutch provides the customer 6 services ,where the customer can chose any service through his/her interest.

Bringing the Need at your doorstep & right time.

Apart from donor & requester crutch has an additional feature of volunteer for people who is passionate in serving the society to assist donor & recipient in bringing their need at their doorstep a right time. Serve the society-tops the leader board. Crutch has an unique feature of maintaining leader board for volunteers on the basis of one who serves the best leads as top performer in leader board.

About crutch

Crutch is a platform that extends help for the needy people at right time.The motive of crutch is to concatenate the demand & supply . The services available in this app includes Food Service,Education Service ,Cloth Service ,Blood donate/Receive (share blood ) service ,Organ donate /receive (share organ) service,Money (Crutch pay )service .

How Crutch Works

Customer can register as donor/recipient initially .while logging in the next time he has the option to change his role type if he wills. After logging in he can chose any of six exclusive services .If the customer acts as recipient he can request his/her need. The intimation about the request will be sent to all registered donors if any of the donor accepts to donate, then crutch provides them an option to chose Volunteer assistance .if he chooses volunteer service the crutch volunteer will help in delivering the requirement from donor to recipient at right time. Thereby crutch feed the needy people at right time. Crutch has verification team to ensure that details submitted by recipient doesn't contain any false information.

Crutch Functionality

The crutch has 6 services apart from registration & Volunteer Survey & Feed the Need.The following is the detailed description of all case type.

1)Registration: The customer can sign in in to crutch application via registration case type. He has to specify his role type(donor/recipient) & service type(6 services) based on which the work group & workbaskets are assigned for them.They can change role type in future as well.After providing the preliminary details such as personal info,Organisation info(if he/she representing any org) & address details.After the approval by the admin crutch the access credentials are created for the customer.The case will not move to approval unless he accept terms & conditions of crutch . Innovation: We have implemented completion status- Progress bar for the customer to track his registration completion status

2)Feed The Need: The purpose of this case type is to help the needy people in choosing the service according to their need. Six exclusive services are shown to customer on their next login where he/she can choose one and proceed with flow.

Innovation: Six attractive icons are configured where the user clicks the Icon the corresponding case type begins.

3)Crutch Pay: The purpose of this case type is to donate/receive money .The recipient begins the case where he views all his details in editable format .They can edit it if necessary.The customer can raise money request for his own self or for his friend/relatives.In case of friend/relative .He has to provide their details.There are few predefined reasons present for requesting money such as requesting fund for orphanage/home, requesting fund for natural calamity,,requesting for illness/Accident .Customer can also provide his own reason of requesting by choosing others.He has to provide all the required info along with necessary documents.He will also specify his preferred timing for help.After his submission,there happens background verification process by crutch admin where all details are checked. The case proceeds forward only if details are true. Then on the successful completion of verification the intimation will be sent to all donors if any donors accepts he can confirm his own details and move for payment. Method of Payment can also be Negotiated by donor if he is comfortable with.After receiving the money the recipient fills the fullfilment and provide feedback.

Innovation:Modal dialog -Pop up for thanking the customer

4)Food Service: The donor /Recipient can begin the case by providing the Food details.If recipient begins the case it moves to donor for viewing the recipient details and if he accepts the request then it moves to gather delivery information.There the recipient has an option of requesting any volunteer service then the case routes to volunteer workbasket if any of the volunteer picks the work, then he confirms the donor& recipient address details and finally he delivers to them. If the donor begins the case he provides the details of donating food,the case routes to recipient workbasket . The recipient has an option of selecting self or volunteer service .If he goes for volunteer service ,then it routes to volunteer workbasket.if any of the volunteer picks the work, then he confirms the donor& recipient address details and finally he delivers to them.

5)Cloth Service: The donor /Recipient can begin the case by providing the Food details.If recipient begins the case it moves to donor for viewing the recipient details and if he accepts the request then it moves to gather delivery information.There the recipient has an option of requesting any volunteer service then the case routes to volunteer workbasket if any of the volunteer picks the work, then he confirms the donor& recipient address details and finally he delivers to them.If the donor begins the case he provides the details of donating cloth.the case routes to recipient workbasket .The recipient has an option of selecting self or volunteer service .If he goes for volunteer service ,then it routes to volunteer workbasket.if any of the volunteer picks the work, then he confirms the donor& recipient address details and finally he delivers to them.

6)Education Service: The recipient begins the case where he has the option to acts as referencer or self based on type of request he raise. If he is raising for him he can provide as self, if not he can act as referencer. He gives all his preliminary details & attach Necessary Documents.Then the case move forwards to background verification Process. Unless the background verification successfully completes the case does not move forward .On Successful completion ,it routes to donor workbasket.If any of the donor accept to provide contact details are shared with both.Then fulfillment details are received from recipient after receiving the help.

7)Share Blood: This case type can be accessed by donor/Recipient.If donor begins the case he can donate the blood by Providing all the necessary details .If in case of recipient begins the case ,he has two options either he can view the already donated blood details which matches his requirements or he can raise a new request.After his submission of request the case move forwards to donor where he can accept the request & confirm his details and also assist for volunteer service..thus,with help of volunteer support requirements are delivered from donor to recipient.

8)Share Organ: This case type can be accessed by donor/Recipient.If donor begins the case he need to provide his details If he had his organ registration certificate he need to attach it then the admin will review. Then the admin will approve /reject his request. If he does not have his organ registration certificate he can request for medical assistance.Now the hospital details are mailed to the donor. He have to visit the hospital within 5 days.Then the will check him and provide the certificate. If the case is begins by the recipient he can request for the organ.Noe he need to provide the required information and the certificate.Then the case will be routed to Donor hospital. If the donor is available the details will be send through mail.Then he will contact the hospital for further procedure. his hackathon is one of the memorable learning experience for our team .We had a great learning experience of new rules such as creating dynamic routing etc.

What's Next

As a team we ensure to give our cent percent effort to bring solutions to the problems & Challenges prevail in the society.

More Details: Helping the people who are in need

Submitted By


A Review On Weather Forecasting Techniques Using Machine Learning

Last Updated on May 3, 2021

About

Weather depicts the atmospheric conditions of a particular place at a particular time. The basic weather elements comprise of temperature, wind, pressure, cloudiness and humidity. Every day, the Meteorological Department prepares weather maps for the upcoming day with the help of the data obtained from various weather stations around the world. Weather forecasts help in taking measures in advance in case of the probability of bad weather and in planning your day ahead.

 

Different instruments are used to measure various weather elements like, a thermometer is used to measure the temperature, whereas, a barometer is used to measure pressure. Similarly, a wind vane is used to find the direction of wind and a rain gauge is used to measure the amount of rainfall. Thus, with the help of the data collected through these instruments we get the weather forecast in the form of weather charts.

 

In order to decrease so much manual labour, these weather forecasting techniques are now getting replaced with machine learning models that can predict future weather quite accurately with the help of previously collected data. In this report, we are discussing some of the weather forecasting techniques that are most-likely to be used in order to get accurate weather predictions result. Herein we are comparing the results of the various models, just to get the best results.

 

Keywords: Weather Forecasting, ARIMA, Holt Linear, Holt Winter, Stationarity, Dickey- Fuller


More Details: A REVIEW ON WEATHER FORECASTING TECHNIQUES USING MACHINE LEARNING

Submitted By