类 XGBoostModel extends Serializable
线性超类
排序方式
- 字母顺序
- 按继承关系
继承的
- XGBoostModel
- Serializable
- AnyRef
- Any
- 隐藏全部
- 显示全部
可见性
- 公有
- 全部
实例构造函数
- new XGBoostModel(booster: Booster)
值成员
-
final def !=(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
final def ##(): Int
- 定义类
- AnyRef → Any
-
final def ==(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
final def asInstanceOf[T0]: T0
- 定义类
- Any
-
def clone(): AnyRef
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()
-
final def eq(arg0: AnyRef): Boolean
- 定义类
- AnyRef
-
def equals(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
def finalize(): Unit
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( classOf[java.lang.Throwable] )
-
final def getClass(): Class[_]
- 定义类
- AnyRef → Any
- 注解
- @native()
-
def hashCode(): Int
- 定义类
- AnyRef → Any
- 注解
- @native()
-
final def isInstanceOf[T0]: Boolean
- 定义类
- Any
-
final def ne(arg0: AnyRef): Boolean
- 定义类
- AnyRef
-
final def notify(): Unit
- 定义类
- AnyRef
- 注解
- @native()
-
final def notifyAll(): Unit
- 定义类
- AnyRef
- 注解
- @native()
-
def predict(data: DataSet[Vector]): DataSet[Array[Float]]
预测给定的向量数据集。
预测给定的向量数据集。
- data
要预测的数据集。
- 返回
预测结果。
-
def predict(testSet: DMatrix): Array[Array[Float]]
使用给定的 DMatrix 进行预测
使用给定的 DMatrix 进行预测
- testSet
表示为 DMatrix 的本地测试集
- 返回
预测结果
-
def saveModelAsHadoopFile(modelPath: String, format: String): Unit
将模型保存为 Hadoop 文件系统文件。
将模型保存为 Hadoop 文件系统文件。
- modelPath
模型路径,采用 Hadoop 路径格式。
- format
模型格式 (ubj, json, deprecated)
- 抛出的异常
IOException
保存错误XGBoostError
内部错误
-
def saveModelAsHadoopFile(modelPath: String): Unit
将模型保存为 Hadoop 文件系统文件。
将模型保存为 Hadoop 文件系统文件。
- modelPath
模型路径,采用 Hadoop 路径格式。
-
final def synchronized[T0](arg0: ⇒ T0): T0
- 定义类
- AnyRef
- def toByteArray(format: String): Array[Byte]
-
def toString(): String
- 定义类
- AnyRef → Any
-
final def wait(): Unit
- 定义类
- AnyRef
- 注解
- @throws( ... )
-
final def wait(arg0: Long, arg1: Int): Unit
- 定义类
- AnyRef
- 注解
- @throws( ... )
-
final def wait(arg0: Long): Unit
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()