Search code examples
javamavenignite

Evaluator class import are not getting in ignite-ml dependency?


I have added the Ignite-ml dependency in my maven project and then tried to access some classes, such as in the example:

https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/ml/tutorial/Step_1_Read_and_Learn.java

However the package org.apache.ignite.ml.selection.scoring.evaluaton is not present in Ignite-ml dependency.

Used Dependency:

<dependency>
    <groupId>org.apache.ignite</groupId>
    <artifactId>ignite-ml</artifactId>
    <version>2.6</version>
</dependency>

Solution

  • Evaluator class was added recently under the following ticket: IGNITE-8669. It hasn't been released yet. It will be included into Ignite 2.7

    If you need it right now, you can use a nightly build: https://ignite.apache.org/download.cgi#nightly-builds

    UPD:

    Also you used version 2.6 in your pom.xml, but actually it should be 2.6.0