FRosner / DataGenerator

Tool for generating various test data for machine learning and data mining algorithms.
Apache License 2.0
10 stars 2 forks source link

Add dialog option for custom categorical distribution #191

Open FRosner opened 10 years ago

FRosner commented 10 years ago

Currently there is only an option for uniform categorial distributions. We should offer a selection for a customized probability vector.

Husterknupp commented 10 years ago

@FRosner Concerning the layout of this dialog / dialog option, what do you think of a table whith an initially fixed number of states (e.g. 10) and the option to add more states? In this way a user can define 10 states without having to click anything more than when he creates a uniform categorical feature.

FRosner commented 10 years ago
  1. How will he be able to define a distribution with 5 states?
  2. Why doesn't he have to click less? He has to define 10 probabilities then and there is no away around this.

Maybe I don't get your point. Can you sketch your idea somehow?

Husterknupp commented 10 years ago
  1. A user only has to define as many states as he wants to define. If the feature does not have a sixth state he just leaves the cell empty.
  2. He has to click less because he does not have to specify how many states he wants to define before actually defining them.

If he wants more than ten he has to do a click and might get ten new cells below or beside the first ten.

unbenannt

FRosner commented 10 years ago

@Bantolomeus what do you think?

Bantolomeus commented 10 years ago

@Husterknupp I like your idea. But I see a problem if there are to many states. 10 states looks totally fine. But 30 or more would take a lot of space.

My intuition says: Maybe a scrollbar from the begin with wouldn´t be bad. On the other side, I like how it looks with the 10 States.

@FRosner do you have another solution?

Husterknupp commented 10 years ago

@Bantolomeus I can see your point. But I don't know how this dialog will be used.

@FRosner do you have any idea how colleagues at your company would use this? (1) How many states would they prefer to have right from the beginning? Or (2) would be totally fine to define the number of states before defining the states?

FRosner commented 10 years ago

I like the idea of having some kind of "+" button to add more states, @Husterknupp. I don't know if 10 is the right amount but that should be easily adjustable.

The space problem would be easily avoided by having some sort of table structure with a scroll bar (like @Bantolomeus said). I don't know if the scroll bar should be visible or not (it is not that important right now, is it?).

As we have no UI design guy and I am tired of this, I'll let you guys decide and implement it. Ok?

Husterknupp commented 10 years ago

@FRosner Yah, that's fine! I will assign this ticket to me.