public SequenceMiningParams getSequenceMiningParams() {
		String percentageString = percentageBox.getText();
		double parsedPercentage;
		try {
			parsedPercentage = Double.parseDouble(percentageString);
			Preferences.setProperty(PERCENTAGE_PROPERTY, Double.toString(parsedPercentage));
		}
		catch (NumberFormatException e) {
			parsedPercentage = Double.parseDouble(DEFAULT_PERCENTAGE);
		}

		if (parsedPercentage <= 0.0 || parsedPercentage >= 100.0) {
			parsedPercentage = Double.parseDouble(DEFAULT_PERCENTAGE);
		}

		String minFixedBitsString = minFixedBitsBox.getText();
		int parsedMinFixedBits;
		try {
			parsedMinFixedBits = Integer.parseInt(minFixedBitsString);
			Preferences.setProperty(MIN_FIXED_BITS_PROPERTY, Integer.toString(parsedMinFixedBits));
		}
		catch (NumberFormatException e) {
			parsedMinFixedBits = Integer.parseInt(DEFAULT_MIN_FIXED_BITS);
		}

		if (parsedMinFixedBits < 0) {
			parsedMinFixedBits = Integer.parseInt(DEFAULT_MIN_FIXED_BITS);
		}

		boolean useBinary = false;

		if (bGroup.getSelection().getMnemonic() == BINARY_MNEMONIC) {
			useBinary = true;
			Preferences.setProperty(BINARY_SEQUENCES_PROPERTY, Boolean.toString(true));
		}
		else {
			Preferences.setProperty(BINARY_SEQUENCES_PROPERTY, Boolean.toString(false));
		}
		Preferences.store();
		return new SequenceMiningParams(parsedPercentage / 100.0, parsedMinFixedBits, useBinary);
	}
Get a {@link SequenceMiningParams} object populated with values from the dialog.
@return mining params
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/gui/SequenceMiningParamsInputDialog.java