Views
No views yet
requirements.txt file has been provided to easily install the required libraries.pip3 install -r requirements.txtpandas & numpy (for tabular data manipulation)networkx (for graph construction and feature extraction)scikit-learn (for the LightGBM/GBDT tree-based ML model)matplotlib (for network visualization)joblib (for saving/loading the trained model weights)python3 finqor_pipeline.pyPerson_XX), Limited Liability Partnerships (TOO Company_XX), Joint-Stock Companies (JSC Company_XX), and Individual Entrepreneurs (IP Company_XX) in Kazakhstan (Almaty, Astana, Shymkent, etc.). It injects real fraud topologies (Fan-out, Transit chains, Cyclic loops). This generates nodes.csv, edges.csv, and labels.csv.NetworkX graph. It calculates powerful structural features for every entity (Fan-in ratio, Fan-out ratio, PageRank, averages of incoming/outgoing funds).HistGradientBoostingClassifier (a native Scikit-Learn implementation of LightGBM that is robust natively on Mac/Windows without libomp errors), the model is trained on these graph features. After training, the weights are saved to finqor_model.pkl. The model then scores every node with a Fraud Probability (Risk Score between 0.0 and 1.0).report.txt, documenting exactly why these nodes were identified (e.g., "Fan-out behavior detected").finqor_graph.png), with nodes colored deeply red for high risk.