Short activists prediction
Project description
Short activist predictor
Note
This Python package provides a machine learning model for predicting the likelihood of success for short activist reports targeting public companies.
Installation
You can install the package using pip:
pip install short_activist_predictor
Usage
The package provides a Predictor
module with function predict_pdf()
that takes in a path to the PDF file of the short report and the target company name. It loads and analyzes the report text using NLP. The Predictor then outputs probability scores between 0-1 predicting the chance of a successful outcome from the report release over 3 time periods - within 1 days, 1 week, and 1 month.
Here's an example of how to use the Predictor.predict_pdf()
function:
from short_activist_predictor.predictor import Predictor
# Create a predictor instance by hf token indentification
predictor_ = Predictor(Predictor.Login_Token())
# Upload the report in pdf format
# This following function will ask you to upload a pdf to
while(True):
predictor_.predict_pdf()
To request access, please email danglchis.manage@gmail.com with your name, institution affiliation, and details on your proposed use case. We will evaluate requests and provide access to those with legitimate needs aligned with the intended uses of this model
Requirements
To use this package, you need to have Python 3.10 or higher installed on your system. You also need to have the following packages installed:
- Bertopic
- Transformers
- Huggingface_hub
- NLTK
License
This package is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.
Contact
If you have any questions or suggestions, feel free to contact Daglox Kankwanda at @danglchris.
Project details
Release history Release notifications | RSS feed
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 short_activist_predictor-0.1.0.tar.gz
.
File metadata
- Download URL: short_activist_predictor-0.1.0.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb4f26e736ade77c840ee9e781e3f9fe51835e621e1301a6aef45c80eea7cef |
|
MD5 | 80ec532276fdde54b2dc14a5aa2b2d3f |
|
BLAKE2b-256 | b20dd985cf7f7cbcf6f409a6a1290ab2c72463b2abd976b72ee54c19686343bb |
File details
Details for the file short_activist_predictor-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: short_activist_predictor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4e11e6a46b030a5a0ba88c9a3db5945429456314bd18ebfe27c9a1d98db032 |
|
MD5 | 55a642dbbb1667f8171baa251027425a |
|
BLAKE2b-256 | b15bd20dbe5e510d5c431ea75f65d614cfb0b1815f2f6c69bc8e6a0dc373960c |