matlab有时候一打开会出现warning,然后任何工具包(包括set path)都执行不了,在网上找到解决方法,存下来备用。1. 在matlab的command里输入: restoredefaultpath;matlabrc. 回车等待执行完毕.2. cd到'你的安装目录'\MATLAB\R20...
分类:
其他好文 时间:
2015-08-09 20:24:49
阅读次数:
150
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' no...
分类:
系统相关 时间:
2015-08-08 10:16:01
阅读次数:
391
隐式转换(implicit conversion)short a=2000;int b;b=a;short是两字节,int是四字节,由short型转成int型是宽化转换(bit位数增多),编译器没有warning,如下图所示。宽化转换(如char到int,int到long long,int到floa...
分类:
其他好文 时间:
2015-08-08 06:30:52
阅读次数:
151
题意给一个n个点m条边的图,每一个点和每一条边都有权值。现在要找一个环的点权和/边权和最大,求这个最大值。思路SPFA+二分
题目的关系式:点权和/边权和 = 0;
二分答案,然后用SPFA去check是否存在一个负权回路。参考code:/*
#pragma warning (disable: 4786)
#pragma comm...
分类:
其他好文 时间:
2015-08-08 00:06:15
阅读次数:
120
最近出现过一个问题,值得记录类似于这样的报错的问题:Warning: require_once(/www/app/somecomponent.php): failed to open stream: Cannot allocate memory in /www/app/loader.php on l...
分类:
Web程序 时间:
2015-08-07 19:28:31
阅读次数:
150
http://scikit-learn.org/stable/modules/multiclass.html
在实际项目中,我们真的很少用到那些简单的模型,比如LR、kNN、NB等,虽然经典,但在工程中确实不实用。
今天我们关注在工程中用的相对较多的 Multiclass and multilabel algorithms。
warning:sciki...
分类:
其他好文 时间:
2015-08-07 09:40:47
阅读次数:
284
写一个脚本,判断本机的80端口是否开启着,如果开启着什么都不做,如果发现端口不存在,那么重启一下httpd服务,并发邮件通知你自己。脚本写好后,可以每一分钟执行一次,也可以写一个死循环的脚本,30s检测一次。#!/usr/bin/envpython#!coding=utf-8importosimporttimeimports..
分类:
编程语言 时间:
2015-08-06 18:37:49
阅读次数:
231
LAMP环境,项目运行错误日志路径:/var/log/httpd错误日志例如:[Sat Jul 11 16:51:24 2015] [error] [client 192.168.17.3] PHP Warning: include_once(): open_basedir restriction....
分类:
Web程序 时间:
2015-08-06 10:38:56
阅读次数:
192
1 使用U盘安装最新版Centos时报错(CentOS-7-x86_64-DVD-1503-01):错误提示:"Warning:could not boot;Warning: /dev/root does not exist",具体如下图:2 原因分析:这是因为安装程序未能找到安装文件所致,因为是U...
分类:
其他好文 时间:
2015-08-05 18:02:28
阅读次数:
1345
这个错误的出现,原因是:出这个错误是因为header(‘Content-Type:text/html;charset=UTF-8‘);发送头之前不能有任何输出。检查了下我的输出,错误信息如下:Warning:Cannotmodifyheaderinformation-headersalreadysentby(outputstartedat/data/home/qxu1084910324/htdocs/bw_fea..
分类:
其他好文 时间:
2015-08-04 23:23:08
阅读次数:
188