Mini Project Reportgg1
Mini Project Reportgg1
A
MINI PROJECT REPORT
ON
ACCUWEATHER
Submitted by
This is to certify that GAURI GOYAL, ISHITA SINGHAL and RUPANSHI ROHILLA,
student of AJAY KUMAR GARG ENGINEERING COLLEGE B. Tech IIrd year CSE
AIML branch, has completed Mini Project on ACCUWEATHER in the duration 07th
September 2022 to 07th February 2023.
We would like to express our deepest thanks to Dr Shashank Sahu, an mini project
advisor, for his cooperative attitude and consistent guidance, due to which we were able to
complete our project successfully. We would also like to thank Ms. Harnit Saini ma’am
for her support and help.
We would like to express our sincere gratitude to Dr Sunita Yadav (H.O.D. CSE
Department), Ajay Kumar Garg Engineering College, Ghaziabad and Dr R. K. Aggarwal
(Director General), Ajay Kumar Garg Engineering College for allowing us to pursue our
choice of project. They gave us valuable guidance and support.
We wish to thank various people in my college, Ajay Kumar Garg Engineering College,
for their valuable guidance. We received practical as well as theoretical knowledge and
experience in this project. Finally, last but by no means least, a paper is not enough for us
to express the support and guidance we received from them.
List of Figures 1
CHAPTER 1: INTRODUCTION TO PROJECT 2
CHAPTER 2: SOFTWARE AND HARDWARE REQUIREMENT 4
CHAPTER 3: DESIGN AND TESTING 5
CHAPTER 4: RESULTS AND DISCUSSION 7
References 23
Appendix 24
List of Figures
Methodology used
Technologies Used
Machine learning – Linear Regression Linear regression is the most basic and frequently
used predictive model for analysis. Regression estimates are generally used to describe the
data and elucidate relationship between one or more independent and dependent
variables. Linear regression finds the best-fit through the points, graphically. The
best-fit line through the points is known as the regression line.
Javascript- JavaScript is a lightweight, interpreted programming language. It is
designed for creating network-centric applications. It is complimentary to and integrated
with Java. JavaScript is very easy to implement because it is integrated with HTML. It is
open and cross-platform. Once you learnt Javascript, it helps you developing great
front-end as well as back-end softwares using different Javascript based frameworks
like jQuery, Node.JS etc. JavaScript is used to create interactive websites. It is mainly
used for: o Client-side validation o Displaying pop-up windows and dialog boxes
Json- JSON (JavaScript Object Notation) is a lightweight format that is used for data
interchanging. It is based on a subset of JavaScript language. It has been the preferred
format because it is much more lightweight JSON is built on two structures:
A collection of name/value pairs. In various languages, this is realized as an
object, record, structure, dictionary, hash table, keyed list, or associative array.
An ordered list of values. In most languages, this is realized as an array, vector, list, or
sequence.
ReactJS- ReactJS is a declarative, efficient, and flexible JavaScript library for building
reusable UI components. It is an open-source, component-based front-end library which
is responsible only for the view layer of the application. It was initially developed and
maintained by Facebook and later used in its products like WhatsApp & Instagram. The
main objective of ReactJS is to develop User Interfaces (UI) that improves the speed of
the apps. It uses virtual DOM (JavaScript object), which improves the performance of the
app. The JavaScript virtual DOM is faster than the regular DOM. We can use ReactJS on
the client and server-side as well as with other frameworks. It uses component and data
patterns that improve readability and helps to maintain larger apps.
Adobe After Effects- Adobe After Effects is a digital visual effect, motion graphics,
and compositing application developed by Adobe Systems and used in the post-
production process of film making and television production. Among other things,
After Effects can be used for keying, tracking, compositing, and animation. It also
functions as a very basic non-linear editor, audio editor, and media transcoder. After
Effects has extensive plug-in support; a broad range of third-party plug-ins are available.
A variety of plug-in styles exist, such as particle systems for realistic effects for rain,
snow, fire, etc. With or without third-party plug-ins, After Effects can render 3D effects.
Some of these 3D plug-ins use basic 2D layers from After Effects. In addition to
3D effects, there are plug-ins for making video look like film or cartoons; simulating
fire, smoke, or water; particle systems; slow motion; creating animated charts, graphs,
and other data visualization; calculating the 3D movement of a camera in a 2D video
shot; eliminating flicker, noise, or rigging lines; translating timelines from FCP or
Avid; adding high-end color correction; and other workflow improvements and visual
effects.
Weather API- Weather APIs are Application Programming Interfaces that allow you
to connect to large databases of weather forecast and historical information. The
weather API provides enough weather data for basic weather information (eg
current weather, forecast, UV index data, and historical weather information). You can
use geolocation and names to get a city location.
Functional Requirements
1. Accessing a database
2. Prediction algorithm
System shall allow users to check weather for future three days.
Non-Functional Requirements
System should be able to run with core functionality from computer system.
System should be able to show interactive animations to users regarding
current and future climatic conditions.
Other Requirements
1.Performance Requirements
The proposed software that we are going to develop will be used as the
general-purpose application software. Therefore, it is expected that the database
would perform functionally all the requirements that are specified by the user.
2.Safety Requirements
The database may get crashed at any certain time due to virus or operating
system failure. Therefore, it is required to take the database backup
3.Security Requirements
We are going to develop a secured database for the user. Software Quality
Attributes. The Quality of the database is maintained in such a way so that it can be
very user friendly to all the users.
4.Hardware Requirements
Design
Use-Case Diagram
Testing
Testing is the process of evaluating a system or its component with the intent to
find whether it satisfies the specified requirement or not. Testing is executing a
system in order to identify any gaps, errors, or missing requirements in
contrary to the actual requirements. Systems should not be tested as a single,
monolithic unit. The testing process should therefore proceed in the stages
where testing is carried out incrementally in conjunction with system
implementation. Errors in program components may come to light at a later
stage of the testing process. The process is therefore an iterative one with
information being fed back from later stage to earlier parts of the process.
Following testings were done during the course of our project.
1.Unit Testing
Unit testing focuses verification efforts on the smaller unit of software design.
Using the detailed design description as a guide, important control paths
are tested to uncover errors within the boundary of the module. The relative
complexity of the test and the error detected as a result is limited by the
constraint scope established for unit testing. The unit test is always white
box oriented, and the step can be conducted in parallel for multiple modules
Tested individual python file by debugging and using print statement
Individual Component rendering
2.Integration Testing
With unit testing the modules may function properly, but at times they
may have inadvertent affect on another, sub function when combined, may
not produce the desired functions; individually acceptable impression may
be signed to unacceptable levels then global data structure may present
problems. Integration testing is a systematic technique for constructing the
program structure while at the same time conducting tests to uncover
errors associated with interfacing. The objective is to take unit tested modules
and build a program structure that has been dictated by the design.
CHAPTER 4: RESULTS & DISCUSSION
1.https.wikipedia.com
2. https.w3schools.com
3. https.reactjs.org
4.https://dev.to/achowba/building-a-modal-in-react-15hg#:~:targetText=Open%20the
%20Modal.js%20file,%7B%7B%20transform%3A%20props.show%20%3F
Appendix - A: Coding
Data Downloading
Data Processing
# dataProcessing.py
import pandas as pd
from dataDownload import getData
class DataProcessor:
def __init__(self):
self.loadConfig()
def loadConfig(self):
import os
from backbone import getConfig
Model Training
Model Prediction
UI Components
Window
Modal