Skip to content

Commit ece55e3

Browse files
committed
Merge branch 'dev' of https://github.com/ablaom/MLJTutorial.jl into dev
2 parents 2897e7b + ad0b0a5 commit ece55e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

notebooks/05_composition/notebook.pluto.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### A Pluto.jl notebook ###
2-
# v0.17.4
2+
# v0.17.5
33

44
using Markdown
55
using InteractiveUtils
@@ -132,7 +132,7 @@ md"To warm up, we'll do the equivalent of"
132132
LogisticClassifier = @load LogisticClassifier pkg=MLJLinearModels
133133

134134
# ╔═╡ cebd7290-ff85-4ebd-a89d-0aa1492fb1e0
135-
pipe = Standardizer |> LogisticClassifier
135+
pipe = Standardizer |> LogisticClassifier(lambda = 0.001)
136136

137137
# ╔═╡ 9e3a5fcf-8959-440c-abd3-cb77d7a79683
138138
md"using the generic syntax."
@@ -154,7 +154,7 @@ prediction:
154154
# ╔═╡ 48692370-0c4b-4080-9afd-65a5b5facac9
155155
begin
156156
stand = Standardizer();
157-
linear = LogisticClassifier();
157+
linear = LogisticClassifier(lambda = 0.001);
158158

159159
mach1 = machine(stand, X);
160160
fit!(mach1);
@@ -178,8 +178,8 @@ begin
178178
X_node = source(X) # or X = source() if not testing
179179
y_node = source(y) # or y = source()
180180

181-
# stand = Standardizer(); # already defined
182-
# linear = LogisticClassifier(); # already defined
181+
# stand = Standardizer(); # already defined in step 0
182+
# linear = LogisticClassifier(lambda = 0.001); # already defined in step 0
183183

184184
mach1_node = machine(stand, X_node);
185185
Xstand_node = transform(mach1_node, X_node);

0 commit comments

Comments
 (0)