Metadata-Version: 2.4
Name: kpi-impact-sim
Version: 0.3.0
Summary: Engine to estimate KPI improvement actions using Ridge regression + operational feasibility rules.
Author: Victor Morales
License: MIT License
        
        Copyright (c) 2025 Victor Morales
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://github.com/VictorMorales94/kpi-impact-simulation-engine
Project-URL: Source, https://github.com/VictorMorales94/kpi-impact-simulation-engine
Project-URL: Documentation, https://github.com/VictorMorales94/kpi-impact-simulation-engine
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scikit-learn
Dynamic: license-file

# kpi-impact-sim

**kpi-impact-sim** es un motor de simulación basado en *Ridge Regression* que permite estimar cuánto debe modificarse cada variable operativa para lograr una mejora específica en un KPI objetivo.

Permite a cualquier empresa:
- Identificar qué variables impactan realmente un KPI.
- Simular escenarios de mejora (+1%, +2 puntos, +5%, etc.).
- Entender límites operativos realistas.
- Ejecutar análisis sin depender de dashboards externos.

Ideal para áreas de:
✔ Retenciones  
✔ Contactabilidad  
✔ Ventas  
✔ Operaciones  
✔ Experiencia del cliente  
✔ Analítica en general  

---

## ✨ Características Principales

- Preprocesamiento automático de columnas (fechas, porcentajes, numéricas).
- Detección automática de unidades (0–1 vs 0–100).
- Entrenamiento RidgeCV estable y robusto.
- Coeficientes desescalados en unidades reales.
- Simulación operativa con validaciones de factibilidad.
- Compatible con cualquier dataset empresarial.
- Perfecto para automatizar decisiones.

---

## 📦 Instalación

```bash
pip install kpi-impact-sim
