Demo entry 6633365



Submitted by anonymous on Aug 01, 2017 at 20:41
Language: Python. Code size: 283 Bytes.

model = Sequential()
model.add(Dense(1, input_shape=(numcolumns,)))
model.compile(optimizer = 'sgd', loss = 'squared_hinge', metrics = ['accuracy'])
model.fit_generator(generator=batch_generator(X, Y, 128, 129013),steps_per_epoch=1000, epochs=1)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).