> For the complete documentation index, see [llms.txt](https://ykkim.gitbook.io/dlip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ykkim.gitbook.io/dlip/installation-guide/framework/keras.md).

# Keras

## What is Keras

Keras is a deep learning API written in Python, running on top of the machine learning platform [TensorFlow](https://github.com/tensorflow/tensorflow). It was developed with a focus on enabling fast experimentation. *Being able to go from idea to result as fast as possible is key to doing good research.*

[*Keras documentation: About Keras*](https://keras.io/about/)

## Installation & compatibility <a href="#installation-amp-compatibility" id="installation-amp-compatibility"></a>

Keras comes packaged with TensorFlow 2 as `tensorflow.keras`. To start using Keras, simply [install TensorFlow 2](https://www.tensorflow.org/install).

Keras/TensorFlow are compatible with:

* Python 3.5–3.8
* Ubuntu 16.04 or later
* Windows 7 or later
* macOS 10.12.6 (Sierra) or later.

### Install with Anaconda

* Create new environment by conda

`conda create -n tf`

* change to the env you have just built by conda:

`activete tf`

* install TensorFlow/Keras you need:

`conda install tensorflow-gpu=1.14`

`conda install -c conda-forge keras=2.2.5`

## Why use Keras?

{% embed url="<https://keras.io/why_keras/>" %}
