官术网_书友最值得收藏!

Installing dependencies

First, let's install TensorFlow. It is an open source framework for building Artificial Neural Network (ANN):

pip install tensorflow

You should see the following output, which indicates a successful installation:

We can also manually check the installation. Type python to open the Python prompt on the command line. Once inside the Python prompt, type import tensorflow and hit Enter. You should see the following output:

Type exit() to return to the default command line, keep in mind that we are still inside the ai-projects conda environment.

Next, we are going to install Keras, a wrapper over TensorFlow that makes designing deep neural networks much more intuitive. We continue to use the pip command:

pip install keras

On successful installation, we should see the following output:

To manually check the installation, type python to open the Python prompt on the command line. Once inside the Python prompt, type import keras and hit Enter. You should see the following output, with no errors. Observe that the output mentions that Keras is using TensorFlow as its backend:

Great! We have now installed the main dependencies required to create our very own neural networks. Let's go ahead and build an ANN to predict real estate prices.

主站蜘蛛池模板: 西华县| 揭东县| 九龙坡区| 龙州县| 泽库县| 剑川县| 庐江县| 炉霍县| 神农架林区| 白朗县| 平邑县| 双鸭山市| 墨玉县| 三门峡市| 辛集市| 黑水县| 公安县| 乐都县| 宣城市| 吴旗县| 永清县| 龙泉市| 吉木乃县| 抚宁县| 邯郸县| 偏关县| 高青县| 慈利县| 呼图壁县| 吉首市| 宜兰市| 武邑县| 出国| 松江区| 乐安县| 永登县| 布拖县| 东安县| 景德镇市| 邹平县| 河津市|