Downloads · 30 days
0
sanjeevafk/finsight-indian-tax-models
finsight-indian-tax-models is a tabular classification model from sanjeevafk. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This repository contains the trained, serialized machine learning models powering FinSight, an automated financial intelligence and tax estimation platform calibrated against the Indian Income Tax New Tax Regime (Sect…
Downloads · 30 days
0
Access
Public
Updated Aug 31, 2026
Repo size
7.6 MB
Likes
0
Public
Click a slice to open those files.
.joblib7.6 MB · 99%
From the Hugging Face model README
This repository contains the trained, serialized machine learning models powering FinSight, an automated financial intelligence and tax estimation platform calibrated against the Indian Income Tax New Tax Regime (Section 115BAC - FY 2025–26).
The models ingest a 16-dimensional standardized financial behavioral vector:
log_annual_credit (log-transformed annual deposit magnitude)log_annual_debit (log-transformed annual withdrawal magnitude)net_savings_ratio (surplus retention ratio)monthly_burn_rate (debits / credits)salary_inflow_ratio (payroll credit share)monthly_credit_cv (coefficient of variation of monthly deposits)salary_regularity_score (months with consistent salary inflow / 12)bonus_lump_sum_ratio (lump-sum spikes >= 2x monthly average)investment_ratio (SIPs, mutual funds, equity allocations)fixed_obligation_ratio (rent, EMIs, utilities)discretionary_ratio (dining, food delivery, shopping, travel)tax_shield_ratio (NPS Tier-1 14%, PPF, term life insurance)upi_velocity_index (UPI transaction share)micro_spend_density (UPI transactions < ₹500 / total outflow)log_avg_ticket_size (mean transaction value log-scaled)capital_gains_flux (dividend & redemption inflows)import joblib
import numpy as np
# Load artifacts
scaler = joblib.load("scaler.joblib")
regressor = joblib.load("income_regressor.joblib")
classifier = joblib.load("tax_classifier.joblib")
# Example 16D feature vector
x = np.array([[14.18, 13.79, 0.32, 0.68, 0.88, 0.08, 1.0, 0.10, 0.18, 0.31, 0.21, 0.08, 0.72, 0.06, 7.62, 0.0]])
x_scaled = scaler.transform(x)
pred_income = regressor.predict(x_scaled)[0]
pred_slab = classifier.predict(x_scaled)[0]
print(f"Estimated Gross Income: ₹{pred_income:,.2f}")
print(f"Predicted Tax Slab: Class {pred_slab}")