- 博客(79)
- 收藏
- 关注
原创 Virtualbox中如何实现主机与虚机(Ubuntu )之间传输文件
https://blog.youkuaiyun.com/pan_tian/article/details/22619687
2020-03-26 20:46:43
1078
原创 Virtualbox安装增强功能时显示【未能加载虚拟光盘】
https://www.cnblogs.com/20175317zrw/p/10458990.html
2020-03-26 20:13:41
974
转载 cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"ht
cvc-complex-type.2.4.a: Invalid content was found starting with element ‘display-name’. One of '{"ht解决方法:将“http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules....
2020-03-06 13:53:06
774
原创 ubuntu untrasted application laucher
ubuntu untrasted application laucher解决办法:cd ~/Desktopsudo chmod +x Eclipse.desktop参考:https://askubuntu.com/questions/388520/untrusted-application-launcher
2020-02-28 10:47:28
1051
原创 Junit简单学习理解
JUnit是一个Java语言的单元测试框架。它由Kent Beck和Erich Gamma建立,逐渐成为源于Kent Beck的sUnit的xUnit家族中最为成功的一个。 JUnit有它自己的JUnit扩展生态圈。多数Java的开发环境都已经集成了JUnit作为单元测试的工具。https://baijiahao.baidu.com/s?id=1658791965259239950&wf...
2020-02-20 14:25:16
293
原创 pom.xml文件报错
eclipse 运行activiti,maven项目报错Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (execution:...
2020-02-20 14:16:58
775
原创 ava.lang.IllegalStateException: Unable to complete the scan for annotations for web application
严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sateproject]] at org.apache.ca...
2019-12-02 15:37:18
550
转载 java.lang.IllegalArgumentException: taglib definition not consistent with specification version
tomcat8.0中使用taglib错误表现: java.lang.IllegalArgumentException: taglib definition not consistent with specification version原因:tomcat6以上在web.xml中定义taglib时要嵌入到jsp-config标签中<jsp-config> <t...
2019-12-02 14:20:35
287
原创 The resource identified by this request is only capable of generating respon
The resource identified by this request is only capable of generating respon参考https://blog.youkuaiyun.com/qq_38404440/article/details/80570915配置文件增加:<bean class="org.springframework.web.servlet.mvc.an...
2019-11-22 15:50:01
1026
原创 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sateState':
十一月 22, 2019 10:50:18 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:de...
2019-11-22 14:25:59
249
原创 Uncaught TypeError: $(...).ajaxSubmit is not a function
toActivemqSender:180 Uncaught TypeError: $(...).ajaxSubmit is not a function at virtualUpload (toActivemqSender:180) at Object.success (toActivemqSender:124) at u (jquery.min.js:2) at ...
2019-11-20 17:28:04
1499
原创 java.lang.ClassNotFoundException: net.sf.json.JSONObject
https://blog.youkuaiyun.com/wochunyang/article/details/51352187
2019-11-20 11:34:10
526
原创 XML文件报错:Multiple annotations found at this line:
Multiple annotations found at this line: - Referenced file contains errors (http://www.springframework.org/schema/context/spring-context.xsd). For more information, right click on the message in t...
2019-11-18 11:33:47
1479
1
原创 MySQL之2003-Can't connect to MySQL server on ' '(10038)的解决办法
MySQL之2003-Can’t connect to MySQL server on ‘’(10038)的解决办法第一步:检查对应服务器上的mysql服务有没有打开第二步:如果打开了仍然报这个错误,进一步在将3306端口对外开放参考:https://blog.youkuaiyun.com/qq_41140741/article/details/81395111https://jingyan.ba...
2019-11-13 14:56:04
2105
原创 Multiple annotations found at this line: cvc-complex-type.2.4.c- schema_reference.4
重新导入一个dubbo项目报错cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'.Multiple annotations found at this line: - cvc-complex-type....
2019-11-13 14:28:31
590
转载 ORA-28001: the password has expired解决办法
转自:https://blog.youkuaiyun.com/zdw_wym/article/details/38066745https://blog.youkuaiyun.com/beautifull001/article/details/85774178Oracle提示错误消息 ORA-28001: the password has expired,是由于Oracle11G的新特性所致,Oracle11G创建用...
2019-11-05 15:06:14
290
原创 ERR_ABORTED 404 not found
jsp页面引用jquery的js、css文件出现问题:get url net:: ERR_ABORTED 404 not found这个问题是由于springMVC的静态资源拦截器没有配置导致的,解决方案:在配置文件中增加:<mvc:resources location="/r/" mapping="/r/**" /> <mvc:annotation-drive...
2019-11-04 16:57:19
1025
原创 怎么解决
java.lang.NoSuchMethodError: org.springframework.util.Assert.notNull(Ljava/lang/Object;Ljava/util/function/Supplier;)V at org.springframework.test.context.support.ContextLoaderUtils.resolveContextCo...
2019-10-29 14:41:51
490
原创 Exception in thread "dag-scheduler-event-loop" java.lang.OutOfMemoryError: Java heap space
Exception in thread "dag-scheduler-event-loop" java.lang.OutOfMemoryError: Java heap space at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57) at java.nio.ByteBuffer.allocate(ByteBuffer....
2019-03-27 19:58:38
3566
7
转载 spark 应用程序性能优化:12 个优化方法
http://litaotao.github.io/boost-spark-application-performance?utm_source=tuicool&utm_medium=referral
2019-02-25 09:13:51
264
转载 并行计算与分布式计算区别与联系
参考转载http://blog.youkuaiyun.com/wm_1991/article/details/50257269https://blog.youkuaiyun.com/BtB5e6Nsu1g511Eg5XEg/article/details/82976864并行计算(Parallel Computing)并行计算或称平行计算是相对于串行计算来说的。并行计算(Parallel Computing)...
2019-02-23 09:27:11
4310
原创 error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: RPC failed; curl 18 transfer closed with outstanding read data remainingfatal: The remote end hung up unexpectedlyfatal: early EOFfatal: index-pack failed说明pull的文件过大,需要增大缓存执行以下操作:git conf...
2019-02-22 16:09:14
5662
原创 Py4JJavaError: An error occurred while calling o22.trainKMeansModel.
hduser@master:~$ spark-submit --driver-memory 512m --master local[4] pythonwork/mllib/k_means_example.pyPy4JJavaErrorTraceback (most recent call last)/home/hduser/pythonwork/mllib/k_means_example.p...
2019-02-21 16:59:52
8496
6
原创 copyFromLocal: unexpected URISyntaxException
copyFromLocal: unexpected URISyntaxException
2019-01-16 10:15:43
1254
转载 np.power(x1,x2)
power(x1, x2, /, out=None, *, where=True, casting=‘same_kind’, order=‘K’, dtype=None, subok=True[, signature, extobj])First array elements raised to powers from second array, element-wise.Raise ea...
2019-01-08 16:35:57
1387
翻译 cdist计算两组输入的每对之间的距离。
计算两组输入的每对之间的距离。以下是常见的调用约定:1.``Y = cdist(XA,XB,'euclidean')`` 计算:math:`m`之间的距离 欧几里德距离(2-norm)作为距离度量 点。这些点排列如下:math:`m` :math:矩阵X中的`n`维行向量。2.``Y = cdist(XA,XB,'minkowski',p)`` 使用Min...
2019-01-08 16:31:41
12741
转载 Spark Python
转载 https://www.youkuaiyun.com/article/2015-04-24/2824552https://spark.apache.org/docs/latest/api/python/摘要:对于1个年仅8岁的开源项目来说,其远谈不上尽善尽美,就比如文档相关。本文翻译自Spark Programming Guide,选取了其中使用Python的部分。自开源之日至今,Spark已经5...
2018-12-21 15:29:04
824
转载 NumPy 广播(Broadcast)
转自 菜鸟教程 http://www.runoob.com/numpy/numpy-broadcast.htmlNumPy 广播(Broadcast)广播(Broadcast)是 numpy 对不同形状(shape)的数组进行数值计算的方式, 对数组的算术运算通常在相应的元素上进行。如果两个数组 a 和 b 形状相同,即满足 a.shape == b.shape,那么 a*b 的结果就是 a...
2018-12-20 16:53:45
1569
2
转载 numpy的 solve()
摘自菜鸟教程http://www.runoob.com/numpy/numpy-linear-algebra.htmlNumPy 线性代数NumPy 提供了线性代数函数库 linalg,该库包含了线性代数所需的所有功能,可以看看下面的说明:函数描述dot两个数组的点积,即元素对应相乘。vdot两个向量的点积inner两个数组的内积matmul两个...
2018-12-19 17:14:06
15573
1
转载 NumPy 数组属性
NumPy 数组属性摘自菜鸟教程 http://www.runoob.com/numpy/numpy-array-attributes.html本章节我们将来了解 NumPy 数组的一些基本属性。NumPy 数组的维数称为秩(rank),一维数组的秩为 1,二维数组的秩为 2,以此类推。在 NumPy中,每一个线性的数组称为是一个轴(axis),也就是维度(dimensions)。比如说,...
2018-12-13 13:01:14
711
转载 python inspect
inspect模块主要提供了四种用处:对是否是模块、框架、函数进行类型检查获取源码获取类或者函数的参数信息解析堆栈解析堆栈http://www.cnblogs.com/yaohong/p/8874154.html...
2018-12-03 09:29:16
401
转载 参数方法,半参数方法,非参数方法
https://blog.youkuaiyun.com/u013395544/article/details/53170207 http://bbs.pinggu.org/forum.php?mod=viewthread&amp;tid=2163476&amp;page=1参数方法,假定概率分布,只来估计少量参数。半参数方法,对数据分组,每组采用一种概率分布的假设,最后使用混合概率分布。非参数方...
2018-09-13 17:28:53
12453
1
转载 Broadcast功能
转自 https://www.kancloud.cn/kancloud/spark-internals/45238 顾名思义,broadcast 就是将数据从一个节点发送到其他各个节点上去。这样的场景很多,比如 driver 上有一张表,其他节点上运行的 task 需要 lookup 这张表,那么 driver 可以先把这张表 copy 到这些节点,这样 task 就可以在本地查表了。如何实现...
2018-09-11 10:38:22
947
转载 支持向量机
支持向量机原理(一) 线性支持向量机 支持向量机原理(二) 线性支持向量机的软间隔最大化模型 支持向量机原理(三)线性不可分支持向量机与核函数 支持向量机原理(四)SMO算法原理 支持向量机原理(五)线性支持回归 scikit-learn 支持向量机算法库使用小结 支持向量机高斯核调参小结...
2018-09-10 17:31:04
1487
原创 本机运行结果
18/09/10 08:42:02 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable解析数据Parsing data适应模型Fitting model训练数据traincascade 方法的参...
2018-09-10 09:31:02
277
转载 LabeledPoint(y[i], X[i])
A labeled point is represented by LabeledPoint.Refer to the LabeledPoint Python docs for more details on the API.from pyspark.mllib.linalg import SparseVectorfrom pyspark.mllib.regression import ...
2018-09-10 09:17:29
587
原创 java.net.ConnectException: Connection refused
18/08/31 15:43:41 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable18/08/31 15:43:42 WARN SparkConf: The configuration key '...
2018-08-31 15:50:46
6485
转载 Python yield 使用浅析
摘自菜鸟教程 简单地讲,yield 的作用就是把一个函数变成一个 generator,带有 yield 的函数不再是一个普通函数,Python 解释器会将其视为一个 generator,调用 fab(5) 不会执行 fab 函数,而是返回一个 iterable 对象!在 for 循环执行时,每次循环都会执行 fab 函数内部的代码,执行到 yield b 时,fab 函数就返回一个迭代值,...
2018-08-30 15:22:35
404
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人