Feng's Notes Isn't coding fun?

[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.

写一个并发请求的Case

有些场景下,你可能要检查代码有没有并发问题,验证幂等或者做一下简单的压力测试, 这时候需要写一个并发请求的程序,那么怎么做呢?