Skip to content

Commit f743bee

Browse files
t-kalinowskiSigrid Keydana
andauthored
Apply suggestions from code review
Co-authored-by: Sigrid Keydana <[email protected]>
1 parent f03cb61 commit f743bee

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- {os: 'ubuntu-20.04', tf: 'default', r: '3.6'} # default R in ubuntu-20.04
3232
- {os: 'ubuntu-20.04', tf: 'default', r: '3.5'} #
3333
- {os: 'ubuntu-20.04', tf: 'default', r: '3.4'} #
34-
# - {os: 'ubuntu-20.04', tf: 'default', r: '3.3'} # Oldest R available in Rstudio Marketplace offerings; rcmdcheck not available
34+
# - {os: 'ubuntu-20.04', tf: 'default', r: '3.3'} # Oldest R available in RStudio Marketplace offerings; rcmdcheck not available
3535
# - {os: 'ubuntu-20.04', tf: 'tensorflow-cpu', r: '3.2'} # rcmdcheck not available
3636
# - {os: 'ubuntu-20.04', tf: 'tensorflow-cpu', r: '3.1'} # remotes not available
3737

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
`layer_subtract()`, `layer_multiply()`, `layer_average()`, `layer_maximum()`,
7575
`layer_minimum()` , `layer_dot()`)
7676

77-
- `%py_class%` gains the ability to delay initializing the python session until first use.
77+
- `%py_class%` gains the ability to delay initializing the Python session until first use.
7878
It is now safe to implement and export `%py_class%` objects in an R package.
7979

80-
- Bumped minimum R version to 3.4. Expanded CI to test on all supported R version. Fixed regresison that prevent package installation on R <= 3.4
80+
- Bumped minimum R version to 3.4. Expanded CI to test on all supported R version. Fixed regression that prevented package installation on R <= 3.4
8181
# keras 2.6.0
8282

8383
Breaking changes (Tensorflow 2.6):

vignettes/new-guides/preprocessing_layers.Rmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ With Keras preprocessing layers, you can build and export models that are truly
3535
end-to-end: models that accept raw images or raw structured data as input;
3636
models that handle feature normalization or feature value indexing on their own.
3737

38-
## Available preprocessing
38+
## Available preprocessing layers
3939

4040
### Text preprocessing
4141

@@ -44,17 +44,17 @@ models that handle feature normalization or feature value indexing on their own.
4444

4545
### Numerical features preprocessing
4646

47-
- `layer_normalization()`: performs feature-wise normalize of input features.
47+
- `layer_normalization()`: performs feature-wise normalization of input features.
4848
- `layer_discretization()`: turns continuous numerical features
4949
into integer categorical features.
5050

5151
### Categorical features preprocessing
5252

5353
- `layer_category_encoding()`: turns integer categorical features
54-
into one-hot, multi-hot, or count dense representations.
54+
into one-hot, multi-hot, or count-based, dense representations.
5555
- `layer_hashing()`: performs categorical feature hashing, also known as
5656
the "hashing trick".
57-
- `layer_string_lookup()`: turns string categorical values an encoded
57+
- `layer_string_lookup()`: turns string categorical values into an encoded
5858
representation that can be read by an `Embedding` layer or `Dense` layer.
5959
- `layer_integer_lookup()`: turns integer categorical values into an
6060
encoded representation that can be read by an `Embedding` layer or `Dense`
@@ -67,7 +67,7 @@ These layers are for standardizing the inputs of an image model.
6767

6868
- `layer_resizing()`: resizes a batch of images to a target size.
6969
- `layer_rescaling()`: rescales and offsets the values of a batch of
70-
image (e.g. go from inputs in the `[0, 255]` range to inputs in the `[0, 1]`
70+
images (e.g., going from inputs in the `[0, 255]` range to inputs in the `[0, 1]`
7171
range.
7272
- `layer_center_crop()`: returns a center crop of a batch of images.
7373

0 commit comments

Comments
 (0)