Formula language notebook requires updation
Opened this issue · 15 comments
"AgeuponOutcome(Weeks)" causes an error because with brackets the column name become invalid. Need to update dataframe column name. Its easy to fix. Just noting this issue down so I don't forget it.
Hi @lokeshh,
I would like to fix this but would need some guidance, if you can help.
Thanks.
Good. You can get started by setting up iRuby notebook. If you face any problem let me know.
I have done the setup of Ruby kernel in Jupyter Notebook. What's next to be done?
Could you verify if notebooks in sciruby-notebooks/Data Analysis/Categorical Data/examples are working as expected?
Yup, they are working fine.
Now rename the column AgeuponOutcome(Weeks) to AgeuponOutcome or something else which does use parenthesis.
I once changed AgeuponOutcome(Weeks) to AgeuponOutcome and then to Ageupon(Outcome) . In both the cases it worked the same as it was working before.
@snpd25 Could you try with latest code from statsample-glm master branch and see if it still works? To install a gem from git repository you can use this https://github.com/rdp/specific_install
I feel that I am not doing exactly what is required, I installed the statsample-glm gem and then checked the example [Example] Formula language in Statsample-GLM.ipynb with the same changes, and it was working the same as before. Am I missing something?
@SNP25 I ran the latest code of statsample-glm against latest code of daru and getting the error as expected. Maybe you should remove all versions of daru and statsample-glm and then install their latest versions from git.
Firstly you should get an error in cell 17 (without making any changes in notebook) to verify that you are using the latest daru and statsample. By latest I don't mean latest release but the latest gem from repository master branch.
Once you have done that, then you should try to fix that error. The error can be fixed by simply renaming the column name and reflecting that name in cell 17.

