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

H2O Flow cannot plot data that has more than 20 columns #163

Closed
YMorisawa opened this issue Dec 26, 2016 · 3 comments
Closed

H2O Flow cannot plot data that has more than 20 columns #163

YMorisawa opened this issue Dec 26, 2016 · 3 comments

Comments

@YMorisawa
Copy link

Platform : MapR 5.1
Package : http://h2o-release.s3.amazonaws.com/h2o/rel-tutte/1/h2o-3.10.2.1-mapr5.1.zip

Hi. I'm sorry for writing here , but I cannot find the issue page of H2O flow.
I met a trouble with H2O Flow, Web UI.

When I use a following plot function, if I select a 21th or later column, occurs an error.

plot (g) -> g(
g.point(
g.position "column1","column21"
)
g.from inspect "data", getFrame frame
)

Error evaluating cell
Error rendering vis.
Vector [column21] does not exist in frame [data]

I tried various combinations and found that 1st to 20th columns could be plotted, but 21th ~ columns could not.
Is there any solution to this problem?

@mdymczyk
Copy link
Contributor

@YMorisawa how many columns does the frame you are working with contain? Could you share a sample dataset?

@YMorisawa
Copy link
Author

@mdymczyk Thank you for replying. The data contains 39 columns and the sample is very simple;

test.csv
column1,column2,...column39
1,2,3,...39

@mdymczyk
Copy link
Contributor

mdymczyk commented Dec 27, 2016

@YMorisawa right, the plot function in Flow does not take column names, you can only use one of our predefined values: label, type, Missing, Zeroes, +Inf, -Inf, min, max, mean, sigmna, cardinality, Actions.

For example:

plot (g) -> g(
  g.point(
  g.position "label","Missing"
)
  g.from inspect "columns", getFrame "Key_Frame__test.hex"
)

Would graph a plot based using Key_Frame__test.hex Frame, where the X axis would plot all the labels (column names column1,column2,...,column39) and the Y axis would show how many missing values are in each column.

For future reference - I think it's easier to use the plot function using the point and click FlowUI interface instead of writing it by hand.

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