Linear regression is one of the simplest yet powerful algorithms in machine learning. It serves as the foundation for more complex models and is widely used in predictive analysis, trend forecasting, and understanding relationships between variables. This blog post dives into the concepts, mathematical foundations, applications, and practical implementation of linear regression, complete with schematic … Continue reading “Linear Regression in Machine Learning”
Author: Srikanta
Understanding Gradient Descent in AI/ML
In the ever-evolving landscape of artificial intelligence and machine learning, Gradient Descent stands out as one of the most pivotal optimization algorithms. From training linear regression models to fine-tuning complex neural networks, it forms the foundation of how machines learn from data. By iteratively adjusting model parameters to minimize errors, Gradient Descent enables AI systems … Continue reading “Understanding Gradient Descent in AI/ML”
Introduction to AI/ML: A Journey Through Innovation
Artificial Intelligence (AI) and Machine Learning (ML) are not just buzzwords—they represent a profound shift in how humanity approaches problem-solving and innovation. From enabling smarter technologies to addressing some of the world’s most pressing challenges, AI and ML have become cornerstones of the modern era. This introduction sets the stage for understanding their impact, evolution, … Continue reading “Introduction to AI/ML: A Journey Through Innovation”
std::weak_ptr in C++
The std::weak_ptr is part of the smart pointer family introduced in C++11 which holds a non-owning reference to an object managed by other std::shared_ptrs. It does not own the object, which means that the existence of a std::weak_ptr does not ensure the validity of the referred object. If all the std::shared_ptrs, owing the object, get … Continue reading “std::weak_ptr in C++”
std::async – Execute a Function Asynchronously
The function template, std::async, allows us to run a function (possibly time consuming) asynchronously. The actual function, that needs to be executed asynchronously, is passed to this std::sync. The std::sync returns a future object immediately without waiting for the passed function to finish execution. When the function execution will start depends of the options passed … Continue reading “std::async – Execute a Function Asynchronously”