# Keep Calm and Use vtreat (in R and in Python)

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

**R – Win-Vector Blog**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

A big thank you to Dmytro Perepolkin for sharing a “Keep Calm and Use vtreat” poster!

Also, we have translated the Python vtreat steps from our recent “Cross-Methods are a Leak/Variance Trade-Off” article into R vtreat steps here.

This R-port demonstrates the new to R fit/prepare notation!

We want vtreat to be a platform agnostic (works in R, works in Python, works elsewhere) well documented standard methodology.

To this end: Nina and I have re-organized the basic vtreat use documentation as follows:

**Regression**:`R`

regression example, fit/prepare

interface,

`R`

regression example, design/prepare/experiment

interface,

`Python`

regression

example.**Classification**:`R`

classification example, fit/prepare

interface,

`R`

classification example, design/prepare/experiment

interface,

`Python`

classification

example.**Unsupervised tasks**:`R`

unsupervised example, fit/prepare

interface,

`R`

unsupervised example, design/prepare/experiment

interface,

`Python`

unsupervised

example.**Multinomial classification**:`R`

multinomial classification

example, fit/prepare

interface,

`R`

multinomial classification example, design/prepare/experiment

interface,

`Python`

multinomial classification

example.

To

**leave a comment**for the author, please follow the link and comment on their blog:**R – Win-Vector Blog**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.