Skip to content

Predicting how the stock markert will perform is perhaps the most troublesome thing to do. There are countless elements engaged with the forecast: actual variables versus mental, silly conduct, and so forth. In this project, we split the data into 75:25 ratios for training and testing sets.

Notifications You must be signed in to change notification settings

shreyas463/teslaProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tesla Stock Price Prediction

INTRODUCTION Predicting how the securities exchange will perform is perhaps the most troublesome thing to do. There are countless elements involved with the forecast: actual variables versus mental, levelheaded, and silly conduct, and so forth This large number of viewpoints joins to make share costs unstable and truly challenging to foresee with a serious level of exactness. We can use various machine learning algorithms to predict stock prices like Random Forest, Support Vector Machine, KNN, linear regression, etc.

1.2 OBJECTIVES • Machine learning is the ability of computers to learn new things based on previous data, experiences, and observations. • The algorithm analyzes historical stock data. It compares the data with current stock prices. • It predicts the mean squared error and gives us the prediction value. • The results can then be compared to the real-life performance of stocks to check whether the algorithm performed accurately or if it still needs improvements.

1.3 METHODOLOGY TO BE FOLLOWED The first step in this process is to import all the required libraries. We will use several libraries here, including some machine-learning libraries. A library is a collection of modules. It contains a bundle of codes that can be used repeatedly. Next, we read or load the CSV file. The dataset will have several rows and columns containing raw data. We will be using this data to make our prediction. Datasets also contain some unwanted fields which won’t be required or used. So, we can remove those unwanted columns. The next step is important. Here, we split the information into

In this project, we split the data into 75:25 ratios for training and testing sets. After splitting the data, we create the regressor from Sci-kit and do linear regression. Lastly, we make the predictions and evaluate the results.

Screenshot 2022-01-07 at 11 29 30 AM

Screenshot 2022-01-07 at 11 30 02 AM

Screenshot 2022-01-07 at 11 30 19 AM

Screenshot 2022-01-07 at 11 34 20 AM

Screenshot 2022-01-07 at 11 40 05 AM

Screenshot 2022-01-07 at 11 52 26 AM

Screenshot 2022-01-07 at 12 01 59 PM Uploading Screenshot 2022-01-07 at 12.00.52 PM.png…

About

Predicting how the stock markert will perform is perhaps the most troublesome thing to do. There are countless elements engaged with the forecast: actual variables versus mental, silly conduct, and so forth. In this project, we split the data into 75:25 ratios for training and testing sets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages