Description Objects from the Class Slots Methods Author(s) See Also Examples
A structured matrix made up of a sparse part plus a low-rank part, all which can be stored and operated on efficiently.
Objects can be created by calls of the form
new("SparseplusLowRank", ...)
or by a call to splr
x
:Object of class "sparseMatrix"
a
:Object of class "matrix"
b
:Object of class "matrix"
signature(x = "ANY", y = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank", y = "ANY")
: ...
signature(x = "Matrix", y = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank", y = "Matrix")
: ...
signature(x = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank", type = "character")
: ...
signature(x = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank")
: ...
signature(x = "SparseplusLowRank")
: ...
Trevor Hastie and Rahul Mazumder
1 2 3 4 5 6 7 |
Loading required package: Matrix
Loaded softImpute 1.4
Class "SparseplusLowRank" [package "softImpute"]
Slots:
Name: x a b
Class: sparseMatrix matrix matrix
An object of class "SparseplusLowRank"
Slot "x":
5 x 3 sparse Matrix of class "dgCMatrix"
[1,] . . 3
[2,] 3 . .
[3,] . 3 3
[4,] . 3 3
[5,] 3 3 .
Slot "a":
[,1] [,2]
[1,] -0.7054106 -0.6843586
[2,] -0.1209612 0.2067244
[3,] 0.9896136 -3.9923476
[4,] -1.1336504 -1.2391749
[5,] 0.5220950 -0.7832277
Slot "b":
[,1] [,2]
[1,] 0.87454066 1.5606000
[2,] -0.07020605 1.2423628
[3,] -0.05250420 0.8853043
An object of class "SparseplusLowRank"
Slot "x":
5 x 3 sparse Matrix of class "dgCMatrix"
[1,] . . 3
[2,] 3 . .
[3,] . 3 3
[4,] . 3 3
[5,] 3 3 .
Slot "a":
[,1] [,2]
[1,] -0.7054106 -0.6843586
[2,] -0.1209612 0.2067244
[3,] 0.9896136 -3.9923476
[4,] -1.1336504 -1.2391749
[5,] 0.5220950 -0.7832277
Slot "b":
[,1] [,2]
[1,] 0.87454066 1.5606000
[2,] -0.07020605 1.2423628
[3,] -0.05250420 0.8853043
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.