Skip to content

Commit

Permalink
Merge pull request #7 from SUBHADIPMAITI-DEV/main
Browse files Browse the repository at this point in the history
LICENSE
  • Loading branch information
SUBHADIPMAITI-DEV authored Jul 16, 2024
2 parents b65b9d2 + c31e1de commit 8ebb498
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@ SYSTEM REQUIREMENT
System Processing: I3 10TH Gen ;
RAM: 8GB ;
Storage: SSD 512 GB ;
Also we can used cloud execution for GPU – Google Colab architecture.
Also, we can use cloud execution for GPU – Google Colab architecture.

🔎Software Requirements:
OS: Windows 10 ;
Google Colab ;


RESULT ANALYSIS
![image](https://user-images.githubusercontent.com/78700974/204124779-9d353689-2adb-499d-97e3-171c69f4ee8f.png)

RESULT VIDEO


https://github.com/SUBHADIPMAITI-DEV/Depression-Detection-System-Using-Machine-Learning/assets/78700974/f70aed97-32f2-4086-a80c-51770771f1c4



Project Link ➡️ [🔗](https://colab.research.google.com/drive/1YNyzk4WtfaDW5673s5LFI0dpK9tTl5wo?usp=sharing)


Expand Down
11 changes: 6 additions & 5 deletions twitterapiaccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,11 @@ def train_decision_tree(X_train, X_test, y_train, y_test):

def download_user_tweets():
# set twitter credentials
api_key = '850YrbsNWucByH06cbS6Ao6xy'
api_key_secret = 'lYmg13QM5MzjaN0xs0IxR12B1FvLDCLc2rnQ2cXfgScETEWWp5'
access_token = '1580202146255220736-Nca2hdTr9quLSwjh3QIOZSEjyQ8p9a'
access_token_secret = 'ivF4kpe9VZSy1Os68iF3mJm3TvXjHpHB2o8dYcIc1MTM9'
#insert your API key details
api_key = 'api----key----here'
api_key_secret = 'api------key-------secret--here'
access_token = 'access----token-------here'
access_token_secret = 'access----------token-----secret----here'

# Access Twitter Data (login to twitter via api)
auth = tweepy.OAuthHandler(api_key, api_key_secret)
Expand Down Expand Up @@ -392,4 +393,4 @@ def final_output(predictions):

user_tweets = download_user_tweets()
predictions = predict_user_tweets(user_tweets)
final_output(predictions)
final_output(predictions)

0 comments on commit 8ebb498

Please sign in to comment.