- Machine Learning in Java
- AshishSingh Bhatia Bostjan Kaluza
- 246字
- 2021-06-10 19:29:57
Data transformation
Data transformation techniques tame the dataset to a format that a machine learning algorithm expects as input and may even help the algorithm to learn faster and achieve better performance. It is also known as data munging or data wrangling. Standardization, for instance, assumes that data follows Gaussian distribution and transforms the values in such a way that the mean value is 0 and the deviation is 1, as follows:
Normalization, on the other hand, scales the values of attributes to a small, specified range, usually between 0 and 1:
Many machine learning toolboxes automatically normalize and standardize the data for you.
The last transformation technique is discretization, which divides the range of a continuous attribute into intervals. Why should we care? Some algorithms, such as decision trees and Naive Bayes prefer discrete attributes. The most common ways to select the intervals are as follows:
- Equal width: The interval of continuous variables is divided into k equal width intervals
- Equal frequency: Supposing there are N instances, each of the k intervals contains approximately N or k instances
- Min entropy: This approach recursively splits the intervals until the entropy, which measures disorder, decreases more than the entropy increase, introduced by the interval split (Fayyad and Irani, 1993)
The first two methods require us to specify the number of intervals, while the last method sets the number of intervals automatically; however, it requires the class variable, which means it won't work for unsupervised machine learning tasks.
- Clojure Data Analysis Cookbook
- 后稀缺:自動化與未來工作
- 大數據戰爭:人工智能時代不能不說的事
- Moodle Course Design Best Practices
- Visual FoxPro程序設計
- 單片機技能與實訓
- 啊哈C!思考快你一步
- WOW!Photoshop CS6完全自學寶典
- Practical AWS Networking
- Learning iOS 8 for Enterprise
- PostgreSQL High Performance Cookbook
- 電機與電力拖動
- Mastercam X5應用技能基本功特訓
- SketchUp 2014 for Architectural Visualization(Second Edition)
- 三維動畫制作(3ds max7.0)