Is an open source piece of software that is designed to allow anyone to quickly get
Project description
Wall Street Social
Is an open source piece of software that is designed to allow anyone to quickly get familiar with the basics of textual analysis. It features a preconfigured database schema, preconfigured pipelines to fill the database with reddit comments, and a pretrained named entity recognition model that is used to pull out what stocks are being mentioned in a post.
Getting Starting
This doesn't fit the pypi size specifications, to get this project working you will need the these steps.
pypi WallStreetBets
Download Model here
unzip anywhere
from WallStreetSocial import helpers
from WallStreetSocial import database
database.model_loc = "C:\\Users\\JGola\\PycharmProjects\\WallStreetSocial\\WallStreetSocial\\wsb_ner\\"
helpers.run("WallStreetBets", start="2015-07-03 00:00:00", end="2015-07-06 03:01:40")
Documentation
Documentation of this project can be found here
About the ML Model
The named entity recognition model in use is a compact spaCy model which has been trained on wallstreetbets specific data. The model has been trained in two parts: first, Gensim was used to create the word vectors. Word vectors are basically multidimensional representations of words in algebraic space that help the model determine things like word similarity. It helps give the model some form of contextual awareness of the words it is encountering. The model is then trained specifically on data from reddit. The data consists of thousands of comments that have labeled stocks and their respective positions in the text. For a visual representation of the word vectors, please see https://www.kaggle.com/johnhutton/visualization-of-wallstreetbets-word-vectors
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file WallStreetSocial-1.0.0.2.tar.gz
.
File metadata
- Download URL: WallStreetSocial-1.0.0.2.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8828a0dc257a90db49f916ce572a8f0adbfb5e7d8b23ac88dbc7ab450127ed51 |
|
MD5 | 0063519a2af2059e09c05e8439f5ee53 |
|
BLAKE2b-256 | d4f5a759e8d49ef18ab352c01d82049b01fa580b94fef13614dcad2176ea9f99 |
File details
Details for the file WallStreetSocial-1.0.0.2-py3-none-any.whl
.
File metadata
- Download URL: WallStreetSocial-1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc09320ffca8bfa3cbaf999e0d0e45fcd82e69a50d8265e9585915cbf7689b8 |
|
MD5 | 3ce2fe36a9fca2ccd2675c565af488fd |
|
BLAKE2b-256 | 0fc9f94fd698cedcfabacc7e2941f1fbc74960ec882dc7cdc1a33d0d9919889f |