modif CSS

This commit is contained in:
El Potaeto 2015-01-30 17:53:05 +01:00
parent a17e29b130
commit b31cbdb0a4

View File

@ -1,10 +1,11 @@
---
title: "Understand your dataset with Xgboost"
date: "Wednesday, January 28, 2015"
output:
html_document:
css: vignette.css
number_sections: yes
toc: yes
date: "Wednesday, January 28, 2015"
---
Introduction
@ -73,7 +74,7 @@ For the first feature we create groups of age by rounding the real age. Note tha
df[,AgeDiscret:= as.factor(round(Age/10,0))][1:10]
```
Followinf is an even stronger simplification of the real age with an arbitrary split at 30 years old. I choose this value **based on nothing**. We will see later if simplifying the information based on arbitrary values is a good strategy (I am sure you already have an idea of how well it will work!).
Following is an even stronger simplification of the real age with an arbitrary split at 30 years old. I choose this value **based on nothing**. We will see later if simplifying the information based on arbitrary values is a good strategy (I am sure you already have an idea of how well it will work!).
```{r}
df[,AgeCat:= as.factor(ifelse(Age > 30, "Old", "Young"))][1:10]