artusoma / prinPy

Simple Principal Curves in Python
MIT License
30 stars 2 forks source link

n-dimensional data #4

Open b2jia opened 3 years ago

b2jia commented 3 years ago

It seems the solver takes in arguments xdata & ydata, both assumed to be 1-D lists. What about an n-dimensional matrix?

artusoma commented 3 years ago

For the local algorithms that is correct; it only accepts 2 1-d arrays. I have a higher dimensional algorithm somewhere, and I've been meaning to update the package for a while now, so I'll try to get around to that soon!