摘要:
pylab 中 svd的调用接口跟matlab 有点不同, 浪费了不少排查时间, 谨记!
阅读全文
posted @ 2017-01-11 17:54
bregman
阅读(152)
推荐(0)
摘要:
安装命令 查看安装的包 postgresql.x86_64 postgresql contrib.x86_64 postgresql libs.x86_64 postgresql server.x86_64 Initializing database ... OK /etc/systemd/syst
阅读全文
posted @ 2016-12-26 20:18
bregman
阅读(1023)
推荐(0)
摘要:
``` function getlastday(){ if [ $ lt 2 ]; then echo "usage: getlastday month dayofweek" echo "例1: \ 返回2016年11月最后一个周4的日期: 20161124" echo "例2: \ 返回2016年
阅读全文
posted @ 2016-12-13 16:15
bregman
阅读(693)
推荐(0)
摘要:
分支创建与删除 git clean -dxf ls git branch archives20161117 git branch -a git checkout archives20161117 git push --set-upstream origin archives20161117 git
阅读全文
posted @ 2016-11-17 23:45
bregman
阅读(49)
推荐(0)
摘要:
如果notebook需要转化为pdf, 能想到办法是保存图片文件,嵌入mardown语法中。 但是如果在html中显示, 可以考虑下面思虑, 比较取巧。 ``` {python, engine.path="/opt/anaconda3/bin/python", results='asis'} # i
阅读全文
posted @ 2016-11-11 11:03
bregman
阅读(570)
推荐(0)
摘要:
Content basic of python jupyter 开发环境 python 基本语法 利用python脚本完成工作 numpy for matrix computation 向量化或矩阵化编程思想 numpy常见函数以及matlab对比 DataFrame for data analys
阅读全文
posted @ 2016-11-04 19:48
bregman
阅读(194)
推荐(0)
摘要:
ggplot2 画图的辅助函数 R dual y axis plot function dual_axis_plot=function(p1,p2){ require(grid) require(gtable) grid.newpage() convert plots to gtable objec
阅读全文
posted @ 2016-11-04 17:17
bregman
阅读(582)
推荐(0)
摘要:
gnuplot ggplot2 强悍的画图工具 http://zevross.com/blog/2014/08/04/beautiful plotting in r a ggplot2 cheatsheet 3/
阅读全文
posted @ 2016-11-02 17:12
bregman
阅读(145)
推荐(0)
posted @ 2016-10-31 16:19
bregman
阅读(452)
推荐(0)
摘要:
Mac 下加速 R做矩阵计算, 感觉比没有R open 快, 但数量级上差不多了。 安装R open时,提示 X11相关的组件缺失,不想再额外安装,怕污染系统文件。
阅读全文
posted @ 2016-10-28 16:19
bregman
阅读(308)
推荐(0)
摘要:
* matplotlib包,使得python可以使用类似matlab的命令 * 双坐标,子图例子 ``` fig, axes = plt.subplots( 2,1, figsize=(14, 14) ) ax = badrate.plot.bar('t_len', 'total', ax=axes
阅读全文
posted @ 2016-10-27 23:11
bregman
阅读(21171)
推荐(0)
posted @ 2016-09-27 16:33
bregman
阅读(230)
推荐(0)
摘要:
服务器是 redhat 6,安装xgboost时,提示自带gcc 太老, 需要手动升级。 1). 手动安装 mpc 0.8.2.tar.gz, 用默认参数, 安装完后添加系统变量 2). 安装32位头文件 3). 手动安装 gcc 4.8.5.tar.gz 4). 使用 5). jupyter no
阅读全文
posted @ 2016-09-23 14:10
bregman
阅读(1776)
推荐(0)
摘要:
使用 screen 命令, ssh连接被中断,导致跑了一半的任务被强制终止。
阅读全文
posted @ 2016-09-23 11:13
bregman
阅读(309)
推荐(0)
摘要:
> 新mac (EI Capitan),需要在python中使用xgboost,通过pip安装未成功。 ## 配置pip ``` cat $HOME/Library/Application\ Support/pip/pip.conf [global] index-url = http://mirro
阅读全文
posted @ 2016-08-21 10:58
bregman
阅读(238)
推荐(0)
摘要:
安装 安装 anaconda3, 从https://www.anaconda.com/distribution/下载. 国内有代理,见这里 但不如官网新. 安装 sudo /opt/anaconda3/bin/pip install jupyterhub 参考github上jupyterhub的说明
阅读全文
posted @ 2016-08-06 14:54
bregman
阅读(10566)
推荐(0)
摘要:
```bash
[keke.zhaokk@gw2.mpi2.cm10 /home/keke.zhaokk]
$ls -i
85082119 dataMining 85082939 ????֦???-???idޢ?????ֿv2.5.4.1
[keke.zhaokk@gw2.mpi2.cm10 /home/keke.zhaokk]
$find -inum 85082939 | xargs -i ...
阅读全文
posted @ 2016-07-26 20:22
bregman
阅读(174)
推荐(0)
摘要:
collections 输出字典
阅读全文
posted @ 2016-07-26 13:14
bregman
阅读(155)
推荐(0)
摘要:
打算学习下upstart, Systemd 以及 supervisor
阅读全文
posted @ 2016-07-18 13:18
bregman
阅读(134)
推荐(0)
摘要:
anaconda下载太慢, 找到清华的镜像 https://mirror.tuna.tsinghua.edu.cn/help/anaconda/ 这里介绍了两个代理 Proxifier,proxychains,应该也比较有用。 http://www.xuelu.org/tech/2016/02/29
阅读全文
posted @ 2016-07-08 17:40
bregman
阅读(1840)
推荐(0)
posted @ 2016-07-07 20:04
bregman
阅读(198)
推荐(0)
摘要:
spark-集群搭建, 以及使用
阅读全文
posted @ 2016-05-31 21:12
bregman
阅读(310)
推荐(0)
posted @ 2016-05-13 10:26
bregman
阅读(131)
推荐(0)
摘要:
基于360月度搜索指数的大学排行榜
阅读全文
posted @ 2016-05-11 09:37
bregman
阅读(448)
推荐(0)
摘要:
具体安装使用,请参考 https://github.com/ipython contrib/IPython notebook extensions
阅读全文
posted @ 2016-05-09 13:56
bregman
阅读(2299)
推荐(0)
摘要:
## 安装docker
* 安装 virtualbox
* 下载 dockertoolbox并安装
官网的服务器一直连不上, 幸亏还有这个 https://get.daocloud.io/toolbox/
## 用docker安装gitlab
阅读全文
posted @ 2016-05-02 21:55
bregman
阅读(932)
推荐(0)
摘要:
尽量避免稀疏矩阵, 加快计算。 比如计算稀疏矩阵 的F范数 , 方法1效率比方法2高很多。 方法 1 方法 2
阅读全文
posted @ 2016-04-27 16:00
bregman
阅读(4963)
推荐(0)
posted @ 2016-04-27 11:44
bregman
阅读(518)
推荐(0)
摘要:
将 nodejs 的全局目录scp复制到另外一台机器部署代码, 发现运行报错, 提示缺少依赖模块。 检查了很久, 没发现问题。 后来发现,软链接 scp后不再是软链接而是对应文件, 导致相对路径改变!
阅读全文
posted @ 2016-04-13 10:04
bregman
阅读(248)
推荐(0)
posted @ 2016-03-17 10:57
bregman
阅读(4596)
推荐(0)
摘要:
http://www.google.com/chrome/eula.html?standalone=1&platform=win64 https://www.google.com/chrome/browser/desktop/index.html?system=true&standalone=1&p
阅读全文
posted @ 2016-02-24 10:05
bregman
阅读(283)
推荐(0)
posted @ 2016-02-14 10:40
bregman
阅读(212)
推荐(0)
摘要:
恢复git 本地删除的文件 git ls-files -d | xargs git checkout 打tag git tag -a 'V20160726' -m "生成数据用于通用模型评估" git push origin V20160726 删除tag git tag -d V20160726
阅读全文
posted @ 2016-01-20 15:29
bregman
阅读(125)
推荐(0)
摘要:
修改 sbtopts for shell 修改 sbtconfig.txt for windows 创建镜像代理 注意 代理网址隐去
阅读全文
posted @ 2016-01-13 12:31
bregman
阅读(467)
推荐(0)
摘要:
更新 使用matlab2017b时,又报错, 解决办法: 打开文件 /Applications/MATLAB_R2017b.app/bin/maci64/mexopts/clang++_maci64.xml 和 /Applications/MATLAB_R2017b.app/bin/maci64/m
阅读全文
posted @ 2015-12-23 01:02
bregman
阅读(1734)
推荐(0)
摘要:
texlive2015的一些设置
阅读全文
posted @ 2015-12-21 18:16
bregman
阅读(628)
推荐(0)
posted @ 2015-12-08 10:09
bregman
阅读(291)
推荐(0)
posted @ 2015-12-04 11:07
bregman
阅读(436)
推荐(0)
摘要:
access 连接 mysql 下载32位版本 mysql connector odbc 5.3.4 win32.msi 注意access是32位版本 _未解决中文显示出现的编码问题_ sublime text 2 安装出错 利用 event viewer 查看报错原因 ...
阅读全文
posted @ 2015-11-05 16:32
bregman
阅读(135)
推荐(0)
posted @ 2015-09-18 00:05
bregman
阅读(350)
推荐(0)