- 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.
推薦閱讀
- JavaScript全程指南
- Learning SAP Analytics Cloud
- SEO實戰(zhàn)密碼
- Python高效開發(fā)實戰(zhàn):Django、Tornado、Flask、Twisted(第3版)
- Learning Apache Kafka(Second Edition)
- RubyMotion iOS Develoment Essentials
- Web App Testing Using Knockout.JS
- Android應用開發(fā)實戰(zhàn)(第2版)
- AutoCAD基礎教程
- 軟件測試(慕課版)
- Magento 2 Developer's Guide
- Python量子計算實踐:基于Qiskit和IBM Quantum Experience平臺
- 微信公眾平臺服務號開發(fā):揭秘九大高級接口
- iOS程序員面試筆試真題與解析
- OpenACC并行編程實戰(zhàn)