Open in app

Sign In

Write

Sign In

Logan Yang
Logan Yang

309 Followers

Home

About

Published in Towards Data Science

·Pinned

Why Sigmoid: A Probabilistic Perspective

Do you know why the output of the sigmoid function can be interpreted as a probability? — If you have taken any machine learning courses before, you must have come across logistic regression at some point. There is this sigmoid function that links the linear predictor to the final prediction. Depending on the course you took, this sigmoid function is often pulled out of thin air and…

Machine Learning

15 min read

Why Sigmoid: A Probabilistic Perspective
Why Sigmoid: A Probabilistic Perspective
Machine Learning

15 min read


Published in Towards Data Science

·Jan 28, 2021

Introducing the Loss Landscape Animation Python Package

In my previous article Visualizing Optimization Trajectory of Neural Nets, I showed a number of animated figures to demonstrate the training process of neural networks. Since then some readers expressed interest in the code, so I ported it to a Python package and published it on PyPI. …

Machine Learning

5 min read

Introducing the Loss Landscape Animation Python Package
Introducing the Loss Landscape Animation Python Package
Machine Learning

5 min read


Published in Towards Data Science

·Jan 20, 2021

A 3-Minute Review of PCA: Compression and Recovery

The handiest visual note of PCA — Nowadays, the knowledge depth of data scientists and ML engineers is often judged by their regurgitation of the math and implementation details of an algorithm. I disagree with this approach. The reality is, nobody can remember every detail, and that’s okay. You don’t need to know how to implement an…

Machine Learning

5 min read

A 3-Minute Review of PCA: Compression and Recovery
A 3-Minute Review of PCA: Compression and Recovery
Machine Learning

5 min read


Published in The Startup

·Dec 22, 2020

I Created an Alexa Skill to Settle an Argument With My Wife

How to get started building Alexa skills for things you are too lazy to search online — I moved to New York City from California two years ago. Having been spoiled by the Californian sunshine and nice weather for several years, I forgot how it’s like living in a city with a lot of precipitation. Sometimes I feel the rain never stops. No matter what season it…

Alexa

10 min read

I Created an Alexa Skill to Settle an Argument With My Wife
I Created an Alexa Skill to Settle an Argument With My Wife
Alexa

10 min read


Published in Towards Data Science

·Nov 19, 2020

How I Designed My Own Full-Stack ML Engineering Degree

The road to end-to-end data scientist/machine learning engineer — Earlier this year I came across a viral Twitter thread by Randall Kanna about how to create one’s own computer science degree with free online content. It was not only excellent for people who don’t have prior knowledge in computer science, it’s also valuable for new software engineers who didn’t…

Machine Learning

13 min read

How I Designed My Own Full-Stack ML Engineering Degree
How I Designed My Own Full-Stack ML Engineering Degree
Machine Learning

13 min read


Published in Level Up Coding

·Jul 31, 2020

Colonize Space with Fractal Trees

A quick guide to fractals and the Space Colonization algorithm — In this article, I’m going to code up some special kind of squiggly shapes that might not help us colonize the galaxy any time soon, but probably will bend your mind and make math fun again. The subject is called fractals. What are Fractals? Before answering this question, let’s first look at some…

Fractals

7 min read

Colonize Space with Fractal Trees
Colonize Space with Fractal Trees
Fractals

7 min read


Published in Towards Data Science

·Jul 30, 2020

A 3-Minute Review of Rejection Sampling: Simulate Any Distribution

A short probability and algorithm tutorial that’s worth your while — When you want some values from a certain probability distribution, say, a normal distribution, you could simply call rnorm in R, or numpy.random.normal in Python. But have you ever wondered how they do it under the hood? The underlying idea is incredibly simple yet powerful. In this article, I'm going…

Probability

3 min read

Simulate Any Distribution with Rejection Sampling
Simulate Any Distribution with Rejection Sampling
Probability

3 min read


Published in Towards Data Science

·Jun 27, 2020

Building A Mental Model for Backpropagation

By implementing your own deep learning framework in Python — As the beating heart of deep learning, a solid understanding of backpropagation is required for any deep learning practitioner. Although there are a lot of good resources that explain backpropagation on the internet already, most of them explain from very different angles and each is good for a certain type…

Deep Learning

7 min read

Building A Mental Model for Backpropagation
Building A Mental Model for Backpropagation
Deep Learning

7 min read


Published in Towards Data Science

·May 16, 2020

Visualizing Optimization Trajectory of Neural Nets

Update: I have ported the code to a Python package here. Feel free to experiment and produce similar plots like the ones in this post! In the previous post, I showed some animated plots for the training process of linear regression and logistic regression. Developing a good “feel” of how…

Machine Learning

7 min read

Visualizing Optimization Trajectory in Neural Nets
Visualizing Optimization Trajectory in Neural Nets
Machine Learning

7 min read


Published in The Startup

·Apr 18, 2020

Visualizing Optimization in Linear Regression and Logistic Regression

This is one post in a series for machine learning optimization animations. Each plot can serve as a flashcard for easy consumption. If you are like me, you may prefer looking at pictures that move to pages of Greek symbols when it comes to learning math. It’s more intuitive, more…

Machine Learning

8 min read

Visualizing Optimization in Linear Regression and Logistic Regression
Visualizing Optimization in Linear Regression and Logistic Regression
Machine Learning

8 min read

Logan Yang

Logan Yang

309 Followers

Engineer, builder, writer. Follow me here and on Twitter for future content https://twitter.com/logancyang

Following
  • Angela Shi

    Angela Shi

  • Scott Galloway

    Scott Galloway

  • ODSC - Open Data Science

    ODSC - Open Data Science

  • The Educative Team

    The Educative Team

  • Sophia Yang

    Sophia Yang

See all (532)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech