Ok, got it! Thanks :-) We'll add an option then.

On Thu, May 7, 2015 at 9:52 AM, Upul Bandara <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>>
>>> 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 Fernando <[email protected]> wrote:
>>>
>>>> hmm.. another option :-) I think we can stick to the helper line.
>>>>
>>>> On Thu, May 7, 2015 at 9:31 AM, Supun Sethunga <[email protected]> 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 <[email protected]>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> On Thu, May 7, 2015 at 9:23 AM, Upul Bandara <[email protected]> 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 continue the model building process ?
>>>>>>>
>>>>>>
>>>>>> How can we detect that the header row is missing?
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, May 7, 2015 at 9:15 AM, Nirmal Fernando <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Popular Iris dataset doesn't seem to have it.
>>>>>>>>
>>>>>>>> On Thu, May 7, 2015 at 9:13 AM, Supun Sethunga <[email protected]>
>>>>>>>> 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 <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> 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 Lead - Data Technologies Team, WSO2 Inc.
>>>>>>>>>> Mobile: +94715779733
>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Supun Sethunga*
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2, Inc.
>>>>>>>>> http://wso2.com/
>>>>>>>>> lean | enterprise | middleware
>>>>>>>>> Mobile : +94 716546324
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Thanks & regards,
>>>>>>>> Nirmal
>>>>>>>>
>>>>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>>>>>> Mobile: +94715779733
>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Upul Bandara,
>>>>>>> Associate Technical Lead, WSO2, Inc.,
>>>>>>> Mob: +94 715 468 345.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Thanks & regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>>>> Mobile: +94715779733
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Supun Sethunga*
>>>>> Software Engineer
>>>>> WSO2, Inc.
>>>>> http://wso2.com/
>>>>> lean | enterprise | middleware
>>>>> Mobile : +94 716546324
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & regards,
>>>> Nirmal
>>>>
>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>> Mobile: +94715779733
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Upul Bandara,
>>> Associate Technical Lead, WSO2, Inc.,
>>> Mob: +94 715 468 345.
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345.
>



-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to