- 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.
推薦閱讀
- 自己動手寫搜索引擎
- Arduino by Example
- 跟“龍哥”學(xué)C語言編程
- Neo4j Essentials
- Mastering JavaScript Design Patterns(Second Edition)
- Python深度學(xué)習(xí):模型、方法與實現(xiàn)
- Node.js:來一打 C++ 擴展
- Windows Embedded CE 6.0程序設(shè)計實戰(zhàn)
- PhoneGap 4 Mobile Application Development Cookbook
- Google Adsense優(yōu)化實戰(zhàn)
- The Applied Data Science Workshop
- Hands-On Data Visualization with Bokeh
- MySQL數(shù)據(jù)庫應(yīng)用技術(shù)及實戰(zhàn)
- 流暢的Python
- C++游戲設(shè)計案例教程