Commit 587f6028 authored by balanche's avatar balanche

Ajout d'un commentaire

parent 4792ecc9
......@@ -172,7 +172,10 @@ public class DistanceModel {
return res;
}
/**
* programme de test des moyennes
* @param args
*/
public static void main(String[] args) {
int NB_OBJECTS = 10;
int SEQUENCE_LENGTH = 5;
......
......@@ -9,6 +9,12 @@ import jcl.data.attribute.Attribute;
* @param <P> Parameters
*/
public interface Average <A extends Attribute, P extends AverageParameter> {
/**
* Generic averaging method
* @param attributesTab the set of attributes
* @param oldCenter the current center (required only for sequential attributes, null for others)
* @param p the averaging parameters (required only for sequential attributes, Empty for others)
* @return the mean attribute
*/
public abstract A mean(Attribute[] attributesTab, A oldCenter, P p);
}
\ No newline at end of file
......@@ -27,7 +27,7 @@ public abstract class LearningParameters implements Serializable {
private Vector<DataObject> samples = null;
protected DistanceModel model = null;
protected DistanceModel model = null;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment