随笔分类 - algorithm
摘要:Solr Deep Paging(solr 深分页) - ickes的专栏 - CSDN博客 https://blog.csdn.net/xl_ickes/article/details/42772521 问题深分页的问题是很清楚。Solr必须为返回的搜索结果准备一个列表,并返回它的一部分。如果该部
阅读全文
摘要:w https://en.wikipedia.org/wiki/Amortized_analysis In computer science, amortized analysis is a method for analyzing a given algorithm's time complexi
阅读全文
摘要:w w Exponential Backoff And Jitterhttps://www.awsarchitectureblog.com/2015/03/backoff.html Exponential Backoff And Jitter 04 Mar 2015 in Performance,
阅读全文
摘要:An Explanation of the `Deflate' Algorithm http://zlib.net/feldspar.html
阅读全文
摘要:w http://info.3g.qq.com/g/s?pageNo=3&totalIndex=26&f_aid_ext=210,article&iarea=210&srcTopic=171000000&srcId=tech_20160828001534&aid=spiderhoo_ss&id=sp
阅读全文
摘要:w CSDN 论坛 http://bbs.csdn.net/wap/topics/390186917 对原帖的问题做严谨化处理,并对“公平”做出假设。 问题: 有n个人轮流在宿舍内煮晚饭,宿舍内每天只煮一次晚饭。当晚轮到谁煮饭且该人当晚回宿舍就必须煮饭,其他晚上只要回宿舍则一定在宿舍吃晚饭且不做饭。
阅读全文
摘要:w http://www.2cto.com/kf/201209/157387.html
阅读全文
摘要:递归的艺术 - 深度递归网络在序列式推荐的应用 https://mp.weixin.qq.com/s/nzEnluS4YCEy95Lqv7tTKQ 在测试中,我们收集了QQ音乐最近的电台听歌记录,共约8千万条听歌序列,并对数据做了必要的预处理操作,主要包括下面两点: 去掉了点击序列小于5首,大于50
阅读全文
摘要:w 如同 一切皆file 服务器路由 数据库路由 文件路由 访问路由 查询路由 抗风险路由 支付网关路由
阅读全文
摘要:w https://en.wikipedia.org/wiki/Token_bucket
阅读全文
摘要:https://en.wikipedia.org/wiki/Checksum https://zh.wikipedia.org/wiki/校验和 A checksum is a small-sized datum derived from a block of digital data for th
阅读全文
摘要:w https://www.cis.upenn.edu/~matuszek/cit594-2012/Pages/backtracking.html In this example we drew a picture of a tree. The tree is an abstract model o
阅读全文
摘要:https://en.wikipedia.org/wiki/Compare-and-swap Compare-and-swap From Wikipedia, the free encyclopedia Jump to navigationJump to search In computer sci
阅读全文
摘要:0-购买预测 w 任务目标 提交user_id-->sku_id (1->1,但反向呢?) 实际操作: 0- 行为表中的type值加权为一个购买意向值0(性别、年龄,不干扰/或加权) 品类、性别加权 评论加权 1- 数据分2部分 答案货品集,用来生成最终提交结果 非答案货品集,用来分析品类与性别 参
阅读全文
摘要:https://baike.baidu.com/item/回溯算法/9258495 回溯算法实际上一个类似枚举的搜索尝试过程,主要是在搜索尝试过程中寻找问题的解,当发现已不满足求解条件时,就“回溯”返回,尝试别的路径。回溯法是一种选优搜索法,按选优条件向前搜索,以达到目标。但当探索到某一步时,发现原
阅读全文
摘要:w 个性化推荐:分析该访问者的当前和历史信息,进行推荐。 w 现阶段处理 对于支持开团商品且规则为允许同时该商品下多种开团类型且支持同时开多个相同团 0-显示最大折扣(从顾客角度考虑) 01-最大折扣下已经有进行中开团的,显示最早一个开团的的剩余时间(从促销角度考虑) 02-最大折扣下无开团的,显示
阅读全文
摘要:import ( "reflect" "testing" ) type args struct { input []int } var Sorttests = []struct { name string args args want []int }{ // TODO: Add test cases
阅读全文
摘要:推荐算法架构 :召回(1) - 知乎 https://zhuanlan.zhihu.com/p/475120402 推荐算法架构 :召回(1) 召回模块面对几百上千万的推荐池物料规模,候选集十分庞大。由于后续有排序模块作为保障,故不需要十分准确,但必须保证不要遗漏和低延迟。目前主要通过多路召回来实现
阅读全文