Hello again,
I am trying to do some (k-means) clustering on a very large matrix.
The matrix is approximately 500000 rows x 4000 cols yet very sparse (only a couple of "1" values per row). I want to get around 2000 clusters.
I got two questions:
- Can someone recommend an open source platform or tool for doing that (maybe using k-means...
Hi,
Here's an interesting question :)
I have two "vectors of matrices" which I want to tile like the hankel function does for regular vertices.
For example:
Column Vector:
10
00
20
00
30
00
Row vector:
30 40 50 60
00 00 00 00
The resulting matrix needs to be:
10 20 30 40
00 00 00 00
20 30 40 50
00 00 00 00
30 40 50 60
00 00 ...
Hi everyone,
Here is my code to calculate covariance matrix over a particular area of color image,But it always gives all zeroes.Please help me where am going wrong.
IplImage* img = cvLoadImage("image.png",1);
cvShowImage("input",img);
cvSetImageROI(img,cvRect(10,10,30,30));
{
CvMat* covarMatrix=cvCreateMat(3,3,CV_32FC1)...
Which is the best way to store a symmetric matrix in memory?
It would be good to save half of the space without compromising speed and complexity of the structure too much. This is a language-agnostic question but if you need to make some assumptions just assume it's a good old plain programming language like C or C++..
It seems a thin...
sRMatTemp = [SENSORRANGE];
sRMat = repmat(sRMatTemp, size(obj.landmarks.sensed(:,1), 1));
ellipse(((2*pi*sRMat)/(360/obj.landmarks.sensed(:,4))), obj.landmarks.sensed(:,5) , obj.landmarks.sensed(:,3), obj.landmarks.apparentPositionsST(:,1), obj.landmarks.apparentPositionsST(:,2));
The above code works fine... ONCE. The problem is I ne...
How do I add a subtotal to a matrix in reporting services 2008? If I right click on a cell I see an option to add a total but no subtotal.
(I feel like I'm missing something obvious but I've looked everywhere.)
...
Hi, I'm in search for a free package that do most matrix/vector operations. I can write some basic functions myself but for advanced ones like computing eigenvalues and eigenvectors I would prefer robust code and I would like to know if such packages are freely available. If I understand correctly Ada 2005 have more matrix operations fac...
Hi,
Can anyone advise on a database design/DBMS for storing 2D Time Series Matrix data. To allow for quick BACK END algebraic calculations: e.g:
Table A,B,C..
Col1: Date- Timestamp
col2: Data- Array? (Matrix Data)
SQL Psuedo Code
INSERT INTO TABLE C
SELECT
Multiply A.Data A by B.Data
Where Matrix A Start Date = Matrix B Start Date...
Hi, i'm having trouble working out the returned values of the below code pMeasure = PathMeasure, m = Matrix, distCount is the distance along the path
pMeasure.getMatrix(distCount, m, 0x01 | 0x02);
m.getValues(float[] values)
float[2] & float[5] are position x & y respectively but i can't figure out the rest
any help once again appre...
I have a class named Box that extends Sprite and when I'm trying to access his transform.matrix3D property (indeed is the matrix3D property from an Transform object) this returns me null. Why?
package some.place
{
// ... imports ...
public class Box extends Sprite
{
public function Box() {}
public function ...
Okay, I know absolutely nothing about 3D projection, but I need to figure out a way to project pictures in Silverlight (<Matrix3D/>) based on some predetermined variables that I have available to me. I've searched high and low for some sample code or a really basic "for stupidies" set of articles, but have yet to find anything that makes...
Basically, what is the best way to go about storing and using dense matrices in python?
I have a project that generates similarity metrics between every item in an array.
Each item is a custom class, and stores a pointer to the other class and a number representing it's "closeness" to that class.
Right now, it works brilliantly up to ...
The library needs to:
record vector or matrices in "frames" (timestamped)
enable multiple streams and markers
It would be good if the library:
had a BSD licence
was well documented
was written in C++
enabled non-linear access
I have found a library that is very interesting and does points (1) and (2): SDIF. But the documentation ...
I'm trying to create a matrix data structure in C. I have a struct and have a two dimensional void pointer array (size is dynamically defined at the heap) for the cargo part(data) in this struct.
Given a column index, I want to get the values of this column in a one dimensional array. It is easy to this with one for or while loop. But i...
Hi!
Just imagine you plot several dots, circles, lines in a figure. Afterwards another m file should use this plot as an input to do e.g. thresholding. I'm aware of the print command but I don't want the plot to be stored as file. I would prefer to store it in a matrix (x_dim,y_dim,3). Any ideas?
...
Hi all,
I have started learning perl and like to try out new things.
I have some problem in text processing.
I have some text of the form,
0 1 2 3 4 5 6 7 8 9 10
6 7 3 6 9 3 1 5 2 4 6
I want to transpose this text. Like, I want to make rows as columns ans columns as rows. Id there a way to do this in perl?
Thank you all.
...
I have an image with and have a few values to make it a perspective in Silverlight, but can't quite figure out what I need to do mathmatically to make it happen. The most important thing is I have an angle called a "Field of View" (FOV).
This is the normal picture:
For example:
X = 30° X = 30° X = 30°
...
If I have a matrix that is iterated horizontally and then vertically it would enumerate like this:
0 1 2 3 4 5 6 7 8 9
------------------------------
0 | 1 2 3 4 5 6 7 8 9 10
1 | 11 12 13 14 15 16 17 18 19 20
2 | 21 22 23 24 25 26 27 28 29 30
if I want to enumerate vertically I could do this:
total_rows * ...
Hi Guys,
I have an image processing algorithm which makes of matrices, I have my own matrix operation codes (Multiplication, Inverse...) with me. But the processor I use is ARM Cortex-A8 processor, which has NEON co-processor for vectorization, as matrix operations are ideal cases for SIMD operations, I asked the compiler (-mfpu=neon -m...
Hi I'd like to convert a file that's tab delimited and looks like this:
Species Date Data
1 Dec 3
2 Jan 4
2 Dec 6
2 Dec 3
to a matrix like this (species is the row header):
1 2
Dec 3 9
Jan 4
I'm guessing the part of the solution is to create a dictionary with two keys and use defaultdict to...