From the course: Deep Learning with Python and Keras: Build a Model for Sentiment Analysis
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Importing python modules and loading data
From the course: Deep Learning with Python and Keras: Build a Model for Sentiment Analysis
Importing python modules and loading data
- [Instructor] The Google CoLab environment offers you an environment which you can write code in Python. Now, in addition to the core Python libraries, a number of other libraries that you use for data science and machine learning come built in. Notice all of these libraries that I import without having installed them. Pandas number by Matplotlib, NLPK, Keras, and TensorFlow. All of these libraries and frameworks are available built in. NLTK, or the Natural Language Toolkit, is a Python library widely used for natural language processing, such as text analysis, tokenization, stemming, and much more. We'll use this to pre-process our text data. We'll be using the Keras APIs with TensorFlow to build and train our deep learning models, so you can see imports for Keras and TensorFlow. On the last line of the cell, I import specific libraries and classes from Keras to build up my neural network. Let me show you the TensorFlow…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.