def METHOD_NAME():
    splitter = transform.InstanceSplitter(
        target_field=FieldName.TARGET,
        is_pad_field=FieldName.IS_PAD,
        start_field=FieldName.START,
        forecast_start_field=FieldName.FORECAST_START,
        instance_sampler=transform.ExpectedNumInstanceSampler(num_instances=4),
        past_length=100,
        future_length=10,
        time_series_fields=["dynamic_feat", "observed_values"],
    )
    splitter2 = clone(
        splitter,
        {
            "instance_sampler": transform.ExpectedNumInstanceSampler(
                num_instances=5
            )
        },
    )
    assert equals(splitter, clone(splitter))
    assert not equals(splitter, splitter2)