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

[SW-2567] Fix CoxPH docs example for Scala and Python #2531

Merged
merged 3 commits into from Jun 3, 2021

Commits on May 29, 2021

  1. Create sw_coxph.rst

    Current example fails for 
    ```
    org.apache.spark.sql.AnalysisException: cannot resolve '`label`' given input columns: [start, transplant, stop, age, event, year, id, surgery];;
    'Project [start#2305, stop#2306, event#2307, age#2308, year#2309, surgery#2310, transplant#2311, id#2312, 'label]
    +- Relation[start#2305,stop#2306,event#2307,age#2308,year#2309,surgery#2310,transplant#2311,id#2312] csv
    ```
    neema-m committed May 29, 2021
    Configuration menu
    Copy the full SHA
    85b0bdc View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. Configuration menu
    Copy the full SHA
    5982487 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. Updated example with split of heart.csv & corrected scala formatting

    Updated frames with a split of heart.csv to train/test 
    & corrected scala formatting to work in cli/jupyter notebook
    
    Note that heart.csv is SW smalldata folder is the same as the heart.csv example as H2O 3 (http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/coxph.html#examples)
    neema-m committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    b810b4e View commit details
    Browse the repository at this point in the history