Skip to main content

Biblioteca de libre desarrollo especializada en regresiones lineales

Project description

pylinreglib

Esta es una biblioteca para realizar regresiones lineales y curvas logísticas, compatible con Python. Permite realizar análisis estadísticos avanzados utilizando modelos de regresión múltiple.

Instalación

Para instalar esta biblioteca, puedes usar pip:

pip install pylinreglib

Requisitos

  • Python >= 3.6

  • NumPy

  • Pandas

  • scipy

  • matplotlib

  • seaborn

Uso

Regresión Lineal Múltiple

Puedes usar la biblioteca para realizar regresiones lineales múltiples con variables tanto numéricas como categóricas. Aquí tienes un ejemplo básico de cómo hacerlo:

import pandas as pd
from pylinreglib import mlrm

# Cargar datos
data = pd.read_csv('tus_datos.csv')

# Crear el modelo
model = mlrm(data, response_col="Horas_estudio", cat_col="Genero", predictor_cols=["Edad"])

# Ver los coeficientes del modelo
print(model.coefficients)

Funcionalidades

Regresión Lineal Múltiple (MLRM): Permite realizar regresiones con variables continuas y categóricas, con soporte para interacción entre variables.

Licencia

Este proyecto está bajo la licencia MIT - mira el archivo LICENSE para más detalles.

Autor

Samuel Ortiz Toro

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylinreglib-0.1.2.tar.gz (15.0 kB view details)

Uploaded Source

File details

Details for the file pylinreglib-0.1.2.tar.gz.

File metadata

  • Download URL: pylinreglib-0.1.2.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for pylinreglib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fca0f8a450de67ec51c1754c3435d8c767ad67ad181c05570a773c13f82a5fbf
MD5 648d5f16677c69e3bec38b31b0995fcd
BLAKE2b-256 74c777bf620894d0ac0eecd06c43e287feb1bdfefe196215a216d2bebdc8a627

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page