Can we just get rid of the precision field altogether and use raw values? I
think it is un intuitive to ask a user to do that.

On 18 May 2014, at 09:25, Richard Townsend <notifications@github.com> wrote:

In base/decompose_test.go:

> @@ -0,0 +1,33 @@
> +package base
> +
> +import "testing"
> +
> +func TestDecomp(testEnv *testing.T) {
> +	inst, err := ParseCSVToInstances("../examples/datasets/iris_binned.csv", true)
> +	if err != nil {
> +		testEnv.Error(err)
> +		return
> +	}
> +	decomp := inst.DecomposeOnAttributeValues(inst.GetAttr(0))

It is correct, you should be able to bump up the Precision field on the
FloatAttribute and get a finer-grained decomposition.

—
Reply to this email directly or view it on
GitHub<https://github.com/sjwhitworth/golearn/pull/27/files#r12772679>
.