logo
Loading...

關心 bins and range 設定 - Cupoy

請問如何適當設定 histogram 或其他圖的 bins and range ?

ml100-3,ml100-3-d08

關心 bins and range 設定

2019/09/10 下午 04:53
機器學習共學討論版
William Mok
觀看數:37
回答數:2
收藏數:0
ml100-3
ml100-3-d08

請問如何適當設定 histogram 或其他圖的 bins and range ?

回答列表

  • 2019/09/10 下午 05:19
    張維元 (WeiYuan)
    贊同數:0
    不贊同數:0
    留言數:1

    你的問題是,不知道怎麼設定?還是不知道要設定多少?

  • 2019/09/15 上午 02:01
    張維元 (WeiYuan)
    贊同數:0
    不贊同數:0
    留言數:0

    是不知道要設定多少, thanks


    => 通常會是用觀察的,多跑幾種結果看趨勢。這邊有一篇討論可以看一下,裡面有看到一個神秘的公式可以參考看看:https://stackoverflow.com/questions/33458566/how-to-choose-bins-in-matplotlib-histogram/33459231