Stock Price Prediction

Last Updated on May 3, 2021

About

Made a project on Stock Price Prediction using Linear Regression.

Tech Stack:

  • Python
  • Numpy
  • Pandas
  • Matplotlib
  • SkLearn

Attached the image of the accuracy and Mean Square Error.


More Details: Stock Price Prediction

Submitted By


Share with someone who needs it

Design And Analysis Of Automobile Chasis

Last Updated on May 3, 2021

About

Completed under the guidance of Dr. Shailesh Ganpule, Department of Mechanical and Industrial Engineering during August 2019 to November 2019. The objective of this design analysis is to find out the best material and most suitable cross-section for a common “Goods Carrier Truck” ladder chassis with the constraints of maximum shear stress, equivalent stress and deflection of the chassis under maximum load condition. In present the Ladder chassis which are used for making buses and trucks are C and I cross section type, but here we also analysed the Box type and Tube Type. In Trucks generally heavy amounts of loads are carried due to which there are always possibilities of being failure/fracture in the chassis/frame. Therefore Chassis with high strength cross section is needed to minimize the failures including factor of safety in design. The different vehicle chassis have been modeled by considering three different cross-sections namely C, I , Rectangular Box (Hollow) and Tubular type cross sections. The problem to be dealt with for this dissertation work is to Design and Analyze using suitable CAD software and Ansys 19.2  for ladder chassis. The report is the work performed towards the optimization of the Truck chassis with constraints of stiffness and strength. The modeling is done using Solid works, and analysis is done using Ansys 19.2 .. The overhangs of the chassis are calculated for the stresses and deflections analytically are compared with the results obtained with the analysis software. Involved in designing of Heavy Loaded Vehicle chassis in SolidWorks with stress simulation and strain analysis in Ansys. Carried out Failure Analysis using Von Mises Criterion to obtain their sustainability. Performed Convergence Analysis to select the most optimized model with the desired factor of safety. Compared software(practical) value obtained with theoretical value obtained.

More Details: DESIGN AND ANALYSIS OF AUTOMOBILE CHASIS

Submitted By


Tic-Tac-Toe Game

Last Updated on May 3, 2021

About

This project Tic Tac Toe game against a simple artificial intelligence. An artificial intelligence (or AI) is a computer program that can intelligently respond to the player’s moves. This game doesn’t introduce any complicated new concepts. The artificial intelligence that plays Tic Tac Toe is really just a few lines of code.

Two people play Tic Tac Toe with paper and pencil. One player is X and the other player is O. Players take turns placing their X or O. If a player gets three of their marks on the board in a row, column or one of the two diagonals, they win. When the board fills up with neither player winning, the game ends in a draw.

This chapter doesn’t introduce many new programming concepts. It makes use of our existing programming knowledge to make an intelligent Tic Tac Toe player. The player makes their move by entering the number of the space they want to go. These numbers are in the same places as the number keys on your keyboard's keypad


First, you must figure out how to represent the board as data in a variable. On paper, the Tic Tac Toe board is drawn as a pair of horizontal lines and a pair of vertical lines, with either an X, O, or empty space in each of the nine spaces.

In the program, the Tic Tac Toe board is represented as a list of strings. Each string will represent one of the nine spaces on the board. To make it easier to remember which index in the list is for which space, they will mirror the numbers on a keyboard’s number keypad.

The strings will either be 'X' for the X player, 'O' for the O player, or a single space ' ' for a blank space.

So if a list with ten strings was stored in a variable named board, then board[7] would be the top-left space on the board. board[5] would be the center. board[4] would be the left side space, and so on. The program will ignore the string at index 0 in the list. The player will enter a number from 1 to 9 to tell the game which space they want to move on.


Creating a program that can play a game comes down to carefully considering all the possible situations the AI can be in and how it should respond in each of those situations. The Tic Tac Toe AI is simple because there are not many possible moves in Tic Tac Toe compared to a game like chess or checkers.

Our AI checks if any possible move can allow itself to win. Otherwise, it checks if it must block the player’s move. Then the AI simply chooses any available corner space, then the center space, then the side spaces. This is a simple algorithm for the computer to follow.

The key to implementing our AI is by making copies of the board data and simulating moves on the copy. That way, the AI code can see if a move results in a win or loss. Then the AI can make that move on the real board. This type of simulation is effective at predicting what is a good move or not.

More Details: Tic-Tac-Toe Game

Submitted By


Dice Simulator

Last Updated on May 3, 2021

About

Python offers various packages to design the GUI, i.e. the Graphical User Interface. Tkinter is the most common, fast, and easy to use Python package used to build Graphical User Interface applications. It provides a powerful Object-Oriented Interface and is easy to use. Also, you develop an application; you can use it on any platform, which reduces the need of amendments required to use an app on Windows, Mac, or Linux.

It’s a simple cube with numbers from 1 to 6 written on its face. The simulation is the making of computer model. Thus, a dice simulator is a simple computer model that can roll a dice for us.


The first step is importing the required module where we import Tkinter which is used to make GUI applications and also the random module to generate random numbers.


The next step is Building a top-level widget to make the main window for our application here we will build the main window of our application, where the buttons, labels, and images will reside. We also give it a title by title() function.


The third step is designing the buttons:

Here, we use pack() to arrange our widgets in row and column form. The ‘BlankLine’ label is to skip a line, whereas we use ‘HeadingLabel’ label to give a heading.


The ‘rolling_dice’ function is a function that is executed every time a button is clicked. This is attained through the ‘command=rolling_dice’ parameter while defining a button.


Then ‘root.mainloop()’ is used to open the main window. It acts as the main function of our program.


We have successfully developed a cool application – Dice Rolling Simulator in Python. Now, you can just click on a button and get your next number.

More Details: Dice Simulator

Submitted By


Snake Game

Last Updated on May 3, 2021

About

The objective of this project is to build a snake game project using Python. In this python project, the player has to move a snake so it touches the red dot . If the snake touches itself or the border of the game then the game will over.

The following are the methods I used :

Turtle module, random module, time module, and concept of python by basically used in this project

Turtle module gives us a feature to draw on a drawing board

Random module will be used to generate random numbers

Time module is an inbuilt module in python. It provides the functionality of time.


The steps to build a snake game project in python:

The first is Importing libraries then we move to create a game screen and also the creation of snake and red dot. Keyboard binding is to be done next followed by the game main loop.


We require turtle, random, and time module to import

To create Game screen I used :-

  • title() :  will set the desired title of the screen
  • setup() : used to set the height and width of the screen
  • tracer(0) : will turn off the screen update
  • bgcolor()  : will set the background color
  • forward()  : will use to move the turtle in a forwarding direction for a specified amount
  • right() : used to turn the turtle clockwise and left() used to turn the turtle anticlockwise
  • penup() : will not draw while its move

For creating Game screen I used :-

  • Turtle() :  will be used to create a new turtle object
  • hideturtle() :  will use to hide the turtle
  • goto() :  used to move the turtle at x and y coordinates


Now by adding key binding in which the directions in which the snake will go and how will be decided.


If the snake touches the border of the game then the game will over. screen.clear() will delete all the drawing of the turtle on the screen



We successfully developed Snake game project in python.




More Details: Snake Game

Submitted By


Air Quality Analysis And Prediction Of Italian City

Last Updated on May 3, 2021

About

Problem statement

  • Predict
  • The value of CO in mg/m^3 reference value with respect to the available data. Please assume if you need, but do specify the same.
  • Forecast
  • The value pf CO in mg/m^3 for the next 3 3 weeks on hourly averaged concentration

Data Set Information

located on the field in a significantly polluted area, at road level,within an Italian city. Data were recorded from March 2004 to February 2005 (one year)representing the longest freely available recordings of on field deployed air quality chemical sensor devices responses. Ground Truth hourly averaged concentrations for CO, Non Metanic Hydrocarbons, Benzene, Total Nitrogen Oxides (NOx) and Nitrogen Dioxide (NO2) and were provided by a co-located reference certified analyzer. Evidences of cross-sensitivities as well as both concept and sensor drifts are present as described in De Vito et al., Sens. And Act. B, Vol. 129,2,2008 (citation required) eventually affecting sensors concentration

Data collection

0 Date (DD/MM/YYYY)

1 Time (HH.MM.SS)

2 True hourly averaged concentration CO in mg/m^3 (reference analyzer)

3 PT08.S1 (tin oxide) hourly averaged sensor response (nominally CO targeted)

4 True hourly averaged overall Non Metanic HydroCarbons concentration in microg/m^3 (reference analyzer)

5 True hourly averaged Benzene concentration in microg/m^3 (reference analyzer)

6 PT08.S2 (titania) hourly averaged sensor response (nominally NMHC targeted)

7 True hourly averaged NOx concentration in ppb (reference analyzer)

8 PT08.S3 (tungsten oxide) hourly averaged sensor response (nominally NOx targeted)

9 True hourly averaged NO2 concentration in microg/m^3 (reference analyzer)

10 PT08.S4 (tungsten oxide) hourly averaged sensor response (nominally NO2 targeted)

11 PT08.S5 (indium oxide) hourly averaged sensor response (nominally O3 targeted)

12 Temperature in °C

13 Relative Humidity (%)

14 AH Absolute Humidity.

More Details: Air quality analysis and Prediction of Italian city

Submitted By