h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.92k stars 2k forks source link

Replace code examples with snake_case alisas for old cameCase functions in R #6625

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

We have slowly been adding only snake_case function names in R for many years now. However, much of our documentation (R docs and probably tutorials etc) still uses the camelCase versions.

Let’s modernize our docs, and also decide if we want to official recommend snake_case for the very popular functions like {{h2o.getModel()}}, etc.

Look at {{h2o.get_automl()}} to see examples of how to alias in R. Let’s move all the camelCase functions to a file and make those the alias version.

Let’s consider officially deprecating the camelCase functions (but first more thoroughly discuss the impact of doing this). {{.Deprecated("") is called from deprecated functions. The original help page for these functions is often available at help("oldName-deprecated") (note the quotes). Functions should be listed in help("pkg-deprecated") for an appropriate pkg, including base.}}

h2o-ops commented 1 year ago

JIRA Issue Details

Jira Issue: PUBDEV-8659 Assignee: Tomas Fryda Reporter: Erin LeDell State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A