Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RWeka != farff when a feature contains only FALSE #32

Closed
giuseppec opened this issue Feb 3, 2017 · 1 comment
Closed

RWeka != farff when a feature contains only FALSE #32

giuseppec opened this issue Feb 3, 2017 · 1 comment

Comments

@giuseppec
Copy link
Collaborator

Suppose this is my data:

@relation R_data_frame

@attribute V1 {FALSE}
@attribute V2 {FALSE,TRUE}

@data
FALSE,TRUE
FALSE,FALSE

Reading this data with RWeka gives me:

'data.frame':	2 obs. of  2 variables:
 $ V1: logi  FALSE FALSE
 $ V2: logi  TRUE FALSE

while farff does not recognize the first feature as logical but as a Factor:

'data.frame':	2 obs. of  2 variables:
 $ V1: Factor w/ 1 level "FALSE": 1 1
 $ V2: logi  TRUE FALSE
berndbischl added a commit that referenced this issue Feb 3, 2017
Address Issue #32: parse single logical value properly
@berndbischl
Copy link
Member

merged in #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants