Feng's Notes Isn't coding fun?

What is tf.data and how to use

Tf.data is a high level API provided by tensorflow, it performs as a pipeline for complex input and output. The core data structure of tf.data is Dataset which represents a potentially large set of elements.

[Pandas]Handle missing data

Missing data is a common problem in real data preprocessing, luckily pandas has done a lot to help us handle it. This article will show the codes on how to do it.

[Pandas]How to select data

This article shows the most common methods regarding data selection

What is Attention and how to use

Introduction

Attention or Bahdanau Attention is getting more and more interest in Neural Machine Translation(NMT) and other sequence prediction research, in this article I will briefly introduce what is Attention mechanism, why important it is and how do we use it(in Tensorflow)

[Pandas]How to drop columns/rows

[Pandas]How to rename columns

[Pandas]How to import CSV

分布式事务与最终一致性

为什么需要分布式事务

先摆一个例子: A账户要向B账户转账,100元, 操作的步骤是

A账户先减掉100元
B账户再加上100元

CPU/Load偏高的排查步骤

1. 查找 java进程

ps -ef|grep java

2. 查找耗时最高线程

top -Hp #进程id#

3. 将线程id转换为16进制

printf “%x\n” #线程id#

Tensorflow101

Tensorflow is a high performance numerical computation software library, it is mostly known for its strong support for machine learning and deep learning.