Angel - MemoryDataBlock - angel.task.estimize.sample.number

Posted suanec

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Angel - MemoryDataBlock - angel.task.estimize.sample.number相关的知识,希望对你有一定的参考价值。

angel.task.estimize.sample.number

val validData = new MemoryDataBlock[LabeledData](isVali)
trainData.resetReadIndex()
try {
  val validSample = (0 until isVali).map(i => validData.put(trainData.read()))
  validData.flush()
} catch {
  case e: Exception =>
    throw new AngelException("Create validData found Error.", e);
} finally {
  validData.clean()
}
  • in

val validData = new MemoryDataBlock[LabeledData](isVali)

there has a angel config parameter to set the size of vList as a ArrayList

this.estimateSampleNumber = conf.getInt("angel.task.estimize.sample.number", 100);

以上是关于Angel - MemoryDataBlock - angel.task.estimize.sample.number的主要内容,如果未能解决你的问题,请参考以下文章

sona:Spark on Angel任务启动流程分析

sona:Spark on Angel任务启动流程分析

Angel工作室ASP.NET(AngelExam)开源驾校考试系统正式发布

sona: Spark on Angel部署教程

sona: Spark on Angel部署教程

罗赖马山(Mount Roraima)+天使瀑布(Angel Fall)