Posts

Running LLM's Locally Just Got Better

It’s the first week of the 2024, and I can’t think of a better way to start the year other than to write about the current hot thing - LLM’s (Large Language Models). Large Language Models A large language model (LLM) is an AI system designed to process and understand vast amounts of natural language data. It consists of multiple layers of neural networks that are trained on massive datasets, for example: Read more →

January 4, 2024

Data Mining and Recommender Systems

Today’s consumers are overwhelmed with choices. From the 500,000+ movies on Netflix to the 50 million+ products on Amazon, Twitter feeds, Instagram reels, TikTok videos, and more, we are bombarded with content! Recommender systems help consumers by making product recommendations that are likely to be interest to the user such as movies, music, books (Wish they were more popular ☹️), news, search queries, social tags, videos, posts and products in general. Read more →

October 21, 2023

Common Pitfalls in Multithreading: Navigating the Threaded Terrain

1. The Treacherous Terrain of Multithreading While multithreading offers a lot of advantages, it isn’t without its challenges. As developers, we need to be aware of these pitfalls to ensure our applications remain robust, efficient, and predictable. In the last post, we explored the basics of multithreading in Python using asyncio and threading. In this post, we’ll dive into some of the most common pitfalls in multithreading, and how to avoid them, but this time using C and C++. Read more →

October 18, 2023

Harnessing Python's Concurrency: Dive into AsyncIO and Multithreading

1. The Age of Async Understanding Synchronous vs. Asynchronous Programming Imagine a bustling coffee shop. In a synchronous world, the barista would take an order, make the coffee, serve it, and then move to the next order. This can be efficient, but what if making a coffee takes longer? Everyone waits. In an asynchronous setup, the barista takes multiple orders, starts making the first coffee, and while it brews, begins the next. Read more →

October 17, 2023

XGBoost vs LSTM: A Comparative Analysis of Time Series Forecasting for Stock Price Prediction

XGBoost and LSTM. Both are compelling in their own right, but which one is better? Let’s break it down in a friendly way! Predicting stock / forex prices has always been the “holy grail” of finance. The market is influenced by countless factors, and its inherent volatility makes prediction a challenging task. Two popular models in this regard are XGBoost, a gradient boosting algorithm, and LSTM, a type of recurrent neural network. Read more →

September 5, 2023

Enhancing A Trading Strategy with Deep Learning

A regression model for FreqAI module from freqtrade, a crypto trading platform. Overview The LSTMRegressor is a deep learning model specifically tailored for predicting cryptocurrency prices and trends. It leverages the power of Long Short-Term Memory (LSTM) cells, a type of recurrent neural network (RNN), to understand sequential data like time series. Features LSTM Layers: The model utilizes multiple LSTM layers to capture sequential patterns in the data. Automatic GPU Configuration: The model can detect and configure GPU settings based on the operating system. Read more →

August 6, 2023