Colab Notebook Setup And Package Importing; Figure 5. Project File - ST AEKD-AICAR1 User Manual

Evaluation kit for car state classification
Table of Contents

Advertisement

The document that you are creating is not a static web page. It is an interactive environment that lets you write
and execute your Python code to implement an LSTM RNN by using the TensorFlow framework.
2.3

Colab notebook setup and package importing

To implement and train an LSTM RNN, install the Tensorflow 2.4.0 framework on your Google Colab notebook by
using the packet index package (PIP) command.
%pip install tensorflow==2.4.0
Note:
PIP is already installed on your Google Colab notebook.
Using the Python commands, import the following packages:
Pandas
Open-source software library for data manipulation and analysis.
import pandas as pd
Numpy
Open-source software library, adding support for large, multidimensional
large collection of
import numpy as np
Tensorflow
Open-source software library for machine learning, which provides optimized modules to implement artificial
intelligence (AI) algorithms.
import tensorflow as tf
Sklearn
A package providing several common utility functions and transformer classes to change raw feature vectors
into a representation that is more suitable for the downstream estimators.
from sklearn.preprocessing import StandardScaler, MinMaxScaler
from sklearn.model_selection import train_test_split , StratifiedShuffleSplit
from sklearn.metrics import confusion_matrix
OS
The Python language OS module has several useful functions to make the program interact with the
computer operating system.
import os
UM3053 - Rev 1
Figure 5.
high-level mathematical functions
Colab notebook setup and package importing
Project file
arrays
to operate on these arrays.
UM3053
and matrices, along with a
page 5/39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AEKD-AICAR1 and is the answer not in the manual?

Questions and answers

Table of Contents