<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abdul-Salam Bashar on Medium]]></title>
        <description><![CDATA[Stories by Abdul-Salam Bashar on Medium]]></description>
        <link>https://medium.com/@basharsalaam?source=rss-3411667c9e07------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HrDvGwN0g5SoUPvsC73Z_w.jpeg</url>
            <title>Stories by Abdul-Salam Bashar on Medium</title>
            <link>https://medium.com/@basharsalaam?source=rss-3411667c9e07------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:45:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@basharsalaam/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bayesian Inference for Probabilistic Modelling]]></title>
            <link>https://medium.com/@basharsalaam/bayesian-inference-for-probabilistic-modelling-fcaf09ce6cfc?source=rss-3411667c9e07------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcaf09ce6cfc</guid>
            <category><![CDATA[bayesian-inference]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[bayesian-statistics]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Abdul-Salam Bashar]]></dc:creator>
            <pubDate>Wed, 12 Jul 2023 00:12:11 GMT</pubDate>
            <atom:updated>2023-07-12T10:27:21.925Z</atom:updated>
            <content:encoded><![CDATA[<h3>Probabilistic Modelling using Bayesian Inference</h3><p>Bayesian Inference, according to Wikipedia, is a method of statistical inference in which Bayes’ theorem is used to update the probability for a hypothesis as more evidence or information becomes available. In other words, it is a way of incorporating new information into your existing knowledge to form a more accurate belief about something. Bayes’ Theorem, the basis of Bayesian inference, provides a mathematical formula for calculating the probability of an event occurring, given that another event has already occurred (conditional probability). The foundation of Bayesian inference can be traced back to the 18th century when Reverend Thomas Bayes introduced the self-titled Bayes’ theorem. His work on probability and inverse probability was published posthumously which laid the groundwork for the Bayesian inference.</p><p>When performing Bayesian inference, we begin with an initial belief regarding the unknown parameter called the prior probability distribution. The initial belief is based on already existing information or subjective knowledge. As new data becomes available, we update our beliefs using Bayes’ theorem, which combines the prior probability distribution with the likelihood function. The likelihood function quantifies the probability of arriving at the data we have collected or obtained through measurements, experiments, or observations, under different possible values. For example, if we were to analyze a dataset of various weights of individuals, “the given data” would be the specific weight values that we have measured or recorded. The likelihood function calculates the probability of observing this particular set of data under different possible values of the parameter we are interested in (such as the population mean weight). The result of combining the prior probability and the likelihood function is the posterior distribution, which represents our updated belief about the parameter after considering the data.</p><p>In Bayesian inference, the strength of the evidence is represented by the posterior probability distribution. It captures the uncertainty and allows for probabilistic reasoning. The posterior distribution can be used to make predictions, estimate parameters, or compare different hypotheses. To give an example of how Bayesian Inference works, suppose you believe the probability of tossing a particular die and getting a 6 is 16.6% (1/6). However, upon examining the die, you see that the die is infact weighted and has a bias towards ending up on a 2. You would now have to update your belief because of this new information. In another example, a financial market expert may believe that the stock price of a company will increase in the next few months. However, if news headlines say that company is going through financial difficulties, the stock expert will have to update their belief based on this new information. In the context of decision theory, Bayesian inference is closely related to subjective probability, often called Bayesian probability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xjc96qJxeErmcq8WtZSKEg.png" /><figcaption>Bayesian Inference System</figcaption></figure><h3><strong>Overview of Probabilistic Modelling</strong></h3><p>Probabilistic modeling is a technique employed in machine learning to record and depict uncertainty in real-world situations. It involves constructing mathematical models that describe the probabilistic relationships between variables in a system. In probabilistic modelling, the effect of random occurrences is used to calculate the possibility of future results. It is a quantitative modeling method that describes several possible outcomes that might even go beyond what has happened recently. The technique is an important part of data analysis, based on the application of statistical codes to data analysis. The models constructed during probabilistic modelling describe the probability distributions of variables of interest and the relationships between them. These variables could either be observed variables which are already existing or measured in the data, or unobserved variables (latent variables) which are considered stochastic.</p><p>In probabilistic modeling, the first step is to define the structure of the model. This involves specifying the variables of interest, their relationships, and the probability distributions associated with them. Variables in a probabilistic model represent the quantities or properties that we want to model or analyze. The structure of the model defines the dependencies between variables. It determines how the variables interact with each other and influence one another. This can be done using probabilistic graphical models. Next, the model parameters are estimated using statistical inference techniques. This is where Bayesian inference is applied.</p><p>Once the model is trained or fitted to the data, it can be used for various purposes. It can be used for probabilistic reasoning and inference, such as estimating the probability of certain events or making predictions about future outcomes. It can also be used for generative modeling, where new data is generated from the learned model to simulate realistic samples. Additionally, probabilistic models can be used for decision-making under uncertainty, optimization, and causal inference. By explicitly modeling uncertainty through probability distributions, it provides a more accurate way to reason about uncertain information and make informed decisions.</p><h3><strong>Performing Probabilistic Modelling with Bayesian Networks</strong></h3><p>Probabilistic modelling using the Bayesian Inference system utilizes the principles of Bayesian statistics for the creation and analysis of probabilistic models. As mentioned earlier, the Bayesian inference system provides a framework for updating prior knowledge and making inferences about incalculable quantities or parameters, based on observed data. Defining the structure of probabilistic models involves the use of probabilistic graphical models. One of the most popular ones used, is the Bayesian network. Bayesian networks represent the dependencies among variables using Directed Acyclic Graphs (DAGs), where nodes represent variables, and the edges represent probabilistic dependencies. They enable the modelling of complex systems through the explicit representation of the conditional dependencies between variables, thereby making it easier to understand and reason about the relationships between different variables in the model. They provide a visual representation of the probabilistic model structure, aiding in model interpretation and analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*IcmfqQGXMLjf9sUxU7efgg.png" /><figcaption>Directed Acyclic Graph Example.</figcaption></figure><p>During inference, Bayesian networks use Bayes’ theorem to update the probability distributions of the variables based on observed evidence. The process involves propagating the evidence through the network and adjusting the probabilities of the variables based on the observed data. This updating process takes into account the prior probabilities, the structure of the network, and the observed evidence, resulting in updated posterior probabilities for the variables of interest. Each node in the Bayesian Network is associated with a Conditional Probability Table (CPT), a component of the Bayesian Network that defines the probability distribution of an event occurring, given that another event has already occurred.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*majwGepghlRX_V7-lykBsQ.png" /><figcaption>Bayesian Network Example with CPT</figcaption></figure><p>Bayesian networks involve multiple variables with complex dependencies and these dependencies are represented as a network structure. However, computing the probabilities of variables given evidence or making predictions based on observed data can be computationally challenging. Algorithms can provide systematic and efficient methods to navigate through these complex dependencies and compute the desired results. However, the selection of an appropriate algorithm depends on the characteristics of the network and the trade-offs between computational complexity and desired accuracy. Examples of some of the algorithms include</p><p>· <a href="https://academic-accelerator.com/encyclopedia/belief-propagation">Belief Propagation</a></p><p>· <a href="https://machinelearningmastery.com/markov-chain-monte-carlo-for-probability/">Markov Chain Monte Carlo (MCMC)</a></p><p>· <a href="https://artint.info/2e/html/ArtInt2e.Ch8.S4.SS1.html">Variable Elimination</a></p><h3><strong>Advantages of Probabilistic Modelling with Bayesian Inference</strong></h3><p>Probabilistic Modelling using Bayesian Inference offers a transformative approach to data analysis and decision-making. By leveraging the principles of Bayesian statistics, this methodology provides a range of advantages that enhance the accuracy, interpretability, and robustness of modelling outcomes. With the ability to incorporate prior knowledge, quantify uncertainty, and adapt to changing data, Bayesian Inference empowers data analysis and decision making to make more informed choices in complex and uncertain environments. Some of the advantages of probabilistic modelling using Bayesian inference are:</p><p><strong>Flexibility: </strong>Bayesian Inference allows for the incorporation of prior knowledge and beliefs into the modelling process. This flexibility enables the integration of expert opinions, historical data, or domain-specific information, leading to more accurate and meaningful results.<strong><br>Uncertainty Quantification: </strong>Bayesian Inference provides a framework to quantify uncertainty in the model. By representing probabilities as probability distributions, it allows for a better understanding of uncertainty and variability in the predictions. <strong><br>Incremental Learning and Updating: </strong>Bayesian Inference supports incremental learning, meaning that the model can be continuously updated as new data becomes available. This capability allows for adaptive and dynamic modelling, ensuring that the model remains relevant and accurate over time.<strong><br>Interpretable Results: </strong>Bayesian Inference provides interpretable results in the form of probability distributions. This allows decision-makers to understand the uncertainty associated with the predictions and make informed decisions based on the model’s outputs. <strong><br>Robustness to Small Data: </strong>Bayesian Inference is known for its ability to handle small data sets effectively. By incorporating prior knowledge, it can compensate for limited data and produce reliable estimates and predictions.</p><h3><strong>Disadvantages of Probabilistic Modelling with Bayesian Inference</strong></h3><p>While Probabilistic Modelling using Bayesian Inference brings numerous benefits to data analysis and decision-making, it is important to acknowledge its limitations and potential challenges. Understanding the disadvantages associated with this methodology is crucial for practitioners to make informed choices and mitigate potential pitfalls. A few of the disadvantages are: <br><strong>Computational Complexity</strong>: Bayesian Inference often involves complex calculations and requires substantial computational resources. As the size of the dataset and the complexity of the model increase, the computational burden can become significant, leading to longer processing times.<br><strong>Scalability Issues</strong>: Scaling Bayesian models to handle large datasets or high-dimensional spaces can be challenging. The computations required to update the posterior distribution become increasingly complex and may become infeasible for large-scale applications.<br><strong>Sensitivity to Prior Specification</strong>: The choice of prior distribution in Bayesian Inference can have a significant impact on the results. Different prior assumptions can lead to different posterior distributions, making the analysis subjective and dependent on the prior beliefs of the analyst.<br><strong>Subjective Interpretation of Priors</strong>: The assignment of prior distributions often involves subjective judgments based on prior knowledge or expert opinions. This subjectivity can introduce biases into the analysis, as different analysts may have different beliefs and assumptions.</p><h3><strong>Applications of Probabilistic Modelling with Bayesian Inference</strong></h3><p>Probabilistic modelling with Bayesian inference is a powerful tool that can be used to model uncertainty and make predictions in a variety of domains. Some of the most common applications of probabilistic modelling with Bayesian inference include:</p><p><strong>Medical diagnosis</strong>: Bayesian networks can be used to model the probabilistic relationships between different symptoms and diseases. This can be used to help doctors diagnose patients more accurately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*RYbdQ8JHETvZcZVsVN6W0A.png" /><figcaption>Simplified Bayesian Network for Medical Diagnosis</figcaption></figure><p><strong>Weather forecasting</strong>: Bayesian networks can be used to model the probabilistic relationships between different weather variables. This can be used to help forecasters predict the weather more accurately.</p><p><strong>Financial forecasting</strong>: Bayesian networks can be used to model the probabilistic relationships between different financial variables. This can be used to help traders make more informed decisions about their investments.</p><p><strong>Fraud detection</strong>: Bayesian networks can be used to model the probabilistic relationships between different customer behaviors. This can be used to help businesses identify fraudulent transactions.</p><h3><strong>Conclusion</strong></h3><p>Probabilistic Modelling using Bayesian Inference offers a powerful framework for data analysis and decision-making. It allows for the integration of prior knowledge with observed data to derive probabilistic inferences and make informed decisions. The flexibility, interpretability, and ability to handle uncertainty make Bayesian Inference an attractive approach in various domains such as healthcare, finance, and engineering. Throughout this article, we have explored the foundations of Bayesian Inference, its applications in probabilistic modelling, and the advantages it brings to data analysis.</p><p>While Bayesian Inference offers numerous benefits, it is important to recognize its limitations and potential challenges. Computational complexity, subjectivity in prior selection, data requirements, assumptions and simplifications, and interpretability challenges are among the factors that practitioners need to consider when employing this methodology. In spite of these challenges, Bayesian Inference remains a valuable tool in the data scientist’s toolbox. Its ability to handle uncertainty, incorporate domain knowledge, and update beliefs based on data make it well-suited for complex real-world problems. As the field of data science continues to evolve, Probabilistic Modelling using Bayesian Inference will continue to play a vital role in enhancing decision-making, understanding uncertainties, and making predictions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcaf09ce6cfc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Object Detection and Classification in Videos using Deep Learning]]></title>
            <link>https://medium.com/@basharsalaam/object-detection-and-classification-in-videos-using-deep-learning-9c822d3df6e4?source=rss-3411667c9e07------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c822d3df6e4</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[convolutional-network]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Abdul-Salam Bashar]]></dc:creator>
            <pubDate>Mon, 26 Jun 2023 15:02:17 GMT</pubDate>
            <atom:updated>2023-06-26T16:33:44.065Z</atom:updated>
            <content:encoded><![CDATA[<p>Object detection and classification is a rapidly growing and important area of research in Computer Vision. Due to the recent advancements in Artificial Intelligence, Machine Learning, and Data Analytics, considerable progress has been marked in the ability to detect, locate, and classify objects within digital images or videos. In this article, we shall discuss the general principle of object detection and classification in videos using Deep Learning techniques. We will also discuss the real-world significance and usefulness of object detection and classification in videos across different industries such as autonomous driving, robotics, medical imaging, and so on. Be you a data scientist, computer vision enthusiast or machine learning engineer, this article will help you gain an understanding on the process of object detection and classification in videos using Deep Learning.</p><h3><strong>What is Object Detection?</strong></h3><p>Object detection refers to the process of locating objects of interest within an image or video frame. The whole idea is to determine the <a href="https://www.ayadata.ai/blog-posts/bounding-boxes-in-computer-vision-uses-best-practices-for-labeling-and-more#:~:text=Bounding%20boxes%20are%20used%20to,with%20many%20machine%2Dlearning%20algorithms.">bounding boxes</a> that tightly bound the objects. Object detection algorithms scan the input data (video or image), examining different regions or areas to identify potential objects. These algorithms make use of various methods such as <a href="https://www.mygreatlearning.com/blog/feature-extraction-in-image-processing/">feature extraction</a>, machine learning, and deep learning to recognize objects and identify their location within the scene.</p><h3><strong>What is Object Classification?</strong></h3><p>Object classification deals with the attributing of semantic labels to objects based on their visual appearance or features. Given a region of interest within an image, the objective is to classify the object into predefined classes or categories. Classification models are trained on labeled datasets and use algorithms like Convolutional Neural Networks (CNNs) to extract distinguishable features from the input and make predictions about the object’s class.</p><p>Both object detection and object classification are foundational activities in Computer Vision that involve analyzing images or videos to identify and classify objects within them. The process of object detection and classification can be quite complex due to the time dimensionality of videos. The time dimensionality of videos refers to the temporal aspect or the sequence of frames that make up a video. Unlike static images that capture a single moment in time, videos are a collection of frames presented in rapid succession, creating the illusion of motion. Videos can be viewed as a sequence of still images or frames that unfold over time. This means that objects in the video can move, change scale or appearance or even disappear within consecutive frames. The time dimensionality of videos can also be referred to as the number of <a href="https://www.techopedia.com/definition/7297/frames-per-second-fps">frames per second</a> (FPS) a video is recorded at. Although object detection and classification in videos can be more complex than in static images, advancements in computer vision and deep learning have led to the development of specialized algorithms and frameworks that address the challenges involved. Some of the challenges include:</p><ul><li><strong>Occlusion</strong>: Occlusion refers to a situation where one object completely or partly obstructs the view of an object of interest. Occlusion is a major challenge in object detection and classification because the occluded object may not be completely visible in the frame, preventing the algorithms from accurately identifying the object. Accounting for occlusions in object detection and classification requires advanced algorithms that are capable of handling partial visibility of objects of interest such as <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8309632/">depth estimation</a> techniques.</li><li><strong>Motion Blur</strong>: Motion blur occurs as a result of the relative motion between the camera or the object being captured and the scene. Because of this, a smeared or blurred appearance of moving objects is produced in the video. Techniques such as deblurring and image stabilization can be used to mitigate motion blur in videos.</li><li><strong>Changes in scale or appearance of objects</strong>: The scale or size of objects can change considerably as they move nearer or farther away from the camera. This variation in scale makes it difficult to maintain consistent size references for object detection and classification algorithms. An object that appears large in one frame may appear much smaller in the next. Feature extraction, and machine learning approaches are employed to handle these challenges.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*OQykQcoFjSmEXsYG1oeiyQ.png" /><figcaption>Issues with Object Detection and Classification</figcaption></figure><p>With the right tools and techniques, it is possible to achieve accurate and reliable object detection and classification in videos. However, it does require a deeper understanding of video processing concepts and the utilization of appropriate methodologies. The ability to detect and classify objects in videos is useful in many industries as these technologies enable industries to accurately track objects, analyze patterns, and extract meaningful information from video data. The following are some of the real-life applications of object detection and classification in industries:</p><ul><li><strong>Security Systems</strong>: Industries that deal with surveillance and security, rely heavily on object detection and classification to detect threats, monitor activities, and ensure public safety. People or certain objects can be tracked using object detection algorithms to determine or identify threats.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0JpPnz8ewGd6FS1YCtYXw.png" /><figcaption>Object Detection and Classification applied in Surveillance Systems</figcaption></figure><ul><li><strong>Autonomous Vehicles</strong>: Object detection and classification are used to identify and track objects on the road, such as cars, pedestrians, and cyclists. This information is used to help self-driving cars navigate safely without colliding into other vehicles or pedestrians. The electric car company Tesla, famous for their self-driving cars uses the <a href="https://roboflow.com/model/mobilenet-ssd-v2#:~:text=MobileNetSSDv2%20(MobileNet%20Single%20Shot%20Detector,constraints%20in%20devices%20like%20smartphones.">MobileNetV2</a> model which is a CNN designed for devices with limited processing power.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*WzWX_ylSSMszQUyZCaN1NA.png" /><figcaption>Pedestrian and Vehicle Detection</figcaption></figure><ul><li><strong>Healthcare:</strong> Medical images can be tracked and identified using object detection and classification models, in order to diagnose diseases and plan for surgeries. They can also be used to identify anatomical structures and detect abnormalities in scans such as X-rays, CT scans or MRIs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*qXtz4VgiOvczrLvn5X10bw.gif" /><figcaption>Object Detection and Classification in Medical Imaging</figcaption></figure><ul><li><strong>Sport Analysis: </strong>Object detection and classification in sports videos have enabled performance analysis of players and referee assistance in various sports. By accurately tracking player movements, ball trajectory, and game events, valuable insights are gained for training, strategy development, and officiating. Real-time statistics and analytics enhance the viewing experience for fans and broadcasters, while helping coaches and players make informed decisions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*WnNFxvcbepCKdp19WqrR5w.png" /><figcaption>Ball and Player tracking using Detection and Classification Algorithms</figcaption></figure><h3><strong>Evolution of Object Detection and Classification in Videos</strong></h3><p>Over the years, models for object detection and classification have seen significant progress. Some of the first approaches involved applying object detection techniques originally designed for static images to video frames. Unfortunately, these models didn’t account for the temporal property of videos. However, one major advancement was the introduction of the concept of motion-based object detection. This approach involved analyzing the differences between consecutive video frames to identify moving objects. Techniques such as optical flow estimation which involves the estimation of the motion of pixels or features of an image or a video to determine their movement in the image or video were used to track objects based on their movement patterns.</p><p>Although these kinds of techniques were successful in achieving the desired outcome to an extent, they didn’t do very well in accounting for occlusions and complex motion of objects. After a while, researchers recognized the need to incorporate temporal information into the object detection process. This gave rise to the development of more sophisticated models that were able to analyze object movement paths and model temporal dependencies. The introduction of Deep Learning, particularly CNNs, revolutionized the field of computer vision. Models like <a href="https://towardsdatascience.com/yolo-you-only-look-once-real-time-object-detection-explained-492dc9230006">YOLO</a> (You Only Look Once) and <a href="https://blog.paperspace.com/faster-r-cnn-explained-object-detection/#:~:text=Faster%20R-CNN%20is%20a,the%20locations%20of%20different%20objects.">Faster R-CNN</a> (Recurrent Convolutional Neural Networks) paved the way for real-time object detection and classification in videos.</p><h3><strong>Application of Deep learning in Video Analysis</strong></h3><p>Deep learning is a type of machine learning that uses artificial neural networks to learn from data. <a href="https://www.investopedia.com/terms/n/neuralnetwork.asp">Neural networks</a> are based on the human brain, and they are able to learn complex patterns in data that would be difficult or impossible to learn using traditional machine learning techniques.<strong> </strong>It has gained immense popularity in the field of computer vision due to its ability to automatically learn hierarchical representations directly from raw data, such as images and videos. Deep learning techniques and models are crucial in performing object detection and classification in digital data. In the past, machine learning engineers created features for detecting and classifying objects by hand, but it was a difficult task and did not yield accurate results. With deep learning models, especially CNNs, computers can learn these features on its own from the data, which makes it much better at detecting and classifying objects accurately.</p><p>CNNs are a type of deep learning model that is widely used in computer vision tasks, including video analysis. They consist of various layers of interconnected nodes called neurons. The first layer of the network receives inputs directly from the input data itself, which in this context, would be the video frames. The neurons in subsequent layers in the network take input from neurons in the preceding layers. The neurons then perform a series of mathematical operations on the inputs. An example of one operation is the multiplying of the inputs by corresponding weights. Weights can be thought of a tool to make certain inputs less or more important than others. After multiplying each input by its weight, the neuron adds up all the weighted inputs together. It takes the sum of these products and produces a single value. This process of multiplying inputs by weights and adding them up is called a <a href="https://medium.com/wwblog/transformation-in-neural-networks-cdf74cbd8da8">linear transformation</a>. It’s a way for the neuron to combine and process information from its inputs. After the linear transformation, non-linearity is introduced to the output. This is where the <a href="https://towardsdatascience.com/activation-functions-neural-networks-1cbd9f8d91d6">activation function</a> comes into play. An activation function is a mathematical function that applies a non-linear transformation to the output of a neuron (the sum of weighted inputs). Without applying non-linearity to the output, the network would simply be a series of linear operations, and the network wouldn’t be able to capture complex patterns and relationships in the data. In image recognition tasks, the patterns and features that differentiate one object from another are often non-linear. If we were to use only linear operations, the network would struggle to accurately distinguish between objects and classify them correctly. By adjusting the weights and biases of the neuron during the training process, the neuron learns to recognize and respond to specific patterns or features in the input data. As the information flows through the layers of the network, each neuron builds on the patterns learned by previous neurons, leading to higher-level representations of the input data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*YhW3QaBsl7kpaOXkC1xceA.jpeg" /><figcaption>Neural Network Architecture with multiple layers</figcaption></figure><p>The major advantage deep learning models have over other methods of object detection and classification in videos is their capability to learn the relationships between objects in a video frame (spatial dependencies) as well as the relationships between frames in a video sequence (temporal dependencies). Traditional methods for video analysis, such as hand-crafted features, are only able to capture spatial dependencies. This means that they are not able to track objects over time or recognize actions. The introduction of Deep learning brought forth a new paradigm of video analysis by enabling more sophisticated and effective object detection and classification algorithms. It has significantly improved the accuracy and efficiency of video analysis tasks, opening up new possibilities for real world applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c822d3df6e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>