Other APIs
getVersionInfo API
- Input and output
- Package name: package com.huawei.bigdata.algorithms.optim
- Class name: MlVersionInfo
- Method name: getVersionInfo
- Use either of the following methods to obtain the version information about the library of a machine learning algorithm:
- Run the following command to query the version information about the library of a machine learning algorithm:
java -jar boostkit-ml-kernel-2.11-2.2.0-spark2.3.2-aarch64.jar --version
The following information is displayed:Kunpeng BoostKit boostkit-ml-kernel-2.11 2.2.0
- Call the applicable API to query the version information about the library of a machine learning algorithm:Example
1 2 3 4 5 6 7 8
import com.huawei.bigdata.algorithms.optim.MlVersionInfo; public class ForTest { public static void main(String[] args) { String mlVersionInfo = MlVersionInfo.getVersionInfo(); System.out.println(mlVersionInfo); } }
Result1Kunpeng BoostKit boostkit-ml-kernel-2.11 2.2.0
- Run the following command to query the version information about the library of a machine learning algorithm:
Parent topic: Algorithm APIs