- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 Python:在python中调用Weka的方法
让您你们失望了,我啥都没写。提供链接https://blog.csdn.net/weixin_30832351/article/details/94889557
2020-06-20 11:13:41 1608 1
原创 Python:New Balanced Active Learning Model and Optimization Algorithm--2018IJCAI
参考文献:New Balanced Active Learning Model and Optimization Algorithm--2018IJCAI原文代码找了好久没有找到,至少Github上没有,为了深入学习只能自己撸码了。代码还没进行类封装。目前效果还不好,可能是参数没设置好,也可能是代码有问题。有空好好改一下。import numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom sklearn.cl.
2020-06-15 16:13:54 242
原创 Python调用matlab 函数
在python中启动matlab:engine = matlab.engine.start_matlab()如果输入的变量X是表格式的数据(n*d),即 ndarray格式,需要进行转换后再输入:data_list= matlab.double(X.tolist())
2020-06-15 15:16:20 1280
原创 文献溯源
K-Medoid algorithmKaufman L , Rousseeuw P J . Finding Groups in Data: An Introduction to Cluster Analysis[M]. John Wiley & Sons, 2009.
2020-06-13 11:43:18 622
原创 MATLAB:sum()函数的使用
sum(W,1)竖着加,输出一个行向量sum(W,2)横着加,输出一个列向量w = [1,2,3;1,2,3;1,2,3]D = sum(w,2)
2020-06-10 20:11:17 1742
原创 MATLAB:生成一个双环二维数据
N = 200;rA = ones(1,N)*2+0.5*rand(1,N);rB = ones(1,N)+0.5*rand(1,N);thetaPos = pi*(2.*[1:N]./N);zeroA = [0,0];zeroB = [0,0];feaA = [rA.*cos(thetaPos)+zeroA(1); rA.*sin(thetaPos)+zeroA(2)]'; %'feaB = [rB.*cos(thetaPos)+zeroB(1); rB.*sin(thetaPos).
2020-06-10 17:41:00 645
原创 Python:使用cvxpy求解线性回归问题
优化分体为残差平方和最小,这是一个凸优化问题,使用cvxpy,过程过于简单。 ##------数据生成部分----------## seed = 101 X = np.random.uniform(low=1.0,high=10.0,size=300) y = X * 20 + 10 + np.random.normal(loc=0.0,scale=10.0,size=300) ##--------凸优化部分-------------## w = cvx.
2020-06-02 11:05:09 3059 3
Active learning via local structure reconstruction
2023-10-29
序分类数据集Nursery
2023-10-18
序分类数据集Melanoma
2023-10-18
序分类数据集Knowledge
2023-10-18
序分类数据集CTGs,数据类型:连续数值型
2023-10-18
序分类数据集eucalyptus
2023-10-18
序分类数据集Obesity
2023-10-18
主动学习方法:xPAL的python代码
2023-10-18
序分类数据集Nursery的one hot encoding版(12960个样本, 28个属性,类别数为5)
2023-05-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人