TIL how to install Octave packages permalink

pkg install -forge io
pkg install -forge statistics

I wanted to use the Statistics package from Octave Forge to randomly select samples from my training set to test functions I was writing.

Installation proved to be a little tricky.

I tried the following:

I couldn’t tell you why installing from Octave Forge didn’t work the first time. And, when it didn’t work that first time, I went about my classwork without it just fine. When I finished it though, I had to come back and try to figure it out.

Octave Forge has some other interesting packages like:

I probably won’t invest a bunch of time learning this though. I think the value is in the python version of these libraries.


© 2024