Keras is an open-source software library that provides a Python interface for defining, training, and evaluating deep learning models. It is designed to enable fast experimentation with deep neural networks.
Quick Start
Here's a simple example of a neural network using Keras:
from keras.models import Sequential
from keras.layers import Dense
# Create model
model = Sequential()
model.add(Dense(12, input_dim=8, activation='relu'))
model.add(Dense(8, activation='relu'))
model.add(Dense(1, activation='sigmoid'))
# Compile model
model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
# Fit the model with training data
model.fit(X_train, y_train, epochs=150, batch_size=10)
Resources
Additional Reading
Image
Keras Logo