protected double getWeight(Consts.ActionType type) {
		double weight = 0;
		
		switch (type) {
		case CLICK:
			weight = 777.0 / 10239.0;
			break;
		case BUY:
			weight = 1.0;
			break;
		case FAVOURITE:
			weight = 86.0 / 819.0;
			break;
		case ADD2CART:
			weight = 13.0 / 125.0;
		default:
			break;
		}
		
		return weight;
	}