Skip to content

Commit

Permalink
style: changed polyregression
Browse files Browse the repository at this point in the history
used numpy instead of sklearn and also added labels on diagram
  • Loading branch information
Karma Zoepa Yoezer authored and Karma Zoepa Yoezer committed Dec 1, 2020
1 parent 96d8c55 commit 1cffe0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Binary file modified index&sentimentSubPlots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified polyRegressionIndexSentiments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
from sklearn.preprocessing import PolynomialFeatures
from sklearn.metrics import r2_score

# 0.10903663203657565
# intercept : 981.1283168841768
# RSquared: 0.10649850846079478
# Slope: [-4.89247228 0.17362076]
def create_matching_sets(stockIndex, twitterSentiments):
"""
Function to be able to create a DataFrame having the BSI and twitterSentiments
Expand Down
Binary file modified stockIndexAndSentiments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1cffe0a

Please sign in to comment.