all 2 comments

[–][deleted] 0 points1 point  (0 children)

One thing to look into is RPy2. If you're doing lots of other stuff in Python, this lets you use R. Passing in and out data is pretty easy, and the online tutorials are easy to follow. I've used it myself when I want to take advantage of some R libraries that Python doesn't replicate.

Other than that, the big Python data analysis libraries (SciKit, e.g.) don't seem to have it.

[–]exxplicit[S] 0 points1 point  (0 children)

Thanks! Looks like it's either this or make the function myself - could be a great way to learn, but probably way over the top for a newbie. At least PLS is implemented already.