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

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.

主站蜘蛛池模板: 嘉鱼县| 威宁| 桃江县| 西平县| 湛江市| 开远市| 宁强县| 金阳县| 郑州市| 景德镇市| 宁陵县| 嘉兴市| 图木舒克市| 仁怀市| 老河口市| 襄城县| 沙河市| 陕西省| 南召县| 尼勒克县| 常宁市| 安泽县| 自治县| 岱山县| 那曲县| 锦州市| 灵宝市| 尤溪县| 安康市| 南靖县| 老河口市| 平罗县| 东丰县| 凌云县| 宁陕县| 科技| 建昌县| 佛教| 定远县| 永安市| 孙吴县|