2019年5月5日
摘要: original blog: https://deepmind.com/blog/alphastar-mastering-real-time-strategy-game-starcraft-ii SL = supervised learning, RL = reinforcement learnin 阅读全文
posted @ 2019-05-05 17:29 冰山上的博客 阅读(587) 评论(0) 推荐(0) 编辑
  2019年4月30日
摘要: 刘慈欣不无批评地写道(http://cn.chinadaily.com.cn/2018-11/12/content_37243853.htm): 科幻的想象力由克拉克的广阔和深远,变成赛博朋克的狭窄和内向。 This reality is also reflected in science fict 阅读全文
posted @ 2019-04-30 12:29 冰山上的博客 阅读(950) 评论(0) 推荐(0) 编辑
  2019年4月19日
摘要: 见我的原创文章原文(建议用Chrome浏览器阅读): https://mianbaoduo.com/o/bread/YZ6TmJs= - - - - - - - - - - 阅读全文
posted @ 2019-04-19 16:33 冰山上的博客 阅读(843) 评论(0) 推荐(0) 编辑
  2019年4月18日
摘要: 我们以Twitter为例,使用其2012年11月发布的数据。Twitter的两个典型业务操作是: - 发布tweet消息: 用户可以快速推送新消息到所有的关注者,平均大约4.6k request/sec, 峰值约 12k requests/sec。 - 主页时间线(Home timeline)浏览: 阅读全文
posted @ 2019-04-18 16:39 冰山上的博客 阅读(283) 评论(0) 推荐(0) 编辑
  2019年4月2日
摘要: 见我的原创文章原文(建议用Chrome浏览器阅读): https://mianbaoduo.com/o/bread/YZ2Tmpg= - - - - - - - - - - 阅读全文
posted @ 2019-04-02 13:32 冰山上的博客 阅读(5491) 评论(0) 推荐(0) 编辑
  2019年3月28日
摘要: 参考:https://juejin.im/entry/58ae4636b123db0052b1caf8 (文中部分理解有误) 阻塞调用是指待返回数据就绪之前,调用者会进入阻塞状态等待。只有在得到结果之后才会返回。 非阻塞调用是指待返回数据就绪之前,该函数不会阻塞当前线程,而会立刻返回。 同步:在发出 阅读全文
posted @ 2019-03-28 20:22 冰山上的博客 阅读(297) 评论(0) 推荐(0) 编辑
  2019年3月22日
摘要: https://www.wxnmh.com/thread-1528249.htm https://www.wxnmh.com/thread-1528251.htm https://www.wxnmh.com/thread-1528254.htm Word embeddings using pre-t 阅读全文
posted @ 2019-03-22 18:22 冰山上的博客 阅读(433) 评论(0) 推荐(0) 编辑
  2019年3月7日
摘要: 见我的原创文章原文(建议用Chrome浏览器阅读): https://mianbaoduo.com/o/bread/Z5yTmpg= - - - - - - - - - - 阅读全文
posted @ 2019-03-07 16:25 冰山上的博客 阅读(257) 评论(0) 推荐(0) 编辑
  2019年3月4日
摘要: fm_model是libFM生成的模型 model.ckpt是可以tensorflow serving的模型结构 亲测输出正确。 代码: 参考: https://blog.csdn.net/u010159842/article/details/78789355 (开头借鉴此文,但其有不少细节错误) 阅读全文
posted @ 2019-03-04 20:00 冰山上的博客 阅读(502) 评论(0) 推荐(0) 编辑
  2019年2月14日
摘要: 原文:http://www.pieter-jan.com/node/11 目标是将惯性测量元件(IMU)之中陀螺仪、加速计的数据结合使用。Kalman filter太复杂,在微机上倾向用一种更简单的方法:Complementary filter 姿态估计(获得3个角度,俯仰角、横滚角、偏航角): 陀 阅读全文
posted @ 2019-02-14 20:38 冰山上的博客 阅读(608) 评论(0) 推荐(0) 编辑
  2019年2月12日
摘要: 1. 第一种是norvig介绍的方法,详细阐述了argmaxc P(c|w)的转换和求解办法。 这个概率不好直接算,但可以根据贝叶斯定理等价于argmaxc P(w|c)*P(c) / P(w),因为是比较各个c之间的大小所以P(w)可以省略,最后就变成求argmaxc P(w|c)*P(c)就行了 阅读全文
posted @ 2019-02-12 11:35 冰山上的博客 阅读(753) 评论(0) 推荐(0) 编辑
  2019年2月11日
摘要: http://ryanstutorials.net/ awk: split($1, arr, “\t”) awk '{BEGIN{FS="\x01"} {print $2}' sed: sed -n '42p' file sed -n '1,2p' file sed -n '1,2p' file s 阅读全文
posted @ 2019-02-11 21:14 冰山上的博客 阅读(268) 评论(0) 推荐(0) 编辑
摘要: https://docs.python.org/2/library/re.html re.match(pattern, string, flags=0) 尝试从字符串的起始位置匹配一个模式 re.search(pattern, string, flags=0) 扫描整个字符串并返回第一个成功的匹配 阅读全文
posted @ 2019-02-11 21:11 冰山上的博客 阅读(342) 评论(0) 推荐(0) 编辑
摘要: bash host #查看IP对应机器名 hostname #查看本机名 hostname –i #查看本机IP mssh --host-list '10.4.20.87,10.4.20.88,10.4.20.92,10.4.20.93' --host-timeout 200 'cd .servic 阅读全文
posted @ 2019-02-11 21:04 冰山上的博客 阅读(230) 评论(0) 推荐(0) 编辑
摘要: import numpy as np for k,v in stat.iteritems(): print k v.sort() #v = v[len(v)*3/100:len(v)*97/100] data = np.array(v) hist,bins=np.histogram(data,bin 阅读全文
posted @ 2019-02-11 21:02 冰山上的博客 阅读(240) 评论(0) 推荐(0) 编辑