- 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# 7 and .NET Core Cookbook
- Java游戲服務器架構實戰
- 機械工程師Python編程:入門、實戰與進階
- Hands-On Swift 5 Microservices Development
- Python完全自學教程
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- 深度探索Go語言:對象模型與runtime的原理特性及應用
- Getting Started with Python
- C編程技巧:117個問題解決方案示例
- Go語言入門經典
- SQL Server 2014 Development Essentials
- Moodle 3.x Developer's Guide
- Python程序員面試算法寶典
- Learning Rust
- Java EE框架開發技術與案例教程