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 <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 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 <nir...@wso2.com> wrote:
>>
>>> 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, 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 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 <nir...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> 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>
>>>>>>>> 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.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to