WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS

apache-spark
#1

I am trying to use the Correlation function in Spark ML.I’m using pearson correlation method
when i’m using the pearson method as default i’m getting the Warning message, can you please help.

import org.apache.spark.mllib.linalg._
import org.apache.spark.mllib.stat.Statistics
import org.apache.spark.rdd.RDD
val seriesX: RDD[Double] = sc.parallelize(Array(1,2,3,4,5))
val seriesY : RDD[Double] = sc.parallelize(Array(11,22,33,33,555))
val correlation:Double = Statistics.corr(seriesX,seriesY,“pearson”)
Here i’m getting the Warning message

scala> val correlation:Double = Statistics.corr(seriesX,seriesY,“pearson”)
19/06/09 07:55:23 WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS
19/06/09 07:55:23 WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeRefBLAS
correlation: Double = 0.7322359132114864

0 Likes