Overview and Summary of 'Diffusion Models are Evolutionary Algorithms' Paper

Posted on Tue 08 October 2024 in Posts • Tagged with Python, Machine Learning

Introduction

Over time, I became interested in not simply reading the relevant research papers in my field, but also write their overviews. I believe that writing these will help me solidify information I learned in various papers.

This review begins what I hope to make a series of posts about …


Continue reading

NumPy-Learn, A Homemade Machine Learning Library

Posted on Sun 14 June 2020 in Posts • Tagged with machine learning, python, numpy, deep learning

In this post, I expand on a little class/self-teaching project that I did during the Spring 2020 semester.

NumPy-Learn: A Homemade Machine Learning Library

Organization

In this section we will discuss the main organization of the library:

  • How the layers are built
  • How loss functions work
  • How a stochastic …

Continue reading

Three Ways to Deal With Imbalance

Posted on Mon 02 March 2020 in Posts • Tagged with machine learning, logistic regression, python, scikit-learn, statistical learning

In this post, I put together an interesting example of what to do with imbalanced datasets and why precision and recall matter.

Introduction

The following is part of a Machine learning assignment I had to do while at CUNY. This particular example illustrates quite well the importance of understanding various …


Continue reading

Linear Regression as the Simplest Classifier

Posted on Mon 24 February 2020 in Posts • Tagged with machine learning, linear regression, python, scikit-learn, statistical learning

In this post I wanted to describe a simple application of a linear least squares method to a problem of data classification. It is a naive approach and is unlikely to beat more sophisticated techniques like Logistic Regression, for instance.

Imports

Some imports we are going to need for this …


Continue reading