码迷,mamicode.com
首页 >  
搜索关键字:spark test case    ( 50775个结果
《机器学习Python实现_10_10_集成学习_xgboost_原理介绍及回归树的简单实现》
一.简介 xgboost在集成学习中占有重要的一席之位,通常在各大竞赛中作为杀器使用,同时它在工业落地上也很方便,目前针对大数据领域也有各种分布式实现版本,比如xgboost4j-spark,xgboost4j-flink等。xgboost的基础也是gbm,即梯度提升模型,它在此基础上做了进一步优化 ...
分类:编程语言   时间:2021-07-05 19:03:36    阅读次数:0
k8s资源sidecar
sidecar 模式 共享 网络 mount utc 不共享 ipc pid user apiVersion: v1 kind: Pod metadata: name: test-sidecar namespace: default spec: hostname: test-sidecar # 主机 ...
分类:其他好文   时间:2021-07-05 18:17:37    阅读次数:0
Test Blog Use
Test I get 10 times more traffic from [Google] [1] than from [Yahoo] [2] or [MSN] [3]. ? [1]: http://google.com/ "Google" [2]: http://search.yahoo.com ...
分类:其他好文   时间:2021-07-05 18:14:09    阅读次数:0
分享两个在开发中需注意的小点
不要使用 + 和 fmt.Sprintf 操作字符串 不要使用 + 和 fmt.Sprintf 操作字符串,虽然很方便,但是真的很慢! 我们要使用 bytes.NewBufferString 进行处理。 基准测试如下: + func BenchmarkStringOperation1(b *test ...
分类:其他好文   时间:2021-07-05 18:05:25    阅读次数:0
[源码解析] 深度学习分布式训练框架 horovod (9) --- 启动 on spark
Horovod 是Uber于2017年发布的一个易于使用的高性能的分布式训练框架,在业界得到了广泛应用。本文是系列第九篇,介绍 horovod on spark 如何启动。 ...
分类:其他好文   时间:2021-07-05 17:30:40    阅读次数:0
修改tmux背景色
https://www.it1352.com/1873377.html #!/bin/sh if [ -n "$TMUX" ]; then case "$1" in prod_*) tmux selectp -P bg=red ;; esac fi ssh "$@" tmux selectp -P ...
分类:其他好文   时间:2021-07-05 17:23:38    阅读次数:0
计算时间天数
@Test public void testTime() { var d1 = LocalDate.of(2021,1,1); var d2 = LocalDate.of(2021,7,2); Period p = Period.between(d1, d2); System.out.println ...
分类:其他好文   时间:2021-07-02 16:38:05    阅读次数:0
Spark分析sogou日志, RDD
import com.hankcs.hanlp.HanLPimport org.apache.spark.rdd.RDDimport org.apache.spark.{SparkConf, SparkContext}import scala.collection.immutable.StringO ...
分类:其他好文   时间:2021-07-02 16:33:14    阅读次数:0
sparkStreaming
import org.apache.spark.SparkConfimport org.apache.spark.streaming.{Seconds, StreamingContext}// 创建一个本地模式的StreamingContext, 两个工作线程, 1s的批处理间隔//Master要求 ...
分类:其他好文   时间:2021-07-02 16:32:11    阅读次数:0
判断命令是否在PATH环境变量中
1 public static bool IsInPath(string command) 2 { 3 bool isInPath = false; 4 // 判断PATH中是否存在 命令 5 foreach (string test in (Environment.GetEnvironmentVa ...
分类:其他好文   时间:2021-07-02 15:52:09    阅读次数:0
50775条   上一页 1 2 3 4 ... 5078 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!