0%

As in Google Colab, a TPU-enabled instance in Kaggle needs to be equipped with a Google Cloud Storage (GCS) bucket because for all but a few simple experimentation like tf.data.Dataset.from_tensor_slices() you need to feed TPUs data swiftly enough to make the most of them. In the post I will show you how to load TFRecords to a Kaggle notebook and

Read more »

As a mediocre amateur of online data science competition, I like to work on Google Colab for its provision of free TPU and GPU computing support. I like to work locally with my favorite coding editor VS Code on a remote Colab instance. The only thing that bothers me is

Read more »

Kaggle competitors may have the chances to migrate their competition data from Kaggle to Colab partially because they have run out of their monthly quota to use free GPU or TPU that is provided by Kaggle. In this post, I will walk you through the routine for transferring Kaggle data to Google Cloud Storage Bucket. I will also inform you of a possible setback during data migration when the data to migrate are originally organized in a nested file system on Kaggle.

Read more »

How do we ensure that the probability of an item in a stream being selected is no different than those of the others? Reservoir Sampling is the algorithm that comes to our rescue. In this post I lazily showed why Reservoir Sampling works.

Read more »

Questions like finding the probability distribution of a function of a set of simple random variables is frequently raised in technical interviews. In this post I derived the distribution of the sum of i.i.d. random variables uniformly distributed and apply the finding to solve a commonly seen probability exam question.

Read more »

In this post I show the methods to run SQL scripts in Microsoft Visual Studio Code. The SQL languages I cover include PostgreSQL and MS SQL server.

Read more »

This tutorial walks you through the publication process of PyPI packages in your Python project’s Package Registry such as GitHub or GitLab. We will look at my first PyPI project as an example.

Read more »

To keep the tutorial concise, I proceed in a fashion that simply outlines the procedure without diving into what’s under the hood. I hope this approach gives you a big picture of what you are going to accomplish and allow you to build up your Hexo blog site procedurally with a peaceful mind as I did.

Read more »

Imagine a situation that you are not allowed to use your GitHub SSH key to access a GitLab account that is shared under a collaborative project. To resolve this problem, we may simply create another SSH key for the access to the GitLab account. Here is a short tutorial for the management of multiple SSH keys in the same machine.

Read more »