原创 【Redis學習筆記一】Redis特點、基礎命令和數據結構

更新時間:2018-10-15 Redis的特性 速度快 持久化(斷電不丟數據) 多種數據結構 支持多種客戶端語言 功能豐富 操作簡單 主從複製 高可用,分佈式 Redis的通用命令 keys:計算鍵 key * #

原创 博客目錄——Spark學習筆記

更新時間:2019-03-07 Python API 【PySpark學習筆記一】彈性分佈式數據集RDD 【PySpark學習筆記二】DataFrame用法 【PySpark學習筆記三】spark-submit詳解 Scala

原创 博客目錄——TensorFlow學習筆記

更新時間:2019-07-09 這一系列博客是TensorFlow編程知識及源碼閱讀後整理,陸續更新~ TensorFlow學習筆記(一):變量作用域 TensorFlow學習筆記(二):常用方法——激活函數 TensorFl

原创 【Paper Note】Representation Learning-Assisted Click-Through Rate Prediction (DeepMCP) 論文詳解

https://arxiv.org/pdf/1906.04365.pdf 背景 以往的點擊率預估模型像FM系列、WDN等模型,都只是考慮特徵和ctr之間的聯繫,阿里的這篇論文,提出了DeepMCP模型,不僅考慮了特徵和ctr之間

原创 Scala Spark報錯 task not serializable的解決辦法

更新時間:2019-08-29 錯誤描述 今天在寫spark程序時,遇到task not serializable的報錯,提示task未進行序列化。 在正常spark程序在執行時會進行task序列化,當一些函數裏面有外部變量時

原创 【Paper Note】Deep Session Interest Network for Click-Through Rate Prediction論文詳解

介紹 通常來講,在用戶的行爲序列中,每個會話(Session)的行爲是相似的,在不同的會話之間差異較大,阿里的這篇論文中,根據時間間隔來定義會話,將用戶點擊行爲按照時間排序,如果兩個行爲的時間間隔大於30min則進行切分。如下圖

原创 【TensorFlow學習筆記(四)】常用函數:池化

更新時間:2019-07-09 池化函數用於降維、提取有效特徵,定義在:tensorflow/python/layers/pooling.py中,本篇博客整理了以下三個池化函數。 tf.layers.max_pooling1d

原创 【TensorFlow學習筆記(三)】常用函數:卷積

卷積函數 tf.nn.convolution 用於計算N維卷積的和 tf.nn.convolution(input, filter, padding,

原创 mac解壓.7z文件

更新時間:2019-05-24 在mac上解壓.7z文件,執行以下幾步: 1.使用brew查找相關解壓命令 brew search 7z 提示如下: 2.安裝p7zip brew install p7zip 3.解壓 7

原创 【TensorFlow學習筆記(二)】常用方法:激活函數

更新時間:2019-06-07 激活函數 tf.nn.relu() ReLU函數,修正線性單元,在卷積神經網絡中應用廣泛,定義如下: (1)ReLU(x)=max(0,x)ReLU(x)=max(0,x) \tag{1}ReL

原创 【TensorFlow學習筆記(一)】變量作用域

更新時間:2019-06-02 TensorFlow中有兩個作用域,一個是name_scope,一個是variable_scope。name_scope主要是給op_name加前綴,variable_scope主要是給varia

原创 【LeetCode】88. Merge Sorted Array

Introduction Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The n

原创 【LeetCode】66. Plus One

introduction Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digi

原创 【LeetCode】9. Palindrome Number

Introduction Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward

原创 【LeetCode】3. Longest Substring Without Repeating Characters

Introduce Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "a