EM算法简介,讲述了EM的算法原理及思想,用混合高斯模型(GMM)为例完成了一个完整的EM过程,还有GMM算法的Python实践。
分类:
编程语言 时间:
2017-03-24 16:03:29
阅读次数:
264
webpack打包压缩 ES6 js、.vue报错: ...
分类:
Web程序 时间:
2017-03-24 13:03:47
阅读次数:
10085
第一次写shell脚本#!/usr/bin/expect
spawnssh-keygen
expect{
"Enter"{
send"\r"
exp_continue
}
"Enter"{
send"\r"
exp_continue
}
"Enter"{
send"\r"
}
}这个是一个expect自动运行ssh-kegen脚本,这是我写的,运行之后,虽然不报错,但是却不执行spawnssh-keygenGeneratingp..
分类:
其他好文 时间:
2017-03-21 23:07:42
阅读次数:
473
1、界面布局 <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello World"/> <Edi ...
分类:
其他好文 时间:
2017-03-19 22:09:09
阅读次数:
158
1, nginx有一个自带的健康检查模块, 过于丑陋... 只需要在 nginx.conf下的http中的server配置如下即可 然后重启nginx, 使用脚本: service nginx reload 通过浏览器可访问 2, tengine也有一个健康检查模块, 比较强大 先在server中配 ...
分类:
其他好文 时间:
2017-03-18 23:59:21
阅读次数:
317
这一篇博文主要讲解关于Java的线程池相关的内容,主要包括:
(1) Executor接口以及其子接口
(2)Executor的生命周期
(3)Executors
(4)任务拒...
分类:
编程语言 时间:
2017-03-15 13:39:33
阅读次数:
256
脚本执行时,需要输入交互"y",用expect可以实现交互输入过程; ...
分类:
系统相关 时间:
2017-03-11 15:48:38
阅读次数:
155
1virm.sh#!/bin/expect-fsetDATE[execdate+%Y%m%d%k]#setpassword123456setipaddress[lindex$argv0]setport[lindex$argv1]setlogname[lindex$argv2]setdate[execdate-d"-2day""+%Y%m%d"]setfd[open/home/admin/passwd.shr]setpassword[read$fd]close$fdspawnssh$ipaddress-p$po..
分类:
其他好文 时间:
2017-03-10 22:32:58
阅读次数:
130
在Windows上使用批处理从远程linux服务器上复制文件到本地################################################安装cygwin需要选择的安装包如下:autoconf2.,automake1.1,binutil,gcc-cor,gcc-g,gd,pcre,pcre-devel,make,vim,expect(expect为使用scp时自动输入密码需要)..
分类:
Windows程序 时间:
2017-03-10 01:10:15
阅读次数:
1460
用expect实现自动登录的脚本,网上有很多,可是都没有一个明白的说明,初学者一般都是照抄、收藏。可是为什么要这么写却不知其然。本文用一个最短的例子说明脚本的原理。 脚本代码如下: ############################################## #!/usr/bin/e ...
分类:
系统相关 时间:
2017-03-09 13:34:40
阅读次数:
407