<commit_before>package ch.epfl.ivrl.photopicker.imageGrouping;

import android.util.Log;

import org.ejml.data.Matrix;

import java.util.List;

import ch.epfl.ivrl.photopicker.imageData.Photograph;
import ch.epfl.ivrl.photopicker.imageData.Vacation;

/**
 * Created by Sidney on 31.03.2016.
 */
public class ThresholdClustering implements ImageClusteringTechnique {
    /**
     * @param photos                 The list of photographs to cluster among different scenes
     * @param pairwiseDistanceMatrix the matrix giving how far a is from b, a from c, b from c, etc.
     * @return A Vacation consisting of different scenes, all having at least one photograph
     */
    @Override
    public Vacation clusterPhotographs(List<Photograph> photos, Matrix pairwiseDistanceMatrix) {
        Vacation ret = null;

        Log.d("Clustering", pairwiseDistanceMatrix.toString());

        return ret;
    }
}<commit_msg>Corrects implementation according to new interface<commit_after>package ch.epfl.ivrl.photopicker.imageGrouping;

import android.util.Log;

import org.ejml.data.DenseMatrix32F;
import org.ejml.data.Matrix;

import java.util.List;

import ch.epfl.ivrl.photopicker.imageData.Photograph;
import ch.epfl.ivrl.photopicker.imageData.Vacation;

/**
 * Created by Sidney on 31.03.2016.
 */
public class ThresholdClustering implements ImageClusteringTechnique {

    /**
     * @param photos                 The list of photographs to cluster among different scenes
     * @param pairwiseDistanceMatrix the matrix giving how far a is from b, a from c, b from c, etc.
     * @return A Vacation consisting of different scenes, all having at least one photograph
     */
    @Override
    public Vacation clusterPhotographs(List<Photograph> photos, DenseMatrix32F pairwiseDistanceMatrix) {
        Vacation ret = null;

        Log.d("Clustering", pairwiseDistanceMatrix.toString());

        return ret;
    }
}
{'fraction_non_alphanumeric': 0.0835509138381201, 'fraction_numerical': 0.010443864229765013, 'mean_word_length': 3.518867924528302, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7253197', 'n_tokens_mistral': 594, 'n_tokens_neox': 538, 'n_words': 163}