我要评分
获取效率
正确性
完整性
易理解

Other APIs

getVersionInfo API

  • Function description

    Query the library version of a machine learning algorithm.

  • Input and output
    1. Package name: package com.huawei.bigdata.algorithms.optim
    2. Class name: MlVersionInfo
    3. Method name: getVersionInfo
    4. 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);
            }
        }
        
        Result
        1
        Kunpeng BoostKit boostkit-ml-kernel-2.11 2.2.0