
Projects using Exploratory Data Analysis, Predictive Data Analysis, and Machine Learning techniques.
Languages used:
🧰 Frameworks and libraries
💻 Software and tools
Overview
Let me know if you have an questions via email.
View full project here
❗IMPORTANT❗
If you are going to download the file make sure the following libraries are installed.
Libraries used in this Project:
For Visualization:
library(corrplot)
library(lattice)
library(ggplot2)
library(plotly)
For Data Splitting
library(dplyr)
Overview
c_value = [0.1, 1.0, 10.0, 100.0, 1000.0]
gamma_Values = [1e-2, 1e-3, 1e-4, 1e-5, 1e-6, 1e-7]
From here, I then got the best R^2 score from the best combination of values and used to create the SVm Regression model
| Stock Price: $3116.55 |
--------------------
| Stock Price: $3097.92 |
--------------------
| Stock Price: $3031.01 |
--------------------
| Stock Price: $3021.73 |
--------------------
| Stock Price: $3024.18 |
--------------------
| Stock Price: $3160.62 |
--------------------
| Stock Price: $3168.1 |
--------------------
| Stock Price: $3172.84 |
--------------------
| Stock Price: $3166.63 |
--------------------
| Stock Price: $3166.21 |
--------------------
| Stock Price: $3179.58 |
--------------------
| Stock Price: $3183.07 |
--------------------
| Stock Price: $3189.64 |
--------------------
| Stock Price: $3185.4 |
--------------------
| Stock Price: $3182.98 |
--------------------
I encourage you to try this out with different values and see what you get!
Let me know if you have an questions via email.
View the full project here.
❗IMPORTANT❗
If you are going to download the file make sure the following libraries are installed.
Libraries used in this Project:
Data Preprocessing/Manipulation
import pandas as pd
import numpy as np
Visualization
import matplotlib.pyplot as plt
import seaborn as sns
Stock Market Data from Yahoo Finance API
import yfinance as yf
Support Vector Machine Model
from sklearn.svm import SVC
from sklearn.metrics import accuracy_score, precision_score
from sklearn.model_selection import train_test_split
Overview
This process included: - Preliminary Data Analysis - Data Cleaning - Exploratory Data Analysis - Data Preprocessing for Modeling - Machine Learning Implementation
parameters_log_reg = {
'penalty' :['l2'],
'C' : [0.01, 0.1, 1, 2, 10, 100]
}
❗IMPORTANT❗
If you are going to download the file make sure the following libraries are installed.
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.preprocessing import LabelEncoder
from sklearn.model_selection import train_test_split
from sklearn.metrics import confusion_matrix
from sklearn.metrics import classification_report
from sklearn import metrics
from sklearn.metrics import accuracy_score
from sklearn.model_selection import GridSearchCV
from sklearn.linear_model import LogisticRegression
Let me know if you have an questions via email.