Xiaoye's Blog

Leetcode-Remove Duplicates from Sorted Array

Problem Inspired from problem 26 and 80 from leetcode, problem has been changed to be as follow: Given a sorted array nums, remove the duplicates in-place such that each element appear only max_ap...

Game Theory Course Note

Introduction Lately, I’m working on a project related to poker AI, which is related to game theory. To learn more about game theory, I choose the Game Theory from Stanford University and the Univer...

Parallel in Python

Process VS Thread A process is an instance of program (e.g. Jupyter notebook, Python interpreter). Processes spawn threads (sub-processes) to handle subtasks like reading keystrokes, loading HTML p...

如何做好事情

前言 本篇作为在个人博客上的第一篇读书总结, 希望能坚持,以输出来带动输入. 去年7月离开学校,进入职场. 初入职场,兼具两个身份: 职场新人. 转行新人. 兼具这两个身份, 在去年7月份到12月份, 我十分努力地在工作之中获取需要的知识和技术, 那段时间很充实. 然而2019年春节时回头看, 我发现自己有时候会陷入技术的细节, 而不是关注问题的解决, 有点儿盲目信仰技术的感觉. 于是在...

Python Encoding

Basic Information ASCII Unicode GBK: an extension of the GB2312 character set for simplified Chinese characters ISO-8859-1 Encode: Unicode $\longrightarrow$ a byte string Decode: bytes string $\...

Sequence to Sequence

Deep Learning Course Note (Part 7)

TOC TOC Introduction Encoder-decoder Architecture Seq2seq Model Training Prediction with Beam Search Reference Introduction This is the course notes of deep lea...

Git Summary

git git学习和查阅 廖雪峰官网(https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001375840038939c291467cc7c747b1810aab2fb8863508000)    https://git-scm.com/docs git cheet she...

Word Embedding

Deep Learning Course Note (Part 6)

TOC TOC Introduction Definition & Usage How to Get Word Embedding Word2Vec Skip-Gram CBOW Approximate Training Glo...

Linux Shell & Windows CMD

参考文献 中文资料 性能测试 /usr/bin/time 记录程序运行时间和内存 链接 /usr/bin/time -v --output=../time.log python test.py > test.log 输出程序最大占用内存: /usr/bin/time -f “%M” –output=../time.log py...

Python Module Tips

TOC TOC Build In Modules sorted 字典 get unique value from list of list numpy list +, list +的不同 import 问题 Third Party Modules logging ...