private void initializeMembershipMatrix(){
  for (int i=0; i < points.size(); i++) {
    for (int j=0; j < k; j++) {
      membershipMatrix[i][j]=random.nextDouble();
    }
    membershipMatrix[i]=MathArrays.normalizeArray(membershipMatrix[i],1.0);
  }
}

private void initializeMembershipMatrix ( ) { for ( int i = 0 ; i < points . size ( ) ; i ++ ) { for ( int j = 0 ; j < k ; j ++ ) { membershipMatrix [ i ] [ j ] = random . nextDouble ( ) ; } membershipMatrix [ i ] = MathArrays . normalizeArray ( membershipMatrix [ i ] , 1.0 ) ; } }
initialize the membership matrix with random values .
