From fe28e086a4e07b01dc6c4481301b8f1c076cefb6 Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Thu, 7 Sep 2023 10:41:20 +0000 Subject: [PATCH] build based on 50e8a39 --- dev/assets/resources/index.html | 2 +- dev/index.html | 2 +- dev/search/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/assets/resources/index.html b/dev/assets/resources/index.html index 5db2885..5993acb 100644 --- a/dev/assets/resources/index.html +++ b/dev/assets/resources/index.html @@ -1,2 +1,2 @@ -Further Resources ยท JointEnergyModels.jl
+Further Resources ยท JointEnergyModels.jl
diff --git a/dev/index.html b/dev/index.html index 3bded70..4cbd409 100644 --- a/dev/index.html +++ b/dev/index.html @@ -16,4 +16,4 @@ finaliser=x -> x, loss=Flux.Losses.logitcrossentropy, )

It uses the MLJFlux package to build the model:

println(typeof(clf) <: MLJFlux.MLJFluxModel)
true

The model can be wrapped in data and trained using the fit! function:

mach = machine(clf, X, y)
-fit!(mach)

The results are visualised below. The model has learned to discriminate between the two classes (as indicated by the contours) and to generate samples from each class (as indicated by the stars).

๐ŸŽ“ References

Grathwohl, Will, Kuan-Chieh Wang, Joern-Henrik Jacobsen, David Duvenaud, Mohammad Norouzi, and Kevin Swersky. 2020. โ€œYour Classifier Is Secretly an Energy Based Model and You Should Treat It Like One.โ€ In. https://openreview.net/forum?id=Hkxzx0NtDB.

+fit!(mach)

The results are visualised below. The model has learned to discriminate between the two classes (as indicated by the contours) and to generate samples from each class (as indicated by the stars).

๐ŸŽ“ References

Grathwohl, Will, Kuan-Chieh Wang, Joern-Henrik Jacobsen, David Duvenaud, Mohammad Norouzi, and Kevin Swersky. 2020. โ€œYour Classifier Is Secretly an Energy Based Model and You Should Treat It Like One.โ€ In. https://openreview.net/forum?id=Hkxzx0NtDB.

diff --git a/dev/search/index.html b/dev/search/index.html index ec5dfa2..56bb1c3 100644 --- a/dev/search/index.html +++ b/dev/search/index.html @@ -1,2 +1,2 @@ -Search ยท JointEnergyModels.jl

Loading search...

    +Search ยท JointEnergyModels.jl

    Loading search...