diff --git a/src/test/java/org/mastodon/mamut/feature/dimensionalityreduction/tsne/TSneTest.java b/src/test/java/org/mastodon/mamut/feature/dimensionalityreduction/tsne/TSneTest.java index 82901b1e0..81a3a46ef 100644 --- a/src/test/java/org/mastodon/mamut/feature/dimensionalityreduction/tsne/TSneTest.java +++ b/src/test/java/org/mastodon/mamut/feature/dimensionalityreduction/tsne/TSneTest.java @@ -51,10 +51,14 @@ void test() int numCluster1 = 50; int numCluster2 = 100; double[][] inputData = RandomDataTools.generateSampleData( numCluster1, numCluster2 ); + for ( int i = 0; i < inputData.length; i++ ) + { + logger.debug( "inputData[{}]: {}, {}", i, inputData[ i ][ 0 ], inputData[ i ][ 1 ] ); + } logger.debug( "dimensions rows: {}, columns:{}", inputData.length, inputData[ 0 ].length ); final Random random = new Random( 42 ); - System.out.println( "random 42 next Double: " + random.nextDouble() ); + // Recommendations for t-SNE defaults: https://scikit-learn.org/stable/modules/generated/sklearn.manifold.TSNE.html double perplexity = 30d; // recommended value is between 5 and 50