public void set(double[] weightArray) {
		int numrows = weightArray.length;
		if (numrows != getSize()) {
			throw new NumberFormatException("Not enough values in double array");
		}
		scale = weightArray[numrows - 2];
		addend = weightArray[numrows - 1];
		weightnorm = weightArray[numrows - 7] / scale;
		probflip0 = weightArray[numrows - 6];
		probflip1 = weightArray[numrows - 5];
		probdiff0 = weightArray[numrows - 4];
		probdiff1 = weightArray[numrows - 3];
		double sqrtScale = Math.sqrt(scale);
		for (int i = 0; i < idfweight.length; ++i) {
			idfweight[i] = weightArray[i] * sqrtScale;
		}
		for (int i = 0; i < tfweight.length; ++i) {
			tfweight[i] = weightArray[i + idfweight.length];
		}
		updateNorms();
	}
Initialize the WeightTable from an array of doubles
@param weightArray
Ghidra/Framework/Generic/src/main/java/generic/lsh/vector/WeightFactory.java