if (!fs.exists(meanVectorFile.get())) {
throw new FileNotFoundException(meanVectorFile.get().toString());
}
DataInputStream in = fs.open(meanVectorFile.get());
try {
meanVector.readFields(in);
} finally {
Closeables.closeQuietly(in);
}
this.meanVector = meanVector.get();
Preconditions.checkArgument(this.meanVector != null, "meanVector not initialized");