I'm trying to use scala implementation of IForest https://github.com/titicaca/spark-iforest, but when i build (like reported in README with mvn clean package), it give me these errors:
[ERROR] IsolationForest_Spark/spark-iforest/src/main/scala/org/apache/spark/ml/iforest/IForest.scala:290:
error: value getAndSetParams is not a member of object org.apache.spark.ml.util.DefaultParamsReader
[ERROR] DefaultParamsReader.getAndSetParams(model, metadata)
[ERROR] ^
[ERROR] IsolationForest_Spark/spark-iforest/src/main/scala/org/apache/spark/ml/iforest/IForest.scala:480:
error: value create is not a member of object org.apache.spark.ml.util.Instrumentation
[ERROR] val instr = Instrumentation.create(this, rddPerTree)
Does someone knows why? Thank you
scala version 2.11.12
spark version 2.4.0
maven version 3.5.2
I modified pom.xml adjusting version of scala, spark and maven, but I leave the same dependencies.