- 博客(16)
- 收藏
- 关注
原创 AttributeError: ‘list‘ object has no attribute ‘size‘问题解决
AttributeError: 'list' object has no attribute 'size'问题解决 转list类型为array
2022-10-23 21:30:01
5099
原创 squeeze()和unsqueeze()的使用
在英文中squeeze是压缩,unsqueeze是解缩,在Python中,squeeze是降维,unsqueeze是增维。
2022-10-13 09:16:41
2154
原创 fetch_20newsgroups函数介绍
20 newsgroups数据集包括18000多篇新闻文章,涉及到20个Topic(话题),所以称作20 newsgroups text dataset,分为两部分:训练集和测试集。由Ken Lang收集,是用在机器学习实验国际标准数据集之一,例如比较流行于文本分类或聚类实验。
2022-10-01 13:49:23
1906
翻译 Correlation 相关性--线性相关程度的数据统计方法
介绍Correlation数据统计方法的作用、意义,讲解了相关系数Correlation coefficient r 、假设检验概率方法p-value以及一些案例。
2022-09-10 08:22:12
2843
翻译 At what depth do earthquake occur?What is the significance of the depth?(地震发生在什么深度?深度的意义是什么?)
介绍地震发生的深度影响和意义。
2022-08-01 09:56:21
229
原创 AttributeError: ‘list‘ object has no attribute ‘create_png‘
执行代码:from six import StringIOfrom IPython.display import Imageimport pydotimport pydotplusdot_data = StringIO() tree.export_graphviz(credit_model, out_file = dot_data, feature_names = X_train.columns, ...
2022-01-21 08:55:17
1573
原创 ftp ls: Login failed: 530 Login incorrect.
搭建ftp,显示[root@localhost ~]# lftp zhangsan@192.168.63.147Password:lftp zhangsan@192.168.63.147:~> ls ls: Login failed: 530 Login incorrect.解决方案:修改vi /etc/pam.d/vsftpd文件,在文件第三行添加一下内容(注意,一定要是第三行),auth sufficient /lib64/security/pam_userdb.s...
2021-03-12 17:29:26
3302
1
原创 py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils... does not exist in the JVM
安装环境:Win7 +anaconda4.3.21(python3.6.1)+spark2.3.2+java1.8执行程序:from pyspark import SparkContextfrom pyspark import SparkConfconf = SparkConf().setAppName("miniProject").setMaster("local[*]")s...
2019-01-04 12:52:02
12830
5
原创 centos7搭建http服务器__指向外部地址
今天准备centos7上搭建http服务器,遇到一个问题,花了两三个小时的时间才解决掉。 使用yum安装了http服务后,编辑/etc/httpd/conf/httpd.conf ,启动http服务,打开浏览器,提示出错误信息:ForbiddenYou don't have permission to access / on this server.Additionall
2016-09-01 18:00:14
1445
原创 Ceph搭建过程中遇到的各种问题
人们在选择存储系统的时候,往往会考虑到它的存储能力、容错冗余机制、负载均衡等等。Ceph是一个非常好的分布式存储系统,可以无限制的扩展你的集群,并且它是一个块存储、对象存储和文件系统统一的分布式文件系统。所以很多公司都会选择ceph作为存储系统。 那么我们在进行ceph快速搭建的时候往往会遇到很多问题,我这边把我所遇到的问题总结了一下,请大家多多指教! 安装过程#ceph-de
2016-09-01 17:36:14
29234
10
原创 Ceph Client报错
最近一段时间在研究Ceph,今天遇到了一个问题,准备写下来跟大家共享。欢迎大家多想我提提意见!今天Ceph客户端系统出现了一些问题把它重启了,重启之后发现连接不到Ceph集群了,报下列信息:# ceph --debug -s 2016-09-01 07:23:31.907282 7f31c1234700 0 librados: client.admin authentication
2016-09-01 15:50:01
6186
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人