博客园 - Horse-Ma
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=27136
2018-10-10T02:58:27Z
Horse-Ma
https://www.cnblogs.com/litthorse/
feed.cnblogs.com
https://www.cnblogs.com/litthorse/p/9765172.html
tf.gfile()函数 - Horse-Ma
转自https://blog.csdn.net/pursuit_zhangyu/article/details/80557958 这些函数和python中的os模块非常的相似,一般都可以用os模块代替吧 gfile API介绍 下面将分别介绍每一个gfile API! 2-1)tf.gfile.Co
2018-10-10T02:58:00Z
2018-10-10T02:58:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自https://blog.csdn.net/pursuit_zhangyu/article/details/80557958 这些函数和python中的os模块非常的相似,一般都可以用os模块代替吧 gfile API介绍 下面将分别介绍每一个gfile API! 2-1)tf.gfile.Co <a href="https://www.cnblogs.com/litthorse/p/9765172.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9384622.html
MATLAB把小数转化为百分数形式输出 - Horse-Ma
转自http://www.ilovematlab.cn/thread-43204-2-1.html
2018-07-29T02:50:00Z
2018-07-29T02:50:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自http://www.ilovematlab.cn/thread-43204-2-1.html <a href="https://www.cnblogs.com/litthorse/p/9384622.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9384584.html
matlab矩阵中如何去掉重复的行和找到相同的行 - Horse-Ma
转自https://blog.csdn.net/loveaborn/article/details/8486010 设有矩阵 >> a=[1 2 3;4 5 6;1 2 3;] a = 1 2 3 4 5 6 1 2 3 问题1:怎样去掉其中的重复行呢? >> b=unique(a,'rows')
2018-07-29T02:40:00Z
2018-07-29T02:40:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自https://blog.csdn.net/loveaborn/article/details/8486010 设有矩阵 >> a=[1 2 3;4 5 6;1 2 3;] a = 1 2 3 4 5 6 1 2 3 问题1:怎样去掉其中的重复行呢? >> b=unique(a,'rows') <a href="https://www.cnblogs.com/litthorse/p/9384584.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9332370.html
MATLAB上实现Adaboost二分类和多分类 - Horse-Ma
二分类转载自https://blog.csdn.net/on2way/article/details/47838337 多分类转载自https://blog.csdn.net/on2way/article/details/48006539 作为(曾)被认为两大最好的监督分类算法之一的adaboost
2018-07-18T12:11:00Z
2018-07-18T12:11:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】二分类转载自https://blog.csdn.net/on2way/article/details/47838337 多分类转载自https://blog.csdn.net/on2way/article/details/48006539 作为(曾)被认为两大最好的监督分类算法之一的adaboost <a href="https://www.cnblogs.com/litthorse/p/9332370.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9320969.html
使用MATLAB用hist画了直方图加一条竖线作为参考线 - Horse-Ma
来自https://zhidao.baidu.com/question/2010891127787818868.html
2018-07-16T15:09:00Z
2018-07-16T15:09:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】来自https://zhidao.baidu.com/question/2010891127787818868.html <a href="https://www.cnblogs.com/litthorse/p/9320969.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9320888.html
用MATLAB同时作多幅图 - Horse-Ma
例子:同时作三幅直方图
2018-07-16T14:52:00Z
2018-07-16T14:52:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】例子:同时作三幅直方图 <a href="https://www.cnblogs.com/litthorse/p/9320888.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9313906.html
MATLAB向Excel文件写数据 - Horse-Ma
其主要的调用形式为: 其中variable表示需要写入Excel文件的变量名称 把一个5×10矩阵写到Excel文件data5.xls表单的Sheet1中B2开始的域中: 读写Excel数据时,Excel文件一定要关闭,以免无法读写。
2018-07-15T08:20:00Z
2018-07-15T08:20:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】其主要的调用形式为: 其中variable表示需要写入Excel文件的变量名称 把一个5×10矩阵写到Excel文件data5.xls表单的Sheet1中B2开始的域中: 读写Excel数据时,Excel文件一定要关闭,以免无法读写。 <a href="https://www.cnblogs.com/litthorse/p/9313906.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9303711.html
SVM多分类问题 libsvm在matlab中的应用 - Horse-Ma
转载自https://blog.csdn.net/lwwangfang/article/details/52355062 对于支持向量机,其是一个二类分类器,但是对于多分类,SVM也可以实现。主要方法就是训练多个二类分类器。 一、多分类方式 1、一对所有(One-Versus-All OVA) 给定
2018-07-13T02:46:00Z
2018-07-13T02:46:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转载自https://blog.csdn.net/lwwangfang/article/details/52355062 对于支持向量机,其是一个二类分类器,但是对于多分类,SVM也可以实现。主要方法就是训练多个二类分类器。 一、多分类方式 1、一对所有(One-Versus-All OVA) 给定 <a href="https://www.cnblogs.com/litthorse/p/9303711.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9300261.html
libsvm-mat加强工具箱介绍 - Horse-Ma
转自http://bbs.sciencenet.cn/blog-348249-272606.html libsvm-mat-加强工具箱介绍 由于libsvm的matlab版本的工具箱libsvm-mat并没有给出寻参的函数模块,而无论利用libsvm工具箱进行分类还是回归,参数的选取是十分重要的,鉴
2018-07-12T08:38:00Z
2018-07-12T08:38:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自http://bbs.sciencenet.cn/blog-348249-272606.html libsvm-mat-加强工具箱介绍 由于libsvm的matlab版本的工具箱libsvm-mat并没有给出寻参的函数模块,而无论利用libsvm工具箱进行分类还是回归,参数的选取是十分重要的,鉴 <a href="https://www.cnblogs.com/litthorse/p/9300261.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9280660.html
cell转字符串 - Horse-Ma
如果s是一个cell如下: s = 3×1 cell 数组 'j' '北jing' [ NaN] 方法一: s{i}返回字符串 s(2)返回cell类型,s{2}返回string类型 >> s(2) ans = cell '北jing' >> s{2} ans = 北jing 方法二: a=char
2018-07-08T09:26:00Z
2018-07-08T09:26:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】如果s是一个cell如下: s = 3×1 cell 数组 'j' '北jing' [ NaN] 方法一: s{i}返回字符串 s(2)返回cell类型,s{2}返回string类型 >> s(2) ans = cell '北jing' >> s{2} ans = 北jing 方法二: a=char <a href="https://www.cnblogs.com/litthorse/p/9280660.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9280581.html
matlab中cell矩阵特定字符串检索 - Horse-Ma
来自百度经验https://jingyan.baidu.com/article/647f0115bd3d877f2048a856.html cell矩阵中字符的检索不能直接使用等号。 应用strcmp函数判断两个输入字符串是否相等,输入形式如下: c = strcmp(str1,str2)比较字符串
2018-07-08T09:09:00Z
2018-07-08T09:09:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】来自百度经验https://jingyan.baidu.com/article/647f0115bd3d877f2048a856.html cell矩阵中字符的检索不能直接使用等号。 应用strcmp函数判断两个输入字符串是否相等,输入形式如下: c = strcmp(str1,str2)比较字符串 <a href="https://www.cnblogs.com/litthorse/p/9280581.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9280542.html
MATLAB字符串处理函数 - Horse-Ma
转自https://www.cnblogs.com/emanlee/archive/2012/09/13/2683912.html % 获取字符串长度 length(a) % 连接两个字符串,每个字符串最右边的空格被裁切 d=strcat(a,c) length(d) % 连接多行字符串,每行长度可
2018-07-08T08:58:00Z
2018-07-08T08:58:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自https://www.cnblogs.com/emanlee/archive/2012/09/13/2683912.html % 获取字符串长度 length(a) % 连接两个字符串,每个字符串最右边的空格被裁切 d=strcat(a,c) length(d) % 连接多行字符串,每行长度可 <a href="https://www.cnblogs.com/litthorse/p/9280542.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9276594.html
MATLAB数据预处理-归一化-mapminmax - Horse-Ma
转自https://blog.csdn.net/hqh45/article/details/42965481 在新版MATLAB中,使用BP神经网络的premnmx函数会出现Warning: PREMNMX is an obsolete function. 的提示 在新版MATLAB中,把旧函数pr
2018-07-07T02:45:00Z
2018-07-07T02:45:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自https://blog.csdn.net/hqh45/article/details/42965481 在新版MATLAB中,使用BP神经网络的premnmx函数会出现Warning: PREMNMX is an obsolete function. 的提示 在新版MATLAB中,把旧函数pr <a href="https://www.cnblogs.com/litthorse/p/9276594.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9276455.html
神经网络新旧版本newff比较 - Horse-Ma
转自http://blog.csdn.net/guyuealian/article/details/66969232 使用Matlab工具箱创建神经网络时,需要用到newff函数,但若使用旧版本的newff函数,会出现下面的警告: >> net = newff( minmax(input) , [1
2018-07-07T02:00:00Z
2018-07-07T02:00:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自http://blog.csdn.net/guyuealian/article/details/66969232 使用Matlab工具箱创建神经网络时,需要用到newff函数,但若使用旧版本的newff函数,会出现下面的警告: >> net = newff( minmax(input) , [1 <a href="https://www.cnblogs.com/litthorse/p/9276455.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9275921.html
MATLAB的minmax用法 - Horse-Ma
minmax()函数用于获取数组中每一行的最小值和最大值 来自https://zhidao.baidu.com/question/558785052.html
2018-07-06T15:31:00Z
2018-07-06T15:31:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】minmax()函数用于获取数组中每一行的最小值和最大值 来自https://zhidao.baidu.com/question/558785052.html <a href="https://www.cnblogs.com/litthorse/p/9275921.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9272235.html
MATLAB设置直方图每条直方柱X坐标名称 - Horse-Ma
这里的gca是get current axes的缩写,即获取当前X轴句柄,类似的变量还有gco (get current object)、gcf (get current figure)等 原文https://blog.csdn.net/vernice/article/details/4665835
2018-07-06T02:28:00Z
2018-07-06T02:28:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】这里的gca是get current axes的缩写,即获取当前X轴句柄,类似的变量还有gco (get current object)、gcf (get current figure)等 原文https://blog.csdn.net/vernice/article/details/4665835 <a href="https://www.cnblogs.com/litthorse/p/9272235.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9271958.html
MATLAB画直方图并在每条柱标上数值,改变列宽 - Horse-Ma
各函数说明: [a,b]=hist(x,n) 其中x是一维向量,函数功能是将x中的最小和最大值之间的区间等分n份,横坐标是x值,纵坐标是该值的个数。返回的a是落在该区间内的个数,即每条柱的高度,b是该区间的中心线位置坐标,即每条柱的中心坐标。 bar(x,y) 其中x必须是严格递增的且一维向量x和一
2018-07-06T01:44:00Z
2018-07-06T01:44:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】各函数说明: [a,b]=hist(x,n) 其中x是一维向量,函数功能是将x中的最小和最大值之间的区间等分n份,横坐标是x值,纵坐标是该值的个数。返回的a是落在该区间内的个数,即每条柱的高度,b是该区间的中心线位置坐标,即每条柱的中心坐标。 bar(x,y) 其中x必须是严格递增的且一维向量x和一 <a href="https://www.cnblogs.com/litthorse/p/9271958.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9269036.html
sortrows函数应用:用于数组矩阵排序 - Horse-Ma
转自https://blog.csdn.net/smf0504/article/details/51810642 sortrows常用用法: B = sortrows(A) B = sortrows(A,column) 我们先创建一个矩阵: A = 95 45 92 41 13 1 84 95 7 73 89 20...
2018-07-05T08:28:00Z
2018-07-05T08:28:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自https://blog.csdn.net/smf0504/article/details/51810642 sortrows常用用法: B = sortrows(A) B = sortrows(A,column) 我们先创建一个矩阵: A = 95 45 92 41 13 1 84 95 7 73 89 20... <a href="https://www.cnblogs.com/litthorse/p/9269036.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9268090.html
MATLAB的ismember - Horse-Ma
转自https://blog.csdn.net/yes1989yes/article/details/73302766 用法1:ismember(a,3)返回逻辑矩阵,如果3在哪个位置上,则哪个位置返回为1,其他位置返回为0; 用法2:ismember(3,a),如果a中有3这个元素则返回1,没有这
2018-07-05T06:24:00Z
2018-07-05T06:24:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】转自https://blog.csdn.net/yes1989yes/article/details/73302766 用法1:ismember(a,3)返回逻辑矩阵,如果3在哪个位置上,则哪个位置返回为1,其他位置返回为0; 用法2:ismember(3,a),如果a中有3这个元素则返回1,没有这 <a href="https://www.cnblogs.com/litthorse/p/9268090.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/litthorse/p/9266934.html
MATLAB的unique函数 - Horse-Ma
B = unique(A) 获取矩阵A 的不同元素构成的向量 功能:可以用来获得A中不同元素的个数 >> A=[1 1 3 5 6 7 3 2 3 7] >> B = unique(A) B = 1 2 3 5 6 7 A为行向量B也为行向量 A为列向量B也为列向量
2018-07-05T02:26:00Z
2018-07-05T02:26:00Z
Horse-Ma
https://www.cnblogs.com/litthorse/
【摘要】B = unique(A) 获取矩阵A 的不同元素构成的向量 功能:可以用来获得A中不同元素的个数 >> A=[1 1 3 5 6 7 3 2 3 7] >> B = unique(A) B = 1 2 3 5 6 7 A为行向量B也为行向量 A为列向量B也为列向量 <a href="https://www.cnblogs.com/litthorse/p/9266934.html" target="_blank">阅读全文</a>