Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-07 Thread CD Athuraliya
Attaching created JIRA [1]. [1] https://wso2.org/jira/browse/ML-15 On Thu, May 7, 2015 at 10:00 AM, Nirmal Fernando nir...@wso2.com wrote: Ok, got it! Thanks :-) We'll add an option then. On Thu, May 7, 2015 at 9:52 AM, Upul Bandara u...@wso2.com wrote: I'm sorry my bad! We have to tell,

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
On Thu, May 7, 2015 at 9:23 AM, Upul Bandara u...@wso2.com wrote: Iris dataset is a bit old one. Nowadays, most of the datasets come with a header row. +1 adding a helper line in UI. But if header is missing, can't we add a set of dummy feature names ( such as F1, F2, and etc. ) and

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
It seems this is the first row of the dataset, with an X if a value is a number :-) On Thu, May 7, 2015 at 9:41 AM, Upul Bandara u...@wso2.com wrote: I think asking is a valid option. Some tools automatically detect header. Ex: R [image: Inline image 2] Sometimes, they might check the

[Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
Hi All, Currently, ML expects first row of a dataset to be the header row. How should we enforce this? We can't do a validation here AFAIU, but we could add a helper line in UI, mentioning that we expect the first row to be the header row. Wdyt? -- Thanks regards, Nirmal Associate Technical

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Upul Bandara
Iris dataset is a bit old one. Nowadays, most of the datasets come with a header row. +1 adding a helper line in UI. But if header is missing, can't we add a set of dummy feature names ( such as F1, F2, and etc. ) and continue the model building process ? On Thu, May 7, 2015 at 9:15 AM,

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Supun Sethunga
We have to ask from the user, giving them an option to select. :) On Thu, May 7, 2015 at 9:27 AM, Nirmal Fernando nir...@wso2.com wrote: On Thu, May 7, 2015 at 9:23 AM, Upul Bandara u...@wso2.com wrote: Iris dataset is a bit old one. Nowadays, most of the datasets come with a header row.

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Supun Sethunga
+1 for adding a helper. Think its also the general standard to have the first row as the header in datasets. On Thu, May 7, 2015 at 8:47 AM, Nirmal Fernando nir...@wso2.com wrote: Hi All, Currently, ML expects first row of a dataset to be the header row. How should we enforce this? We can't

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
On Thu, May 7, 2015 at 9:38 AM, CD Athuraliya chathur...@wso2.com wrote: I think it's good to give an option to select and show them a preview of dummy feature names with a sample data row. It will help them in selecting response variable and other variables in explore view. +1 for next

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread CD Athuraliya
I think it's good to give an option to select and show them a preview of dummy feature names with a sample data row. It will help them in selecting response variable and other variables in explore view. +1 for adding a helper for this release. On Thu, May 7, 2015 at 9:31 AM, Supun Sethunga

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Upul Bandara
I think asking is a valid option. Some tools automatically detect header. Ex: R [image: Inline image 2] Sometimes, they might check the ration between string an numbers in the first line. If we looking at the code related to read.csv we can get an idea On Thu, May 7, 2015 at 9:34 AM, Nirmal

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
Popular Iris dataset doesn't seem to have it. On Thu, May 7, 2015 at 9:13 AM, Supun Sethunga sup...@wso2.com wrote: +1 for adding a helper. Think its also the general standard to have the first row as the header in datasets. On Thu, May 7, 2015 at 8:47 AM, Nirmal Fernando nir...@wso2.com

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
hmm.. another option :-) I think we can stick to the helper line. On Thu, May 7, 2015 at 9:31 AM, Supun Sethunga sup...@wso2.com wrote: We have to ask from the user, giving them an option to select. :) On Thu, May 7, 2015 at 9:27 AM, Nirmal Fernando nir...@wso2.com wrote: On Thu, May 7,

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Nirmal Fernando
Ok, got it! Thanks :-) We'll add an option then. On Thu, May 7, 2015 at 9:52 AM, Upul Bandara u...@wso2.com wrote: I'm sorry my bad! We have to tell, the header is missing. [image: Inline image 1] On Thu, May 7, 2015 at 9:44 AM, Nirmal Fernando nir...@wso2.com wrote: It seems this is

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-06 Thread Upul Bandara
I'm sorry my bad! We have to tell, the header is missing. [image: Inline image 1] On Thu, May 7, 2015 at 9:44 AM, Nirmal Fernando nir...@wso2.com wrote: It seems this is the first row of the dataset, with an X if a value is a number :-) On Thu, May 7, 2015 at 9:41 AM, Upul Bandara