Checkmate

Last Updated on May 3, 2021

About

In the time when the world has come on the internet for education full time, it's equally important for these platforms to be strongly backed up by technology. One of the major loopholes is plagiarism and copying in online exams. To tackle this issue, we bring to you 'Check Mate'. With our tool, teachers and professors can get all the pdf documents compared and checked for plagiarism.

More Details: CheckMate

Submitted By


Share with someone who needs it

Smart Bag Tracker

Last Updated on May 3, 2021

About

Smart bag is an application-specific design that can be useful for almost everyone in the

society. The loss or mishandling of luggage in airports is increasing nowadays,

tremendously raising its associated costs. It is expected that the constant monitoring

detects possible errors in a timely manner, allowing a proactive attitude when correcting

this kind of situations. There are several devices in the market but all have some

problems such as power consumption, location, portability, etc. The current research

provides a novel idea to track the luggage in real time with the help of a microcontroller

system, which is wearable and handy. Using wireless communication techniques, the

proposed system has been designed.


The system consists of GPS module which will fetch the current latitude and longitude and

using advanced Wi-Fi enabled microcontroller which will connect to the 4G


hotspot internet and transmit the current location of the bag to the central server. Using an

Android App the user can view the current position of the bag in google maps.


There are a lot of applications to the luggage but all of them are not controlled from the luggage, instead the commands are sent from the mobile phone to the luggage via Machine to Machine communication. The mobile phone has a pre-installed application software with a pre-installed set of instructions. They wait for the user to send the commands. This can either be for tracking its location.




More Details: Smart Bag Tracker

Submitted By


Comcast Telecom Consumer Complaints

Last Updated on May 3, 2021

About

Comcast is an American global telecommunication company. The firm has been providing terrible customer service. They continue to fall short despite repeated promises to improve. Only last month (October 2016) the authority fined them a $2.3 million, after receiving over 1000 consumer complaints.

The existing database will serve as a repository of public customer complaints filed against Comcast.

It will help to pin down what is wrong with Comcast's customer service.

Data Dictionary

  • Ticket #: Ticket number assigned to each complaint
  • Customer Complaint: Description of complaint
  • Date: Date of complaint
  • Time: Time of complaint
  • Received Via: Mode of communication of the complaint
  • City: Customer city
  • State: Customer state
  • Zipcode: Customer zip
  • Status: Status of complaint
  • Filing on behalf of someone

Analysis Task

To perform these tasks, you can use any of the different Python libraries such as NumPy, SciPy, Pandas, scikit-learn, matplotlib, and BeautifulSoup.

- Import data into Python environment.

- Provide the trend chart for the number of complaints at monthly and daily granularity levels.

- Provide a table with the frequency of complaint types.

  • Which complaint types are maximum i.e., around internet, network issues, or across any other domains.

- Create a new categorical variable with value as Open and Closed. Open & Pending is to be categorized as Open and Closed & Solved is to be categorized as Closed.

- Provide state wise status of complaints in a stacked bar chart. Use the categorized variable from Q3. Provide insights on:

  • Which state has the maximum complaints
  • Which state has the highest percentage of unresolved complaints

- Provide the percentage of complaints resolved till date, which were received through the Internet and customer care calls.

The analysis results to be provided with insights wherever applicable.

More Details: Comcast Telecom Consumer Complaints

Submitted By


Nyc Yellow Taxi Prediction

Last Updated on May 3, 2021

About

I did this project in my second semester of Mtech studies at Ahmedabad University. In NYC, taxicabs come in two varieties: yellow and green; they are widely recognizable symbols of the city. Taxis painted yellow (medallion taxis) are able to pick up passengers anywhere in the five boroughs. in Upper Manhattan, the Bronx, Brooklyn, Queens, Staten Island. The yellow taxi cab was first introduced in 1915 by a car salesman named John Hertz. Hertz decided to paint his taxis yellow because of a study by a Chicago university to establish what color would grab the attention of passers-by more easily. The results proved that yellow with a touch of red was most noticeable. As a result, Hertz started to paint all his taxicabs yellow and went on to start the Chicago-based Yellow Cab Company in 1915. During pre-processing of data there were many outliers such as there was 100 dollars fare for a 0-mile trip. Then there were few outliers in rate code id. We pre-processed and removed them all and cleaned the data. After cleaning the data we visualized data in which we got different insights people like to travel single in the taxi. Area 236 has the most taxi bookings. Also, we observed that at midnight (1 to 6 am) people don’t like to travel much often. FOr the prediction part, we predicted the fare using different regression methods and for taxi booking, we used k means clustering.

More Details: NYC yellow taxi prediction

Submitted By


Disease Prediction System

Last Updated on May 3, 2021

About

ML-Model-Flask-Deployment

This is a demo project to elaborate how Machine Learn Models are deployed on production using Flask API


Prerequisites

You must have Scikit Learn, Pandas (for Machine Leraning Model) and Flask (for API) installed.


Project Structure

This project has four major parts :

  1. model.py - This contains code fot our Machine Learning model to predict employee salaries absed on trainign data in 'hiring.csv' file.
  2. app.py - This contains Flask APIs that receives employee details through GUI or API calls, computes the precited value based on our model and returns it.
  3. request.py - This uses requests module to call APIs already defined in app.py and dispalys the returned value.
  4. templates - This folder contains the HTML template to allow user to enter employee detail and displays the predicted employee salary.


Running the project

  1. Ensure that you are in the project home directory. Create the machine learning model by running below command -
python model.py

This would create a serialized version of our model into a file model.pkl

  1. Run app.py using below command to start Flask API
python app.py

By default, flask will run on port 5000.

  1. Navigate to URL http://localhost:5000

You should be able to view the homepage as below : 

Enter valid numerical values in all 3 input boxes and hit Predict.

If everything goes well, you should be able to see the predcited salary vaule on the HTML page! 

  1. You can also send direct POST requests to FLask API using Python's inbuilt request module Run the beow command to send the request with some pre-popuated values -
python request.py


More Details: Disease Prediction System

Submitted By


Bakery Management Api

Last Updated on May 3, 2021

About

# Bakery Management System


This **Bakery Management System** is based on Django Rest framework and Uses the Token Authentications.

For better understanding read the documentation at [docs](https://documenter.getpostman.com/view/14584052/TWDdjZYb).<br>

The project is live at [Bakery](https://bakery-management-api.herokuapp.com/).


## Steps to run the API:


1. Install requirements.txt 

2. Run- python manage.py makemigrations

3. Run- python manage.py migrate

4. Run- python manage.py runserver 




## API-OVERVIEW


Now enter http://127.0.0.1:8000/ in your Browser this will give the details about the functionality offered.

To perform any of the operations mentioned just add the corresponding relative url to this http://127.0.0.1:8000/ .


***Note : All the endpoints corresponding to Ingredients and Dishes are only accessible to ADMIN.***





## MANAGING THE ACCOUNTS REGISTRATION AND AUTHENTICATION




### Registering a ADMIN


We can only register admin through the Django admin panel. To acces Django Admin panel you have to create a superuser

Follows these steps to register an ADMIN user:

1. python manage.py createsuperuser

2. Fill all details(username ,email and pasword)

3. Now got to http://127.0.0.1:8000/admin/ and login through the credentials you just entered.

4. Register admin through the USERS section(please tick the is_staff then only you will be considered as ADMIN)



### Registering a CUSTOMER


URL - http://127.0.0.1:8000/accounts/register/ REQUEST-TYPE =[POST] **:**


This uses POST request and expects username,email,password,first_name,last_name to be entered through JSON object or a Form data.The username needs to be UNIQUE



### LOGGING IN A USER


URL - http://127.0.0.1:8000/accounts/login/ REQUEST-TYPE =[POST] **:**


This uses POST request and expects username and password.After successfull login this will return a Token and Expiry.

Expiry denotes for how long is the token valid ,after the expiry you need to login again.



### LOGGING OUT A USER


URL - http://127.0.0.1:8000/accounts/logout/ REQUEST-TYPE =[] **:**

For this provide the token in the header.The user whose token you entered will be logged out.






## OPERATIONS ON INGREDIENTS(ACCESSIBLE ONLY TO ADMINS)



### Adding an Ingredient


URL - http://127.0.0.1:8000/ingredients/ REQUEST-TYPE =[POST]  **:**

This uses POST request and expects name,quantity,quantity_type,cost_price to be entered through JSON object or a Form data.The name needs to be UNIQUE

and Django adds a primary key by name "id" by default.The quantity_type contains three choices only in which you can enter a single one either 'kg' for

kilogram ,'lt' for litre and "_" for only numbers.



### Get list of all Ingredients


URL - http://127.0.0.1:8000/ingredients/  REQUEST-TYPE =[GET]  **:**

This returns a Json value containing the list of all ingredients.



### Getting details of a single Ingredients


URL - http://127.0.0.1:8000/ingredients/id/ REQUEST-TYPE =[GET]  **:**

The "id" mentioned in the above url must be an integer referring to the "id" of the ingredient you want to fetch.This returns details of the 

ingredient you mentioned.



### Deleting a single Ingredients


URL - http://127.0.0.1:8000/ingredients/id/ REQUEST-TYPE =[DELETE]  **:**

The "id" mentioned in the above url must be an integer referring to the "id" of the ingredient you want to fetch.This deletes the 

ingredient you mentioned.






## OPERATIONS ON MENU(ACCESSIBLE ONLY TO ADMINS)




### Adding an dish to menu


URL - http://127.0.0.1:8000/menu/ REQUEST-TYPE =[POST]  **:**

This uses POST request and expects name , quantity , description , cost_price , selling_price , ingredients to be entered through JSON object or a Form data.

The name needs to be UNIQUE and Django adds a primary key by name "id" by default.The ingredients field can contain multiple ingredients id.



### Get list of all dishes(Available to CUSTOMER also)


URL - http://127.0.0.1:8000/menu/  REQUEST-TYPE =[GET]   **:**

This returns a Json value containing the list of details of all dishes.


***Note-This API depend on the type of User logged in. If the Customer user is logged in than this will the name and prices only***



### Getting details of a single Dish


URL - http://127.0.0.1:8000/menu/id/ REQUEST-TYPE =[GET]   **:**

The "id" mentioned in the above url must be an integer referring to the "id" of the Dish you want to fetch.This returns details of the 

Dish you mentioned.



### Deleting a single Dish


URL - http://127.0.0.1:8000/ingredients/id/ REQUEST-TYPE =[DELETE]  **:**

The "id" mentioned in the above url must be an integer referring to the "id" of the Dish you want to fetch.This deletes the 

Dish you mentioned






## OPERATIONS ON ORDER(ACCESSIBLE TO THE CUSTOMER )



### Adding/Placing an order 


URL - http://127.0.0.1:8000/order/ REQUEST-TYPE =[POST]   **:** 

This uses POST request and expects orderby,items_ordered to be entered through JSON object or a Form data.Django adds a primary key by name "id" by default.

The items_ordered field can contain multiple dishes id.



### Getting details of a single Order 


URL - http://127.0.0.1:8000/order/id/ REQUEST-TYPE =[GET]   **:**  

The "id" mentioned in the above url must be an integer referring to the "id" of the Order you want to fetch.This returns details of the 

Order you mentioned.


### Deleting a single Order 


URL - http://127.0.0.1:8000/order/ REQUEST-TYPE =[DELETE]   **:**  

The "id" mentioned in the above url must be an integer referring to the "id" of the Order you want to delete.This deletes the 

Order you mentioned


### Order History 


URL - http://127.0.0.1:8000/order/history/ REQUEST-TYPE =[GET]  **:**  

This will return the all the orders placed by the Customer making the request.(Latest first) 


More Details: Bakery Management API

Submitted By