课程: Deep Learning: Getting Started

今天就学习课程吧!

今天就开通帐号,24,100 门业界名师课程任您挑!

Preprocessing RCA data

Preprocessing RCA data

- The code for this exercise is available in the file code 06 XX incident root cause analysis exercise, section 6.2 covers pre-processing of incident data. We first load the root cause analysis.CSV file into a pandas data frame and print its contents. Let's run this code now and examine the contents. Then we use the label encoder to transform the target variable into its encodings. Given that all the values for the feature variables are either one or zero, it is already normalized so we don't have to do any further processing. We simply convert the data to a numpy array of float numbers. For target variable, we use one hot encoding. Finally, we split the data into training and test sets, this gets the data ready for deep learning. Let's run this code and review the results.

内容