@Override
	public Instance generateInstance() {
		double[] x = new double[m+n];
		double[] y = new double[m];
		for (int i = 0; i < m+n; i++) {
			double v = r.nextDouble();
			if (p && r.nextBoolean())
				v = -v;
			if (i < m)
				x[i] = y[i] = yr * v;
			else
				x[i] = xr * v;
		}
		return new Instance(x,y);
	}