Entradas

Patrones de diseño para la nube

 Explicaré esto en español, pues hay muchas fuentes en Inglés y creo que esto es crítico y debemos entenderlo muy bien!  Estos patrones de diseño los clasificaremos en: Diseño e implementación : Impacta en consistencia y coherencia en el diseño de sus componentes, además de despliegue, mantenabilidad a nivel administración y desarrollo, reusabilidad para permitir que el componente y sus subsistemas sean usados por otras aplicaciones en otros escenarios. Mensajería : La naturaleza de las aplicaciones de la nube requiere una infraestructura de mensajería que conecta servicios y componentes, de manera poco acoplada para maximizar la escalabilidad. Los mensajes asincrónicos proveen sus beneficios, pero genera otros problemas como ordenamiento de mensajes, manejo de mensajes "envenenados", idempotencia, etc. Administración y monitoreo : Dado que no se posee acceso a los servidores remotos, es importante exponer información en tiempo de ejecusión para permitir a los administradore...

Linear Models

Introduction In a linear model, the goal is to find the best-fit line or hyperplane that minimizes the difference between the predicted output and the actual output. The predicted output is obtained by multiplying the input features with their corresponding weights (coefficients) and adding a bias term. Mathematically, the linear model can be represented as: y = w₁x₁ + w₂x₂ + ... + wₙxₙ + b Where: y is the predicted output or target variable. x₁, x₂, ..., xₙ are the input features. w₁, w₂, ..., wₙ are the weights (coefficients) associated with the input features. b is the bias term or intercept. The linear model aims to learn the optimal values for the weights (w₁, w₂, ..., wₙ) and the bias term (b) from the training data. This process is typically done by minimizing a cost function, such as mean squared error (MSE) or mean absolute error (MAE), using techniques like ordinary least squares (OLS) or gradient descent. Linear models have several advantages, including simplicity, interpret...