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.1.tar.gz (14.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pylinreglib-0.1.1.tar.gz
  • Upload date:
  • Size: 14.9 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.1.tar.gz
Algorithm Hash digest
SHA256 c3fa6211e89add86e49f525bffabcc71af5cbecd4e38080d0592b94e18bc3222
MD5 d1edda35ace656dcb63a8b1fe94edc05
BLAKE2b-256 397d64e986643943850f3411fd6cd284832471016a393be7eaac386722e8a0f5

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