public void calculateValue() {
		HashMap<Integer, Double> featuresVector = getVector();
		value = 0;
		for (int key : featuresVector.keySet()) {
			value += Math.pow(featuresVector.get(key), 2);
		}
		value = Math.sqrt(value);
	}