4 roguesir

尚未进行身份认证

我要认证

机器学习算法狗,人工智障工程狮

等级
TA的排名 7k+

【Paper Note】Representation Learning-Assisted Click-Through Rate Prediction (DeepMCP) 论文详解

https://arxiv.org/pdf/1906.04365.pdf

2019-08-06 10:37:27

Scala Spark报错 task not serializable的解决办法

错误描述今天在写spark程序时,遇到task not serializable的报错,提示task未进行序列化。在正常spark程序在执行时会进行task序列化,当一些函数里面有外部变量时,不会序列化外部变量,由此报错。上面报错的主要原因是在map函数的闭包内引入外部函数,外部变量没有进行序列化,我的代码结构如下:def test(sc: SparkContext, rdd1: RDD[...

2019-08-29 19:47:05

【Paper Note】Deep Session Interest Network for Click-Through Rate Prediction论文详解

阿里 IJCAI 2019论文DSIN详解

2019-08-01 19:41:27

【TensorFlow学习笔记(四)】常用函数:池化

池化函数用于降维、提取有效特征,定义在:tensorflow/python/layers/pooling.py中,本篇博客整理了以下六个池化函数。tf.layers.MaxPooling1D用于1D输入的最大池化层.tf.layers.MaxPooling1D( pool_size, strides, padding, data_format, ...

2019-07-09 19:44:56

【TensorFlow学习笔记(三)】常用函数:卷积

卷积函数tf.nn.convolution(input, filter, padding, strides=None, dilation_rate=None, name=None, data_format=None)用于计算N维卷积的和tf.nn.conv2d(input, filter, strides, padding, use_cudnn_on_gpu=None, data_forma...

2019-06-26 23:00:19

【TensorFlow学习笔记(二)】常用方法:激活函数

激活函数tf.nn.relu()tf.nn.sigmoid()tf.nn.tanh()tf.nn.elu()tf.nn.biaes_add()tf.nn.crelu()tf.nn.relu6()tf.nn.softplus()tf.nn.softsign()tf.nn.dropout()注:激活函数定义在“/tensorflow/python/ops/nn.py”中。卷积函...

2019-06-04 10:04:32

【TensorFlow学习笔记(一)】变量作用域

TensorFlow中有两个作用域,一个是name_scope,一个是variable_scope。name_scope主要是给op_name加前缀,variable_scope主要是给variable_name加前缀。variable_scopevariable_scope变量作用域机制主要由两部分组成:v = tf.get_variable_scope(name, shape, dtyp...

2019-06-02 18:26:52

博客目录——TensorFlow学习笔记

TensorFlow学习笔记(一):变量作用域

2019-06-02 14:13:34

mac解压.7z文件

在mac上解压.7z文件,执行以下几步:1.使用brew查找相关解压命令brewsearch7z提示如下:2.安装p7zipbrewinstallp7zip3.解压7zefilename.7z注:其他解压缩命令参见:【Linux学习笔记】Linux命令压缩解压文件...

2019-05-24 17:45:10

【LeetCode】88. Merge Sorted Array

IntroductionGiven two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:The number of elements initialized in nums1 and nums2 are m and n respectively.You may ...

2019-04-24 16:07:34

【LeetCode】3. Longest Substring Without Repeating Characters

IntroduceGiven a string, find the length of the longest substring without repeating characters.Example 1:Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", with the length of 3. Examp...

2019-03-02 17:15:55

【LeetCode】70. Climbing Stairs

IntroductionYou are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?Note: Given n will be...

2019-03-01 18:01:33

【LeetCode】69. Sqrt(x)

IntroductionImplement int sqrt(int x).Compute and return the square root of x, where x is guaranteed to be a non-negative integer.Since the return type is an integer, the decimal digits are truncat...

2019-03-01 18:00:43

【LeetCode】67. Add Binary

IntroductionGiven two binary strings, return their sum (also a binary string).The input strings are both non-empty and contains only characters 1 or 0.Example 1:Input: a = "11", b = "1"Output: "1...

2019-03-01 17:59:31

【LeetCode】66. Plus One

introductionGiven a non-empty array of digits representing a non-negative integer, plus one to the integer.The digits are stored such that the most significant digit is at the head of the list, and ...

2019-03-01 17:58:26

【LeetCode】9. Palindrome Number

IntroductionDetermine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueExample 2:Input: -121Output: fal...

2019-03-01 17:55:17

【LeetCode】7. Reverse Integer

IntroductionGiven a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are ...

2019-03-01 17:54:00

【LeetCode】90. Subsets II

前言本系列博客为平时刷LeetCode的记录,每十道题一篇博客,持续更新,所有代码详见GitHub:https://github.com/roguesir/LeetCode-Algorithm90. Subsets IIIntroduceGiven a collection of integers that might contain duplicates, nums, return al...

2019-02-27 21:29:33

【LeetCode】58. Length of Last Word

前言本系列博客为平时刷LeetCode的记录,每十道题一篇博客,持续更新,所有代码详见GitHub:https://github.com/roguesir/LeetCode-Algorithm58. Length of Last WordIntroduceGiven a string s consists of upper/lower-case alphabets and empty sp...

2019-02-27 21:06:25

【LeetCode】78. Subsets

前言本系列博客为平时刷LeetCode的记录,每十道题一篇博客,持续更新,所有代码详见GitHub:https://github.com/roguesir/LeetCode-Algorithm78. SubsetsIntroduceGiven a set of distinct integers, nums, return all possible subsets (the power s...

2019-02-27 21:01:52

查看更多

CSDN身份
  • 博客专家
勋章 我的勋章
  • GitHub
    GitHub
    绑定GitHub第三方账户获取
  • 签到新秀
    签到新秀
    累计签到获取,不积跬步,无以至千里,继续坚持!
  • 专栏达人
    专栏达人
    授予成功创建个人博客专栏的用户。专栏中添加五篇以上博文即可点亮!撰写博客专栏浓缩技术精华,专栏达人就是你!
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。