koaning / calmcode-feedback

A repo to collect issues with calmcode.io
12 stars 0 forks source link

calmcode/Embedding/Experiment compile missing #196

Closed Dieter1955 closed 11 months ago

Dieter1955 commented 11 months ago

Hello Vincent,

in the last code section model_pred is not defined. If you use model_emb then the compile is missing before fit. -------------- original code ---------------- to_predict = OneHotEncoder(sparse=False).fit_transform(integers_out) model_pred.fit(integers_in, to_predict, epochs=1, verbose=1)

preds = model_emb.predict(idx_to_calc)

Thanks Dieter

koaning commented 11 months ago

Good call. Made a change for the next public release. Thanks for reporting!