anchor.diff:  
   
   
  -deftask gen_data( data( File ) state0( File ) : N k ) in python *{
  +deftask gen_data( data( File ) : N k ) in python *{
   
   import numpy as np
   import random
  
positive.code: np.save( cls, clusters )
  }*
  
  k = 4;
  N = 800;
  
  X mu0 = gen_data( N: 800, k: 4 );
  
  clusters = cluster_points( data: X, state: mu0 );
  
  clusters;
negative.code:   X.extend(x)
  X = np.array(X)[:N]
  
  data = "data.npy"
  np.save( data, X )
  }*
  
  deftask init_state( state( File ) : data( File ) k ) in python *{
  
  import numpy as np
  import random
  
  X = np.load( data )
  k = int( k )
  
  mu0 = random.sample( X, k )
  
  state = "state.npy"
  np.save( state, mu0 )
  }*
  
  deftask cluster( cls( File ) : data( File ) state( File ) ) in python *{
  
  import numpy as np
  
  