Trained Machine Learning model is too big

前端 未结 2 1421
小蘑菇
小蘑菇 2020-12-30 10:13

We have trained an Extra Tree model for some regression task. Our model consists of 3 extra trees, each having 200 trees of depth 30. On top of the 3 extra trees, we use a r

2条回答
  •  被撕碎了的回忆
    2020-12-30 10:36

    In the best case (binary trees), you will have 3 * 200 * (2^30 - 1) = 644245094400 nodes or 434Gb assuming each one node would only cost 1 byte to store. I think that 140GB is a pretty decent size in comparision.

    Edit: Bad maths.

提交回复
热议问题