資料視覺化除了最後一步呈現你的成果之外,還可以在分析的過程中用資料視覺化來看出一些insight,比方說用熱點圖來看你的Deep learning的model是對圖片中哪一部分的看得較重要,或是可以降維之後將資料視覺化去看資料在空間中的分佈,來決定下一步的分析要怎麼做。
Python資料視覺化主要有三大套件:
我們先介紹在機器學習領域最早被開發出來的演算法:感知器Perceptron(也稱為Perceptron Learning Algorithm簡稱PLA)、並教大家如何實作一個perceptron演算法來訓練Iris資料集,並成功分類。
首先要注意Perceptron這個演算法只有在資料是線性可分的形況下才能正確分類(演算法才會停止)。什麼是資料是線性可分呢?以2D的情況簡單來說就是可以在平面上找一條線去完全切出這兩群,3D的話就是可以在空間中找一個平面去切出兩…
這篇文章要教大家如何利用最基礎、簡單的機器學習知識加上Random…