-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stable release #24
Comments
Does Incanter build and test with the current snapshot ? |
The parts of Clatrix upon which Incanter depends haven't changed much in a while. The only movement is in tracking core.matrix, so I'm pretty happy with stability. Others ? |
I'm afraid it does not. I will dig deeper later to ensure I haven't done anything stupid. |
So, I went through the failed tests and the error. (def A [ [1 2 3], [4 5 6], [7,8,9] ,[10,11,12]]
(conj A [13 14 15])
;=> now returns nil, didn't use to
(conj A [[13,14,15]])
;=> A 5x3 matrix
;=> -------------
;=> 1.00e+00 2.00e+00 3.00e+00
;=> 4.00e+00 5.00e+00 6.00e+00
;=> 7.00e+00 8.00e+00 9.00e+00
;=> 1.00e+01 1.10e+01 1.20e+01
;=> 1.00e+00 2.00e+00 3.00e+00
;something like this was returned before, I think
;The next error occurs due to some change in the matrix function. I think.
;;(def M (predict (simple-regression [2 4] [1 3]) 2))
;which returns
(def M (matrix [3]))
;=> A 1x1 matrix
;=> -------------
;=> 3.00e+00
(= 3.0 M)
;=> false, but used to be true
;The last one I have to think about. It has to do with vector multiplication. The serious error is due to the first change, I think. |
If new Clatrix will be release, I'll incorporate it into Incanter immediately... |
My hacking to make add core.matrix support to Incanter will probably also depend on a new Clatrix release. I can push out a release to net.mikera/clatrix if useful as a temporary measure? |
Yes, I think that this could work. Although I've discussed this with Edmund & Joseph - they're also ready to push new release when I do changes into Incanter that allow to work with new version |
OK, sorry for the absence. Back now.
|
The whole "treat a matrix like a sequence of sub-matrices" concept appears to be a bit problematic from what I've observed in my experiments to get Incanter working with core.matrix. There's a lot of inconsistency lurking around which makes it hard to define correct behaviour. If we're going to cause breakage anyway, I think it would be worth revisiting the design in this area. |
I don't like it myself, how much is it used in Incanter ? |
Hard to say: you don't need it (there are always other ways of achieving the same thing) but it's quite widely used in the docstrings and tests. I suggest:
(1) can be done quite easily, just by deprecating the old usage and changing docstrings. (2) is relatively easy to do as well, but will almost certainly cause breakage, so we should probably save it for a major (2.0 ?) release of Incanter and corresponding (3.0? 4.0?) Clatrix release |
I've fixed the problem with bind-rows & fresh clatrix. The only remaining issue is: If we can fix this issue, then I can cut the 1.5.0 release of Incanter & after that we can concentrate on 2.0 based on core.matrix. |
Hey there,
Incanter is depending on clatrix for both QR decomposition and the determinant function,
and since there is no recent non-SNAPSHOT version of clatrix yet, the latest Incanter version has no QR decomposition or determinant functions.
incanter/incanter#122
What would it take to make a stable release? More SVD tests?
The text was updated successfully, but these errors were encountered: