The given flow depicts the pathway of data through the model
---
title: Data Flow in TiresiasIQ v2
---
flowchart TD
Start -->A
A[User Logs Input] -->|"I feel empty after the breakup"| B[NLP Feature Extractor]
B --> C[["Keywords (Entities, Lemmas)"]]
B --->D[["Sentiment (Polarity, Subjectivity)"]]
B --->E[["`Action Verb Extraction
via VERB/NOUN Lemmas`"]]
E --> F[(Embeds stored in sqlite3 database)]
C --> |Hours, Weekdays|G["Temporal Features Extractor (Experimental)"]
D --> G
E --> G
G --> |"What is the probability of me crying at 11PM?"|H["`Features Vector Builder
(Keywords + Sentiment + Action Embeddings + Time)`"]
F --> H
H --> I{{"`FeedForward Neural Network
keras.Sequential([
Dense(32, relu) > Dense (1, σ)
])`"}}
I --> J@{ shape: das, label: "Prediction Score %" }
J --> K[/"Cry 78% at 11PM"/]
K --> Stop
Stable releases can be found in Releases section.
Recommended: Use the web app that can be run without any errors through python -m streamlit run app.py
after installing the necessary dependencies (Python 3.13 is required) which are which can be installed through
pip install -r requirements.txt
Note
If you don't have pip, just run the get-pip.py
file and then install
- Install spaCy English model through:
python -m spacy download en_core_web_sm
- Run streamlit web app
pythom -m streamlit run app.py
If you are using the GUI for Windows, the interface will look as shown below
You need Python 3.10+ (but not 3.12 as it does not support tensorflow) TensorFlow 2.12 is the last version officially supporting Python 3.11 on Windows.
Just run setup.bat
, it will show any necessary logs/errors and will install the required dependencies as well as start the Predictor Environment
Important
The first setup may take 10+ minutes if everything works smoothly
ImportError: DLL load failed while importing _pywrap_tensorflow_internal:
A dynamic link library (DLL) initialization routine failed.
Cause | Explanation |
---|---|
Missing Visual C++ Redistributables | TensorFlow needs specific low-level system DLLs (MSVCP140.dll , etc.) from Microsoft. Download the latest version of C++ and also VC++ from here |
Incompatible TensorFlow version | If you mix TensorFlow versions with Python versions it doesn't support, it breaks like this. |
GPU-related issues (if applicable) | Installing tensorflow-cpu , sometimes the DLLs still call GPU-related imports. So install the lightweight cpu version |
Windows blocks DLL loading | Sometimes SmartScreen/Antivirus blocks DLL initialization silently. |
Warning
Always remember your username, it is like your password to access your specific db, different usernames will create different dbs.
This project is licensed under the TiresiasIQ Personal Use License (T-PUL) v1.0.
See LICENSE.txt for full terms.
Use it, don't abuse it.