Files
2025-10-09 16:09:42 +08:00

6 lines
860 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 2023-02-26 阴阳4叉树分裂算法
本次是个小更新位于history/012_tree4目录下演示4叉树分裂算法。
如果已知参数是分布在一个平面上时就没必要用8叉树了因为效率太低这时可以改成阴阳4叉树分裂算法其优点有两个一是可以手工分层式设计神经网络参数二是速度快。
在16x16x16的空间中演示在三个层中分别显示“SAM”这几个字母如果采用阴阳8叉树算法将Cells.java中调用register方法第三个参数改为-1)则需要3000循环以上而采用阴阳4叉树分裂算法只需要300次循环就够了。
![result19](result19_tree4.png)
在同一个三维空间中8叉树和4叉树算法可以同时结合起来使用这里就不演示了以后在三维神经网络搭建时可能会碰到。