Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

LSTM with DIST keras : Weight doesn't get updated #78

Open
omar-sadiqi opened this issue Aug 16, 2018 · 0 comments
Open

LSTM with DIST keras : Weight doesn't get updated #78

omar-sadiqi opened this issue Aug 16, 2018 · 0 comments

Comments

@omar-sadiqi
Copy link

LSTM with DIST Keras :
the problem is with preprocessing the sparkDF for the model :
schema of the DF : each line have two matrix : FALSE and TRUE ( autocorrection )

schema = StructType([StructField('TRUE',ArrayType(ArrayType(IntegerType()), True)) , StructField('FALSE',ArrayType(ArrayType(IntegerType()), True))])**

reshape_transformer = ReshapeTransformer("TRUE", "TRUE_", (MAX_LEN , LEN))
reshape_transformer_ = ReshapeTransformer("FALSE", "FALSE_", (MAX_LEN , LEN))

trainer = AEASGD(model, optimizer, loss, metrics=["accuracy"], num_workers=num_workers, batch_size=120,features_col="FALSE_", label_col="TRUE_", num_epoch=2,communication_window=32, rho=5.0, learning_rate=0.01)

weights doesn't get updated
HELP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant