- Neural Networks with Keras Cookbook
- V Kishore Ayyadevara
- 184字
- 2021-07-02 12:46:31
How it works...
In this recipe, we have learned about the following concepts:
- Imputing missing values: We have learned that one of the ways to impute the missing values of a variable is by replacing the missing values with the median of the corresponding variable. Other ways to deal with the missing values is by replacing them with the mean value, and also by replacing the missing value with the mean of the variable's value in the rows that are most similar to the row that contains a missing value (this technique is called identifying the K-Nearest Neighbours).
- Capping the outlier values: We have also learned that one way to cap the outliers is by replacing values that are above the 95th percentile value with the 95th percentile value. The reason we performed this exercise is to ensure that the input variable does not have all the values clustered around a small value (when the variable is scaled by the maximum value, which is an outlier).
- Scaling dataset: Finally, we scaled the dataset so that it can then be passed to a neural network.
推薦閱讀
- 現代C++編程:從入門到實踐
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- 少兒人工智能趣味入門:Scratch 3.0動畫與游戲編程
- Getting started with Google Guava
- Arduino by Example
- HBase從入門到實戰
- R語言游戲數據分析與挖掘
- Python神經網絡項目實戰
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第2版)
- Building an RPG with Unity 2018
- 程序員修煉之道:通向務實的最高境界(第2版)
- Java編程技術與項目實戰(第2版)
- MATLAB for Machine Learning
- Create React App 2 Quick Start Guide
- Learning Docker Networking