原创 【LeetCode】7. Reverse Integer

Introduction Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example

原创 【LeetCode】70. Climbing Stairs

Introduction You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or

原创 【LeetCode】67. Add Binary

Introduction Given two binary strings, return their sum (also a binary string). The input strings are both non-empty

原创 【LeetCode】69. Sqrt(x)

Introduction Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-ne

原创 【LeetCode】Algorithm 81~90:90

前言 本系列博客爲平時刷LeetCode的記錄,每十道題一篇博客,持續更新,所有代碼詳見GitHub:https://github.com/roguesir/LeetCode-Algorithm 90. Subsets II Intr

原创 【LeetCode】Algorithm 71~80:78

前言 本系列博客爲平時刷LeetCode的記錄,每十道題一篇博客,持續更新,所有代碼詳見GitHub:https://github.com/roguesir/LeetCode-Algorithm 78. Subsets Introdu

原创 【LeetCode】Algorithm 51~60:58

前言 本系列博客爲平時刷LeetCode的記錄,每十道題一篇博客,持續更新,所有代碼詳見GitHub:https://github.com/roguesir/LeetCode-Algorithm 58. Length of Last

原创 【LeetCode】Algorithm 61~70:66,67,69,70

前言 本系列博客爲平時刷LeetCode的記錄,每十道題一篇博客,持續更新,所有代碼詳見GitHub:https://github.com/roguesir/LeetCode-Algorithm 66. Plus One introd

原创 【LeetCode】Algorithm 1~10:1,7,9

前言 本系列博客爲平時刷LeetCode的記錄,每十道題一篇博客,持續更新,所有代碼詳見GitHub:https://github.com/roguesir/LeetCode-Algorithm 1. Two Sum Introduc

原创 【LeetCode】Algorithm 21~30:28

前言 本系列博客爲平時刷LeetCode的記錄,每十道題一篇博客,持續更新,所有代碼詳見GitHub:https://github.com/roguesir/LeetCode-Algorithm 28. Implement strSt

原创 LeetCode目錄

最近開始刷LeetCode,我主要是用Python,把一些code記錄在這裏,陸續更新博客~ 更新時間:2019-01-21

原创 【模型詳解】AutoEncoder詳解(七)——棧式自編碼:Stacked AutoEncoder

更新時間:2018-12-05 前言 之前介紹了AutoEncoder及其幾種拓展結構,如DAE,CAE等,本篇博客介紹棧式自編碼器。 模型介紹 普通的AE模型通過多層編碼解碼過程,得到輸出,最小化輸入輸出的差異從而使模型學到有用

原创 【模型詳解】AutoEncoder詳解(六)——Contractive AutoEncoder

paper: 摘要 本文提出了一種新的AE模型,能夠更有效地獲得魯棒特徵 介紹 如何提取魯棒特徵 Jacobian矩陣是多維 f(x)f(x)f(x) 的一階偏導,表示形式如下: (1)∣∣Jf(x)∣∣F2=∑ij(∂hj(x)∂

原创 【Redis學習筆記三】慢查詢、pipeline、發佈訂閱、Bitmap、HyperLogLog、GEO

目錄 慢查詢 pipeline 發佈訂閱 Bitmap HyperLogLog GEO 慢查詢 生命週期 發送命令 --> 排隊 --> 執行命令 --> 返回結果 說明: 1.慢查詢發生在第三階段 2.客戶端超時不一定有慢

原创 【PySpark學習筆記二】DataFrame用法

DataFrame是一種不可變的分佈式數據集。Spark早期的API中,由於JVM和Py4J之間的通信開銷,使用Python執行查詢會明顯變慢。 Python到RDD之間的通信 在PySpark驅動器中,Spark Context通過