aggregate 和 treeAggregate 的对比
摘要:1.定义 【aggregate】 /** * Aggregate the elements of each partition, and then the results for all the partitions, using * given combine functions and a neutral "zero value". This f...
阅读全文
posted @
2016-08-11 20:00
在大地画满窗子
阅读(4944)
推荐(0)
通过DeveloperApi获取spark程序执行进度及异常
摘要:在应用spark时,经常要获取任务的执行进度,可以参照jobProgressListener的设计来完成该功能。 以下代码仅供参考,欢迎交流。 效果显示: 代码: 博客记录是个好习惯,计划一下以后几期的博客。 由浅入深,围绕机器学习的主题,来学习介绍。 模型评估与选择 线性模型 决策树 神经网络 支
阅读全文
posted @
2016-07-13 17:20
在大地画满窗子
阅读(2112)
推荐(1)