A project to recognize and assess prediction data (text, numerical, audio, visual). The goal is to provide an analysis of how accurate predictions are.
├── misc # Contains random pieces of unfinished code.
├── prediction_classification # Contains the pipeline to classify if a sentence is a prediction or not.
├── prediction_correctness # Contains the pipeline to assess how similar a prediction is to an actual outcome.
├── classification_models.py # Contains the models to classify if a sentence is a prediction or not.
├── clean_predictions.py # Contains the code to clean our data.
├── data_processing.py # Contains the code to manipulate our data.
├── feature_extraction.py # Contains the code to extract features from predictions.
├── log_files.py # Contains the code to produce a log file.
├── requirements.py # Contains the requiremmts to run code in project.
├── text_generation_models.py # Contains the LLMs to generate our data.
└── README.md # Project documentation
Use the package manager you prefer. If uv package manager, follow the below
- Install the uv package manager. For macOS, you can use
brew install uv, - OPTIONAL: Create a project with
uv init .that'll default to name of directory. It may need to be repository namepredictions, so you could tryuv init predictions- If you already see a
.tomlfile, you should be able to skip.
- If you already see a
- Create virtual environment with
uv venvoruv venv <name>(uv venv .venv_predictions) - Activate virtual environment with
source .venv/bin/activateorsource .<name>/bin/activate(source .venv_predictions/bin/activate) - Install requirements with
uv pip install -r pyproject.toml - Install
uv pip install ipykernelso you can run the jupyter notebooks - Create a
.envfile- Create a NaviGator API key --
NAVI_GATOR_API_KEY = "djb2" - OPTIONAL: Create a Groq Cloud API key --
GROQ_CLOUD_API_KEY = "djb"
- Create a NaviGator API key --