2
推荐
1345
阅读
Ubuntu16.04LTS+CUDA8.0
1. 安装Ubuntu16.04LTS参考https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop1.1 官网下载ISO文件,http://cdimage.ubuntu.com/netboot/16.04/?_ga=2.124394442.1575633969.1533611131-432109402.15336111311.2 在Windows里用Win33DiskImager制作安装盘。(UltraISO写入做安装盘,安装时会有ldlin...
1
推荐
4592
阅读
virtualenv中运行的jupyter notebook,在import pandas时出错,ImportError: No module named 'pandas'
notebook不知道module的路径在哪,默认只知道current path先找到包所在位置pip show --verbose pandas再告诉notebookimport syssys.path.append('/usr/local/lib/python2.7/dist-packages')
import pandas
0
推荐
1269
阅读
p-value记忆
1. p-value是假设检验中判断假设是否成立的一个判断条件。好人=假设 H0坏人=假设H12. 假设检验的思想:不是好人就是坏人。即,如果H0不成立,H1成立。如果H0成立,H1不成立。3. p-value:是误杀好人的可能。弃真。杀了好人比放了坏人更严重!即,错误判断H0不成立的可能。4. p值越小(一般小于0.05),则越没有误杀好人...
0
推荐
1376
阅读
0
推荐
1978
阅读
不能下载USPS,不能下载mnist
跑DCEC程序时报错1. 下载USPShttps://github.com/XifengGuo/DEC-keras这里有下载地址https://pan.baidu.com/s/1skRg9Dr (password: sc58) for USPS下载后放在DCEC/data/usps下解包gunzip usps_train.jf.gz
gunzip usps_test.jf.gz2. 下载mnistkeras的默认下载地址https://s3.amazonaws.com/img-datasets/...
2
推荐
1704
阅读
“apt-get update” always failed to fetch
Try changing to another mirror in "Software & Updates"default setting in "System Settings" > "Software & Updates" > "Ubuntu Software" > "Download from" is "Server for United States".change to http://mirrors.aliyun.com/ubuntu/sudo rm /var/lib/apt/lists/* -vf
sudo apt-g...
0
推荐
1794
阅读
ubuntu 16.04 访问win7共享文件夹
1. win7设置文件夹共享文件夹右键/属性/共享2. ubuntu 安装sambasudo apt-get install samba3. Ubuntu文件管理起查看win7共享目录文件管理器底部Connect to Server,输入
smb://10.8.34.102
输入用户名密码
1
推荐
1332
阅读
ubuntu 16.04 安装搜狗拼音
1. sougou官网下载sogoupinyin_2.2.0.0108_amd64.deb2. 搜狗拼音需要fcitx的支持3. 安装sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
sudo apt-get -f install
sudo apt-get install fcitx
sudo apt-get install fcitx-config-gtk
sudo apt-get install fcitx-table-all
sudo apt-get install i...
1
推荐
1825
阅读
(eog:19102): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused
eog 57315499.jpg会出现上述错误改成sudo eog 57315499.jpg
1
推荐
3004
阅读
jupyter notebook运行时间序列分解STL趋势和季节
1. "ImportError: No module named" when trying to run Python scriptnotebook不知道module的路径在哪,默认只知道current path先找到包所在位置pip show --verbose pandas再告诉notebookimport sys
sys.path.append('/usr/local/lib/python2.7/dist-packages')2. 安装分解时间序列用到的包pip install stat...
1
推荐
1272
阅读
python画多根折线
显示:title,xlabel,ylabel,legendlinecolor,linewidth,labelgridimport numpy as np
import matplotlib.pyplot as plt
def f1(t):
return np.exp(-t)*np.cos(2*np.pi*t)
def f2(t):
return np.sin(2*np.pi*t)*np.cos(3*np.pi*t)
t = np.arange(0.0,5.0,0.02)
plt.figure()
plt.plot(t,f1(t...
2
推荐
1263
阅读
secureCRT 按了ctrl+s没反应
ctrl-s 是停止字符输出的终端控制字符。键入ctrl-q组合键重新启用终端输出。如下命令显示当前的设置。stty -a
5
推荐
2014
阅读
flask file uploader
修改flask-file-uploader,到已有的flask项目中参考:https://github.com/greyli/flask-file-uploader1. vi app\__init__.pydef create_app(config_name):中添加 app.config['SECRET_KEY'] = 'hard to guess string'
app.config['UPLOAD_FOLDER'] = '/path/data/'
app.co...
2
推荐
1768
阅读
flask网页显示公式
1. 用MathJax显示公式见https://weilai5432.github.io/2017/01/11/MathJax-%E5%9C%A8MarkDown%E4%B8%AD%E6%8F%92%E5%85%A5%E6%95%B0%E5%AD%A6%E5%85%AC%E5%BC%8F/对于 Html 文件,只需要在 <head> 块(<body>也可以,但推荐<head>)中插入如下代码即可:<script type="text/javascript" ...
1
推荐
1914
阅读
ie11离线安装包制作
一、搜索下载各文件二、按照下面步骤解包cab文件,做bat文件1. Internet Explorer 11 的必备组件包cd c:\temp
expand "Windows6.1-KB2731771-x64.msu" -f:* c:\temp\cabfiles
expand "Windows6.1-KB2533623-x64.msu" -f:* c:\temp\cabfiles
expand "Windows6.1-KB2670838-x64.msu" -f:* c:\temp\cabfiles
expand "W...