Open in app

Sign In

Write

Sign In

Benjamin Wang
Benjamin Wang

91 Followers

Home

About

Published in Towards Data Science

·Pinned

Monte Carlo Tree Search: An Introduction

MCTS is the cornerstone of AlphaGo and many AI applications. We aim to build some intuitions and along the way get our hands dirty. — Monte Carlo Tree Search (MCTS) is an important algorithm behind many major successes of recent AI applications such as AlphaGo’s striking showdown in 2016. In this blog, we will first start with uninformed search in which we simply traverse through the whole search space to find the optima. …

Machine Learning

6 min read

Monte Carlo Tree Search: An Introduction
Monte Carlo Tree Search: An Introduction
Machine Learning

6 min read


Published in Towards Data Science

·Pinned

Ranking Evaluation Metrics for Recommender Systems

Various evaluation metrics are used for evaluating the effectiveness of a recommender. We will focus mostly on ranking related metrics covering HR (hit ratio), MRR (Mean Reciprocal Rank), MAP (Mean Average Precision), NDCG (Normalized Discounted Cumulative Gain). — Recommender systems eventually output a ranking list of items regardless of different modelling choices. So it is important to look at how to evaluate directly ranking quality instead of other proxy metrics like mean squared error, etc.

Recommendation System

5 min read

Ranking Evaluation Metrics for Recommender Systems
Ranking Evaluation Metrics for Recommender Systems
Recommendation System

5 min read


Published in The Startup

·Pinned

Loss Functions in Machine Learning

A small tutorial or introduction about common loss functions used in machine learning, including cross entropy loss, L1 loss, L2 loss and hinge loss. Practical details are included for PyTorch. — Cross Entropy Cross entropy loss is commonly used in classification tasks both in traditional ML and deep learning. Note: logit here is used to refer to the unnormalized output of a NN, as in Google ML glossary. However, admittedly, this term is overloaded, as discussed in this post.

Pytorch

4 min read

Cross Entropy Loss in PyTorch
Cross Entropy Loss in PyTorch
Pytorch

4 min read


Published in Towards Data Science

·Pinned

Matrix Factorization in Recommender Systems

A gentle intro into Matrix Factorization techniques in Recommender Systems, including FunkSVD , SVD++, and Non-negative Matrix Factorization — Introduction RS is to match items to users. The starting point is a user-item matrix filled with values representing either explicit feedback (user provided ratings) or implicit feedback (count of clicks, number of visits, watch time, etc.). …

Recommendation System

5 min read

Matrix Factorization in Recommender Systems
Matrix Factorization in Recommender Systems
Recommendation System

5 min read


Published in Towards Data Science

·Pinned

Back to Basics: Nearest Neighbours

We go back to the basics and look at Nearest Neighbour methods in the context of density estimation and recommender systems — Introduction Given the recent hyped progress in deep learning based approaches in AI research especially in NLP and CV, it is time to go back to the fundamentals. Many of the fundamental methods, such as neighbourhood based methods are surprisingly effective in many areas, even today. We take a brief look…

Machine Learning

6 min read

Back to Basics: Nearest Neighbours
Back to Basics: Nearest Neighbours
Machine Learning

6 min read


Published in Towards Data Science

·Jan 26, 2021

ML Pipeline with Grid Search in Scikit-Learn

ML Pipeline is an important feature provided by Scikit-Learn and Spark MLlib. It unifies data preprocessing, feature engineering and ML model under the same framework. This abstraction drastically improves maintainability of any ML project, and should be considered if you are serious about putting your model in production. — Let’s start by outlining some main benefits of using ML pipeline, already.

Machine Learning

6 min read

ML Pipelines with Grid Search in Scikit-Learn
ML Pipelines with Grid Search in Scikit-Learn
Machine Learning

6 min read


Jan 25, 2021

Locality Sensitive Hashing: An Short Intro Based on Minhash

Hashing maps objects into different bins. Unlike conventional hashing functions which minimize collision probability, locality sensitive hashing functions maximize it for similar objects. In other words, for a given distance measure, similar items are more likely to be mapped to the same bin with LSH. This way, we can find…

Lsh

4 min read

Locality Sensitive Hashing
Locality Sensitive Hashing
Lsh

4 min read


Jan 25, 2021

Bloom Filter: A Short Introduction

Bloom filter is a probabilistic data structure designed to tell you if a member is in a set in a highly memory and time efficient manner. In that sense, it is similar to a set, but it does it with an adjustable false positive rate. In bloom filter, false positives…

Bloom Filter

2 min read

Bloom Filter

2 min read


Published in The Startup

·Dec 21, 2020

Deep Work: A Scarcity in Digital Age

Deep work is valuable, rare and even meaningful in a digital world full of noise and distraction. Now, quit social media and embrace boredom. — Introduction Yuval Noah Harari, the author of Sapiens (an international bestselling phenomenon), has no smartphone. However, that doesn’t stop him from making bold and insightful and somewhat provocative predictions about our very future of humanity and how AI and bio-technologies could join hands and shape history. …

Deep Work

6 min read

Deep Work: A Scarcity in Digital Age
Deep Work: A Scarcity in Digital Age
Deep Work

6 min read


Jun 14, 2018

How to Recover DeepLens Password

Hey DeepLens fans! In case you forgot your SSH password initially set up up for your DeepLens like I did, sad face. Here are a few steps that I compiled from different resources, proven to be working. Items to prepare before you proceed: usb keyboard micro hdmi to hdmi cable monitor with hdmi input Steps to follow: press ESC key until bios screen comes up select continue and hit enter press ESC once (important step!), then select the SECOND option with “recovery mode” at the end

Deeplens

2 min read

How to Recover DeepLens Password
How to Recover DeepLens Password
Deeplens

2 min read

Benjamin Wang

Benjamin Wang

91 Followers

Machine Learning & Software Engineer in Amsterdam, Holland

Following
  • Dave Hughes

    Dave Hughes

  • Jesus Rodriguez

    Jesus Rodriguez

  • Francesco Zuppichini

    Francesco Zuppichini

  • Haimo Zhang

    Haimo Zhang

  • Malay Haldar

    Malay Haldar

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech