diff --git a/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h b/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h
index 2127439fb7af284361117428e12826e27149b444..700a58eacd3560340853b9d0893a0f64d2a6001c 100644
--- a/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h
+++ b/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h
@@ -129,10 +129,6 @@ public:
   itkGetMacro( Normalized, bool );
   itkSetMacro( Normalized, bool );
 
-  /** If true, normalized input data sample list */
-  itkGetMacro( CentroidFilename, std::string );
-  itkSetMacro( CentroidFilename, std::string );
-
   /** Initialize the centroids for the kmeans algorithm */
   void SetCentroidsFromData(const shark::Data<shark::RealVector> & data)
   {
@@ -167,22 +163,15 @@ private:
   SharkKMeansMachineLearningModel(const Self &) = delete;
   void operator=(const Self &) = delete;
 
-  bool InitializeCentroids();
-  
-
   // Parameters set by the user
   bool m_Normalized;
   unsigned int m_K;
   unsigned int m_MaximumNumberOfIterations;
   bool m_CanRead;
 
-
   /** Centroids results form kMeans */
   shark::Centroids m_Centroids;
 
-  /** Input centroid filename */
-  std::string m_CentroidFilename;
-
   /** shark Model could be SoftClusteringModel or HardClusteringModel */
   boost::shared_ptr<ClusteringModelType> m_ClusteringModel;