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

Detecting and dealing with Categorical Data #36

Open
NandanaSengupta opened this issue Aug 12, 2015 · 0 comments
Open

Detecting and dealing with Categorical Data #36

NandanaSengupta opened this issue Aug 12, 2015 · 0 comments

Comments

@NandanaSengupta
Copy link
Collaborator

ISSUE 1:
Currently when running
glrm, labels = GLRM(df, k)
on a dataset 'df' which has categorical variables, the GLRM is run ignoring these variables. The only way to figure out that this is happening from the User's end is checking length(labels).

DESIRED BEHAVIOR:
A warning message informing the user that variables in df are being ignored and suggesting the use of the expand_categoricals( ) function.

ISSUE 2:
Currently when running
df2 = expand_categoricals(df, v)
where df is a DataFrame and v is a vector with column indices, the command returns a Match error. It runs only after I run
v = convert(Array, v)

DESIRED BEHAVIOR:
Automatically converting the column indices vector to Array/ accepting vectors into the expand_categoricals( ) function.

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

1 participant