Skip to content

Commit 046d10a

Browse files
committed
Updated autoencoder usage example
1 parent 3aa69a5 commit 046d10a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ AE <- autoencoder(X = X_train,
9090
optim.type = 'adam',
9191
n.epochs = 5000)
9292

93-
# Plot original points (grey) and reconstructions (colored)
94-
reconstruction_plot(AE, X_train)
95-
9693
# Reconstruct test data
9794
reconstruct(AE, X_test)
9895

@@ -106,6 +103,9 @@ reconstruct(AE, X_test)
106103
#
107104
# $anomaly_scores
108105
# [1] 398.926431 247.238111 11.613522 0.134633 1029.806121
106+
107+
# Plot original points (grey) and reconstructions (colored) for training data
108+
reconstruction_plot(AE, X_train)
109109
```
110110

111111
![](man/images/ae_reconstruction_plot.png)

0 commit comments

Comments
 (0)