Method of Lagrange Multipliers: The Theory Behind Support Vector Machines...
Tweet Share Share Last Updated on December 3, 2021 This tutorial is an extension of Method Of Lagrange Multipliers: The Theory Behind Support Vector Machines (Part 1: The Separable Case)) and explains...
View ArticleMethod of Lagrange Multipliers: The Theory Behind Support Vector Machines...
Tweet Share Share The mathematics that powers a support vector machine (SVM) classifier is beautiful. It is important to not only learn the basic model of an SVM but also know how you can implement...
View ArticleSome Language Features in Python
Tweet Share Share Last Updated on December 9, 2021 The Python language syntax is quite powerful and expressive. Hence it is concise to express an algorithm in Python. Maybe it is the reason it is...
View ArticleMore special features in Python
Tweet Share Share Python is an awesome programming language! It is one of the most popular languages for developing AI and machine learning applications. With a very easy to learn syntax, Python has...
View ArticlePython Classes and Their Use in Keras
Tweet Share Share Last Updated on December 24, 2021 Classes are one of the fundamental building blocks of the Python language, which may be applied in the development of machine learning applications....
View ArticleFunctional Programming In Python
Tweet Share Share Last Updated on December 19, 2021 Python is a fantastic programming language. It is likely to be your first choice for developing a machine learning or data science application....
View ArticleUnderstanding Traceback in Python
Tweet Share Share Last Updated on December 24, 2021 When an exception occurs in a Python program, often a traceback will be printed. Knowing how to read the traceback can help you easily identify the...
View ArticleRunning and Passing Information to a Python Script
Tweet Share Share Last Updated on December 29, 2021 Running your Python scripts is an important step in the development process, because it is in this manner that you’ll get to find out if your code...
View ArticleOne-Dimensional Tensors in Pytorch
Tweet Share Share PyTorch is an open-source deep learning framework based on Python language. It allows you to build, train, and deploy deep learning models, offering a lot of versatility and...
View ArticleAnomaly Detection with Isolation Forest and Kernel Density Estimation
Tweet Tweet Share Share Anomaly detection is to find data points that deviate from the norm. In other words, those are the points that do not follow expected patterns. Outliers and exceptions are...
View ArticlePython debugging tools
Tweet Tweet Share Share In all programming exercises, it is difficult to go far and deep without a handy debugger. The built-in debugger, pdb, in Python is a mature and capable one that can help us a...
View ArticleTwo-Dimensional Tensors in Pytorch
Tweet Tweet Share Share Last Updated on January 14, 2022 Two-dimensional tensors are analogous to two-dimensional metrics. Like a two-dimensional metric, a two-dimensional tensor also has $n$ number...
View ArticleProfiling Python Code
Tweet Tweet Share Share Profiling is a technique to figure out how time is spent in a program. With this statistics, we can find the “hot spot” of a program and think about ways of improvement....
View ArticleSetting Breakpoints and Exception Hooks in Python
Tweet Tweet Share Share Last Updated on January 22, 2022 There are different ways of debugging code in Python, one of which is to introduce breakpoints into the code at points where one would like to...
View ArticleCalculating Derivatives in PyTorch
Tweet Tweet Share Share Last Updated on February 8, 2022 Derivatives are one of the most fundamental concepts in calculus. They describe how changes in the variable inputs affect the function outputs....
View ArticleComments, docstrings, and type hints in Python code
Tweet Tweet Share Share The source code of a program should be readable to human. Making it run correctly is only half of its purpose. Without a properly commenting code, it would be difficult for...
View ArticleDuck-typing, scope, and investigative functions in Python
Tweet Tweet Share Share Last Updated on February 16, 2022 Python is a duck typing language. It means the data types of variables can change as long as the syntax is compatible. Python is also a...
View ArticleEasier experimenting in Python
Tweet Tweet Share Share Last Updated on February 23, 2022 When we work on a machine learning project, quite often we need to experiment with multiple alternatives. Some features in Python allows us to...
View ArticleCommand line arguments for your Python script
Tweet Tweet Share Share Last Updated on February 26, 2022 Working on a machine learning project means we need to experiment. Having a way to configure your script easily will help you move faster. In...
View ArticleA Gentle Introduction to Positional Encoding In Transformer Models, Part 1
Tweet Tweet Share Share Last Updated on March 2, 2022 In languages the order of the words and their position in a sentence really matters. The meaning of the entire sentence can change if the words...
View Article