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 nombre_de_tu_biblioteca import mlrm  # Reemplaza con el nombre real de tu biblioteca

# 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.0.tar.gz (15.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pylinreglib-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d68e0855edb12c071907fa9d305611a4c0a5aaff9c659fb7f63b5c5bc1112aac
MD5 7506a2346bc3612148f2707311425da9
BLAKE2b-256 02c843e8d0a97391e54ccaa6a15fb8fe026ba8fbc57bbf8f7768128a1c199229

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