- 全程机器翻译, 看看效果如何
After the last post, I got to thinking about how to come up with a mapping from the cube
在上一篇文章: Mapping a Square to a Circle 中, 我开始思考如何从该多维数据集来一个映射
to the points in the unit sphere. In the last post I used the mapping
Taking the length of the new point gives
So you can see that if x or y are either -1 or +1, this yeilds a vector with unit length. So, beginning with this, I decided that I'd work backward from the guess that if I had a mapping from the cube to the unit sphere, the length of a generated point would need to be
所以你可以看到，如果 x 或 y 是-1 或 + 1，这个产量与单位长度的向量。所以，从这开始，决定我会从我要是从多维数据集映射到生成长度单位球面点需要能够猜测工作落后
Which leads to the mapping
Trying this out yields some pretty nice results. This is the cube and its mapping onto the unit sphere. The thick lines are lines where at least two of the components are -1 or +1.
这尝试收益率一些相当不错的结果。这是该多维数据集和其映射到单位球面上。粗粗的线是的线在那里至少两个组件都是 + 1 或-1。
And here's another view from inside the sphere
Sorry this post is a little light on justification. I might try to explain this by looking at the level curves defined by constant x, y and z, but I'll save that for another day (maybe).
抱歉这篇文章是一个小灯上的理由。我会试着解释这看水平曲线定义的常数 x、 y 和 z，但我会保存，另一天 （也许）。