CoolMind


If you cannot measure it, you cannot improve it.

Feature column a tutorial

特征列 feature column 深度神经网络输入 Feature columns 引入 Tensorflow 和其它库 构造示例数据 示例数据 演示几种不同类型的特征列 数值列 (Numeric columns) 分桶列 (Bucketized co...

Estimator a tutorial

介绍 Estiamtor 相关知识。 背景 非 Estimator 基于 Parameter server 架构的分布式学习 Estimator 行为控制 构造 Estimator 使用创建的 Estimator ...

Python unittest and unittest.mock

Each language has its own known testing framework which makes writing test cases easier. In Python, the standard and built-in are unittest module. ...

Tensorflow save and restore A tutorial

Introduction Show me the code Checkpoint 格式 SavedModel Directory structure Cpp CheckpointReader implemen...

Running Median

Problem Solution Problem This problem was asked by Microsoft. Compute the running median of a sequence of numbers. That is, given a stream...

Run-length encoding

Problem Solution Problem This problem was asked by Amazon. Run-length encoding is a fast and simple method of encoding strings. The basic ...

Edit distance

Problem Solution Problem This problem was asked by Google. The edit distance between two strings refers to the minimum number of character...

Containing water

Problem Solution Problem This problem was asked by Facebook. You are given an array of non-negative integers that represents a two-dimensi...