Open in app

Sign In

Write

Sign In

Jason LZP
Jason LZP

221 Followers

Home

About

Published in Geek Culture

·Oct 9, 2022

Introduction To Databases — Part 1

Just like Maslow’s hierarchy of needs is a motivational theory which categorises the needs of humans in terms of importance using a bottom-up approach, a similar data hierarchy can be created in our existing data-driven world.

Technology

4 min read

Introduction To Databases — Part 1
Introduction To Databases — Part 1
Technology

4 min read


Sep 4, 2022

Introduction To Reinforcement Learning Summary — Part 2

Building on Part 1 of an introduction to reinforcement learning, we looked at the underlying logic of reinforcement learning for the algorithm to learn an optimal policy and to take better actions that lead to good outcomes. We also looked at the Q-function, which helps to adjust the action value…

Data Science

3 min read

Introduction To Reinforcement Learning Summary — Part 2
Introduction To Reinforcement Learning Summary — Part 2
Data Science

3 min read


Aug 28, 2022

Introduction To Reinforcement Learning Summary — Part 1

Quantifying P(s, a, s′) where the probability of each state > action > new state. The goal of reinforcement learning is for the algorithm to learn an optimal policy and take an optimal action when presented with state s. Over time, we reinforce actions that lead to good outcomes and…

Data Science

3 min read

Introduction To Reinforcement Learning Summary —  Part 1
Introduction To Reinforcement Learning Summary —  Part 1
Data Science

3 min read


Aug 20, 2022

Sequence Encoder Summary

Take in a sequence of words that correspond to the n-words and map each of these words to a vector (word embeddings), where word embeddings = meaning of the words. Positional embeddings (d dimensions) are applied to account for word order as word embeddings in their basic form do not…

Python

2 min read

Sequence Encoder Summary
Sequence Encoder Summary
Python

2 min read


Aug 13, 2022

Word Vector (Word2Vec) Summary

NLP models will map each word in the vocabulary to a word vector (or word embeddings). The aim is to predict the next or surrounding words for each word in a given document (given word A, it might indicate that another word might be present in the document with a…

Python

3 min read

Word Vector (Word2Vec) Summary
Word Vector (Word2Vec) Summary
Python

3 min read


Published in Geek Culture

·Aug 9, 2022

Simple Way To Subtract Two Dates In Python

Earlier this week, I had the opportunity to help a friend working with an exercise regarding the subtraction of dates between two columns in a data frame. Fortunately, after much trial and error, I found a quick and simple solution for this issue with just three lines of code. Here's…

Python

3 min read

Simple Way To Subtract Two Dates In Python
Simple Way To Subtract Two Dates In Python
Python

3 min read


Published in Geek Culture

·Aug 7, 2022

Softmax Function Summary

The softmax function is an activation function in the final layer of a neural network. It is a multi-category equivalent of a sigmoid function and is used whenever there are more than two outcomes (e.g. non-binary). The probabilities of the categories must sum up to 1. Allows for predicting…

Data Science

2 min read

Softmax Function Summary
Softmax Function Summary
Data Science

2 min read


Published in Geek Culture

·Jul 30, 2022

Stochastic Gradient Descent (SGD) With PyTorch

One of the ways deep learning networks learn and improve is via the Gradient Descent (SGD) optimisation algorithm. The algorithm works by seeking to calculate the lowest loss between the actual and predicted value at every step along a curve. A typical SGD process for deep learning algorithms consists of…

Data Science

4 min read

Stochastic Gradient Descent (SGD) With PyTorch
Stochastic Gradient Descent (SGD) With PyTorch
Data Science

4 min read


Published in Geek Culture

·Jul 17, 2022

Beam Search Decoding For Text Generation In Python

In the previous post, we looked at one of the common text-generating techniques, Greedy Search decoding, which aims to select the word with the highest probability at each timestep. Greedy Search Decoding For Text Generation In Python Most of us would likely have a simple conversation with a chatbot in this technological age. But, from automated…medium.com However, instead of taking the absolute probabilities of each token itself, Beam Search decoding considers all possible extensions of each token…

Python

3 min read

Beam Search Decoding For Text Generation In Python
Beam Search Decoding For Text Generation In Python
Python

3 min read


Published in Geek Culture

·May 22, 2022

Greedy Search Decoding For Text Generation In Python

Most of us would likely have a simple conversation with a chatbot in this technological age. But, from automated discussions and interactions to telling jokes, the rise of transformer-based language models has allowed these models to generate texts closer to those written by humans. To generate coherent text, these Natural…

Data Science

4 min read

Greedy Search Decoding For Text Generation In Python
Greedy Search Decoding For Text Generation In Python
Data Science

4 min read

Jason LZP

Jason LZP

221 Followers

Student, Writer and Curious learner. Connect with me: https://www.linkedin.com/in/jlzp/ + Get started with R programming: https://www.amazon.com/dp/B089QQ5CNR

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Trey Huffine

    Trey Huffine

  • Susan Li

    Susan Li

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech