From 2231ca3fad8a76413ed284e900b47456234472b1 Mon Sep 17 00:00:00 2001 From: elhadji Date: Thu, 13 Aug 2026 00:07:54 +0200 Subject: [PATCH] update Readme file to fix model server port and file name --- revenueassurance/ReadMe.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/revenueassurance/ReadMe.md b/revenueassurance/ReadMe.md index 9b2a28f..5941750 100644 --- a/revenueassurance/ReadMe.md +++ b/revenueassurance/ReadMe.md @@ -43,7 +43,7 @@ Final-Model: https://huggingface.co/fenar/revenue-assurance (1) (Obviously) Clone the Repo :-)
(2) Open revenueassurance/01-telco-revass-randomforest.ipynb and Run-All. This would install all required libs, extract data from data/telecom_revass_data.csv.xz and load it for the model training {BalancedRandomForestClassifier }, evaluate it and save it under models/ directory.
-(3) Run 01-model_server.py which loads the BalancedRandomForestClassifier and serves on http://localhost:5000/predict url.
+(3) Run 01-randomforest-model_server.py which loads the BalancedRandomForestClassifier and serves on http://localhost:35000/predict url.
![Model-Server](https://raw.githubusercontent.com/fenar/etc-ai-wrx/main/revenueassurance/data/modelserver.png)
(4) From a cli , do a curl query:
@@ -66,7 +66,7 @@ curl -X POST -H "Content-Type: application/json" -d '{ "Personal_Pin_Used": 0, "Avg_Call_Duration": 50, "Avg_Data_Usage": 8000 -}' http://localhost:5000/predict +}' http://localhost:35000/predict ``` (B) Potential Non-Fraud Test:
``` @@ -83,7 +83,7 @@ curl -X POST -H "Content-Type: application/json" -d '{ "Personal_Pin_Used": 1, "Avg_Call_Duration": 12, "Avg_Data_Usage": 350 -}' http://localhost:5000/predict +}' http://localhost:35000/predict ``` ## Deploying as k8s pod