摘要: ax = gca; ax是个结构体,查看ax变量,可以看到所有可设置的属性。几个常见属性如下: 1. 设置坐标轴字体大小,粗细,字体名 2014b之后版本: ax = gca; ax.FontSize = 10; ax.FontName = 'Helvetica'; ax.FontWeight = 阅读全文
posted @ 2018-05-10 10:47 bregman 阅读(3320) 评论(0) 推荐(0)
摘要: 在mint 18下使用通过, ubuntu 类似。 方法 : 1. 通过软件中心安装goldendict,或者 2. 通过网页抓取程序, 见附录 3. 下载朗道词典文件,参考 "这里" 4. 配置如下图 使用 1. 鼠标选中 2. 快捷键 python解析脚本 阅读全文
posted @ 2018-04-17 20:57 bregman 阅读(321) 评论(0) 推荐(0)
摘要: 用python 处理数据movielens 100, 并用matlab文件保存。 阅读全文
posted @ 2018-04-17 09:54 bregman 阅读(141) 评论(0) 推荐(0)
摘要: 看了这个文档 结合随机矩阵的知识, 更清楚了一点。 https://www.cnblogs.com/xbinworld/p/4266146.html 阅读全文
posted @ 2018-04-13 10:41 bregman 阅读(140) 评论(0) 推荐(0)
摘要: 1. 下载安装文件 https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 2. 配置pip参数文件 3. pip命令安装, 如图 阅读全文
posted @ 2018-04-10 18:46 bregman 阅读(161) 评论(0) 推荐(0)
摘要: 网上下载词典文件,比如https://www.xiaomac.com/2013121204.html, 将朗道词典解压放入这里。 朗道词典 git@codeup.aliyun.com:5f169f6cdf9df74e36afaeda/matrix/dict.git $ ls /Library/Dic 阅读全文
posted @ 2018-04-09 16:59 bregman 阅读(254) 评论(0) 推荐(0)
摘要: 从老的笔记本中,把MplayerX.app 复制到新笔记本并放到应用程序目录中,可以直接用。 但播放时出现花屏,百度得到原因是新的硬件加速不支持, 解决办法是,在偏好设置 高级 额外选项中加入 ` vc vda, ` 阅读全文
posted @ 2018-04-01 17:12 bregman 阅读(404) 评论(0) 推荐(0)
摘要: 1. 违约模型得到概率估计, 2. 将概率值划分5档, 每一档确定一个授信系数 3. 新的授信 = 每月收入 授信系数 老的授信 4. 计算新增授信额度 5. 计算余额损失 阅读全文
posted @ 2018-03-28 15:00 bregman 阅读(360) 评论(0) 推荐(0)
摘要: 寻找winscp在mac下的代替品 阅读全文
posted @ 2018-01-29 14:24 bregman 阅读(291) 评论(0) 推荐(0)
摘要: Ncut 谱聚类算法推导验证 阅读全文
posted @ 2018-01-28 23:12 bregman 阅读(303) 评论(0) 推荐(0)
摘要: ```C ifndef KMIN_H_ define KMIN_H_ / / / min k values problem with maxheap data structure / / the computation cost is nlog(k) / / / / void kmin_maxhea 阅读全文
posted @ 2018-01-28 00:25 bregman 阅读(189) 评论(0) 推荐(0)
摘要: 主要是 np.linalg, 函数手册 阅读全文
posted @ 2017-12-19 11:36 bregman 阅读(512) 评论(0) 推荐(0)
摘要: 下载离线更新包解决。 https://support.apple.com/downloads/combo 阅读全文
posted @ 2017-12-15 15:36 bregman 阅读(874) 评论(0) 推荐(0)
摘要: 看C++代码, 缺少合适的编辑器,捣鼓vim。 1. 安装Vundle, 用于插件管理 2. 安装YouCompleteMe,代码补全 (注意用系统默认的python编译,不要用anaconda) 3. 修改 ,增加下面一段, 管理其他插件 安装插件命令 4. 使用YouCompleteMe, 安装 阅读全文
posted @ 2017-12-05 11:55 bregman 阅读(454) 评论(0) 推荐(0)
摘要: tensorflow 阅读全文
posted @ 2017-11-16 16:51 bregman 阅读(1022) 评论(0) 推荐(0)
摘要: chrome 版本 https://support.google.com/chrome/a/answer/187948?hl=en&ref_topic=2936229 阅读全文
posted @ 2017-10-17 20:38 bregman 阅读(431) 评论(0) 推荐(0)
摘要: 从运维(PE)同学那边学了几句基本的网络命令 ip route add 140.205.xx.xx (这个ip是对方的ip) via 10.110.xx.xx(这个是自己的网关) dev bond0 ip addr ip route windows route add 140.205.59.86 m 阅读全文
posted @ 2017-10-14 21:02 bregman 阅读(157) 评论(0) 推荐(0)
摘要: 打印 上一行与匹配行: 截取 log 信息 一个稍微的资料 http://www.cnblogs.com/liwei0526vip/p/5644163.html 阅读全文
posted @ 2017-09-20 18:16 bregman 阅读(113) 评论(0) 推荐(0)
摘要: 忍了很久, 终于查到原因了。 回滚模式: CTRL+A (释放), [ 切换模式: CTRL+ C 参考: https://serverfault.com/questions/206303/how to scroll back in screen within a ssh session from 阅读全文
posted @ 2017-09-11 20:24 bregman 阅读(2745) 评论(0) 推荐(0)
摘要: 保存文件, 并打印到屏幕 import logging def set_log(log_file='log.log'): logging.basicConfig( level = logging.INFO, handlers= [logging.StreamHandler(), logging.Fi 阅读全文
posted @ 2017-08-30 11:54 bregman 阅读(191) 评论(0) 推荐(0)
摘要: 用 ,`& +`, 代替并和差集。 阅读全文
posted @ 2017-08-29 15:27 bregman 阅读(187) 评论(0) 推荐(0)
摘要: mint 中默认的R版本有点老,升级最新版方法如下: 1. 先卸载 2. 添加mint 18 识别的源 注意: xenial 对应 mint18 使用的 ubuntu 的版本 3. 添加密钥 4. 更新并安装 R 参考 1. https://mirrors.aliyun.com/CRAN/bin/l 阅读全文
posted @ 2017-08-06 14:40 bregman 阅读(197) 评论(0) 推荐(0)
摘要: 安装R包 阅读全文
posted @ 2017-07-20 11:44 bregman 阅读(1004) 评论(0) 推荐(0)
摘要: 给2011年的macbookpro换了固态硬盘, 并把硬盘开启 trim模式 参考 1. 制作u盘启动 http://www.iplaysoft.com/macos usb install drive.html 2. 通过磁盘工具, 以及移动硬盘壳, 把系统盘复制到新的固态硬盘 方法1, 安装等了好 阅读全文
posted @ 2017-06-29 07:39 bregman 阅读(186) 评论(0) 推荐(0)
摘要: 读代码 阅读全文
posted @ 2017-05-19 16:20 bregman 阅读(560) 评论(0) 推荐(0)
摘要: 这个总结的不错 http://tanqisen.github.io/blog/2013/01/13/vim search replace regex/ 阅读全文
posted @ 2017-05-16 11:38 bregman 阅读(150) 评论(0) 推荐(0)
摘要: mint系统如何截图 阅读全文
posted @ 2017-05-14 11:39 bregman 阅读(255) 评论(0) 推荐(0)
摘要: echo 'export dataPath=$HOME/data/pre' >> ~/.bash_profile # 路径即刻生效: # . .bash_profile 或 source .bash_profile 或 exec bash --login echo 'export dataPath= 阅读全文
posted @ 2017-05-09 10:37 bregman 阅读(475) 评论(0) 推荐(0)
摘要: matlab 启动图标 无法画图, 加入参数解决 阅读全文
posted @ 2017-05-09 08:36 bregman 阅读(1132) 评论(0) 推荐(0)
摘要: psi函数 阅读全文
posted @ 2017-05-03 00:05 bregman 阅读(2740) 评论(0) 推荐(0)
摘要: pdf文件合并 阅读全文
posted @ 2017-05-02 16:33 bregman 阅读(287) 评论(0) 推荐(0)
摘要: https://github.com/ChrisJohnsen/tmux MacOSX pasteboard/issues/31 `printf '\e[?2004l'` 阅读全文
posted @ 2017-04-27 19:41 bregman 阅读(2510) 评论(0) 推荐(0)
摘要: linux mint使用中的问题解决记录 阅读全文
posted @ 2017-04-25 23:10 bregman 阅读(275) 评论(0) 推荐(0)
摘要: column命令格式化显示表格 阅读全文
posted @ 2017-04-07 10:31 bregman 阅读(299) 评论(0) 推荐(0)
摘要: 在命令行中画图 阅读全文
posted @ 2017-03-23 20:52 bregman 阅读(2221) 评论(0) 推荐(0)
摘要: 在conf.py中 修改, 加入 ctex包 qlmanage 函数很强大 阅读全文
posted @ 2017-03-21 12:12 bregman 阅读(673) 评论(1) 推荐(0)
摘要: 查看linux中显卡配置, 最近玩GPU 阅读全文
posted @ 2017-02-23 11:54 bregman 阅读(3753) 评论(0) 推荐(0)
摘要: 安装了最新版 "anaconda3 4.3" 发现jupyter notebook 少了一些东西。需要手工安装 https://github.com/Anaconda Platform/nbpresent 阅读全文
posted @ 2017-02-22 16:00 bregman 阅读(204) 评论(0) 推荐(0)
摘要: 安装 安装了两个依赖包 == Installing dependencies for postgresql: openssl, readline 开启服务 或者 使用 阅读全文
posted @ 2017-01-16 17:17 bregman 阅读(1140) 评论(0) 推荐(0)
摘要: 计算KS值的标准代码 阅读全文
posted @ 2017-01-12 18:00 bregman 阅读(7256) 评论(0) 推荐(0)