- 博客(16)
- 收藏
- 关注
原创 CTR问题中的转化率平滑方法
问题描述对任何转化率预测问题来说,利用某个样本的转化率预测其未来的转化率都是有一定意义的。但实际上,商品样品数量比较大,并非所有商品的展示率或者曝光率都足够多;甚至某些商品基本没有出现,而如果直接预测这些商品的未来转化率为零显得有些武断。类似的情况还有:①两个展示次数分别为10次、1次,转化次数分别为8次、1次的两个商品A、B,我们对A的转化的信心是否比B更低一些呢?②两个展示次数分别为10次...
2018-08-12 14:24:25 1870
原创 33. Search in Rotated Sorted Array
题目Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).You are given a target value to search. If fo...
2018-06-07 22:11:14 265 2
原创 IJCAI-18阿里妈妈搜索广告转化预测参赛总结
1.概述花了两个月时间参加了IJCAI-18 阿里妈妈搜索广告转化预测比赛,对于一个刚接触ML的小白,第一次参加天池的比赛,十分有幸的在初赛进入前500名,复赛进入前300名。 主要工作包括:特征工程与特征选择、多模型选择、调参等。2.特征工程与特征选择2.1 基础特征Id类、Level类:对item_id、 shop_id 、item_brand_id等特征,对数值区间进行了...
2018-05-16 23:47:34 1692 1
原创 15. 3Sum
题目Given an array S of n integers, arethere elements a, b, c in S such that a + b + c = 0? Find allunique triplets in the array which gives the sum of zero.Note: The solution setmust not contain duplica
2018-04-15 21:39:56 205
原创 26. Remove Duplicates from Sorted Array
题目Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this by mod...
2018-04-15 21:33:44 173
原创 22. Generate Parentheses
题目Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[ “((()))”, “(()())”, “(())()”, “()(())”
2018-04-15 21:16:10 195
原创 24.Swap Nodes in Pairs
题目Given a linked list, swap every two adjacent nodes and return its head.For example, Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm should use only...
2018-04-03 21:26:51 174
原创 19. Remove Nth Node From End of List
题目Given a linked list, remove the nth node from the end of list and return its head.For example,Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the ...
2018-03-26 23:13:46 134
原创 项目 0: 预测泰坦尼克号乘客生还率
1912年,泰坦尼克号在第一次航行中就与冰山相撞沉没,导致了大部分乘客和船员身亡。在这个入门项目中,我们将探索部分泰坦尼克号旅客名单,来确定哪些特征可以最好地预测一个人是否会生还。
2017-09-20 00:29:19 1601
原创 LeetCode- 15. 3Sum
Given an array S of n integers, arethere elements a, b, c in S such that a + b + c = 0? Find allunique triplets in the array which gives the sum of zero.Note: The solution setmust not contain
2017-08-24 00:38:28 206
原创 用 Python 统计字数
本系列文章用于记录Udacity-机器学习(进阶)课程学习过程的项目代码用 Python 统计字数问题用 Python 实现函数 count_words(),该函数输入字符串 s 和数字 n,返回 s 中 n 个出现频率最高的单词。返回值是一个元组列表,包含出现次数最高的 n 个单词及其次数,即 [(, ), (, ), ... ],按出现次数降序排列。您可以假
2017-08-22 00:35:46 7509 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人