<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Machine Learning on Ujjwal Chowdhury</title><link>https://u77w41.github.io/categories/machine-learning/</link><description>Recent content in Machine Learning on Ujjwal Chowdhury</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 27 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://u77w41.github.io/categories/machine-learning/index.xml" rel="self" type="application/rss+xml"/><item><title>Forecasting and Anomaly Detection</title><link>https://u77w41.github.io/p/forecasting-and-anomaly-detection/</link><pubDate>Mon, 27 Jun 2022 00:00:00 +0000</pubDate><guid>https://u77w41.github.io/p/forecasting-and-anomaly-detection/</guid><description>&lt;img src="https://u77w41.github.io/p/forecasting-and-anomaly-detection/forecasting.png" alt="Featured image of post Forecasting and Anomaly Detection" /&gt;&lt;p&gt;&lt;strong&gt;&lt;a class="link" href="https://github.com/U77w41/Forcasting-and-Anomaly-Detection" target="_blank" rel="noopener"&#10; &gt;GitHub Repo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;In the &amp;ldquo;Forecasting-and-Anomaly-Detection&amp;rdquo; project, we delved into the realm of machine learning to enhance our understanding of Walmart sales data. The project focused on both time series forecasting and anomaly detection, employing a diverse set of techniques to achieve accurate predictions and identify unusual patterns in the sales data.&lt;/p&gt;&#10;&lt;h2 id="forecasting-techniques"&gt;Forecasting Techniques:&#10;&lt;/h2&gt;&lt;h3 id="regression-techniques"&gt;Regression Techniques&#10;&lt;/h3&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Polynomial Regression:&lt;/strong&gt; Leveraging the flexibility of polynomial functions to capture non-linear relationships in the data.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Multiple Linear Regression:&lt;/strong&gt; Utilizing multiple features to model the sales data and uncover complex dependencies.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Lasso Linear Regression:&lt;/strong&gt; Introducing L1 regularization to encourage sparsity in the model, selecting only the most influential features.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Ridge Linear Regression:&lt;/strong&gt; Applying L2 regularization to prevent overfitting and improve the generalization of the model.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Elastic Net Regression:&lt;/strong&gt; Combining L1 and L2 regularization to harness the strengths of both techniques.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="time-series-forecasting"&gt;Time Series Forecasting&#10;&lt;/h3&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;ARMA (AutoRegressive Moving Average):&lt;/strong&gt; Employing ARMA models to understand and predict the temporal patterns in Walmart sales data.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="anomaly-detection-techniques"&gt;Anomaly Detection Techniques:&#10;&lt;/h2&gt;&lt;h3 id="anomaly-detection-techniques-using-unsupervised-learning-approaches"&gt;Anomaly Detection Techniques using Unsupervised Learning Approaches&#10;&lt;/h3&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;KNN Regressor:&lt;/strong&gt; Utilizing the K-nearest neighbors algorithm to detect anomalies based on the deviation from the expected sales values.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;DBSCAN (Density-Based Spatial Clustering of Applications with Noise):&lt;/strong&gt; Identifying anomalies by clustering the sales data and isolating points that do not conform to any cluster.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;LSTM with Autoencoders:&lt;/strong&gt; Leveraging Long Short-Term Memory networks combined with autoencoders for capturing complex temporal dependencies and detecting anomalies in the sales data.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="data-version-control-dvc"&gt;Data Version Control (DVC)&#10;&lt;/h2&gt;&lt;p&gt;To maintain the integrity and traceability of our project, we adopted the Data Version Control (DVC) Python library. DVC facilitated the versioning of our data, ensuring reproducibility and providing a robust framework for collaboration.&lt;/p&gt;&#10;&lt;p&gt;This project represents a holistic exploration of machine learning techniques for forecasting and anomaly detection, combining traditional regression methods with cutting-edge time series forecasting and unsupervised learning approaches.&lt;/p&gt;&#10;</description></item></channel></rss>