6
votes
Accepted
Minimize distance between curves
Let's assume you have a set of abscissas $x_i$ and two sets of function values on these grid points $f_i, g_i$ representing the functions $f$ and $g$.
As mentioned in the comments, you'll need a model ...
4
votes
How to store a TB size array in C++ on a cluster
You could try using UPC++, which sets up a globally accessible address space distributed across your nodes.
A more standard approach would be to learn how to use MPI.
2
votes
How to store a TB size array in C++ on a cluster
Really the only way to run simulations on a multi-node cluster is to use MPI. And you don't distribute data because that would mean it would start out in one place. With MPI everything is distributed ...
2
votes
Accepted
Clustering pixel clots
If the number of clusters is known (like here)
You may use Lloyd's clustering [1]
The idea is as follows:
it optimizes a set of cluster centers $p_i$:
...
2
votes
Minimize distance between curves
Here is a simple solution.
Find the curve $(x_m, y_m)$ with the largest domain $x$. In your case it is (x2, y2).
Assign it to be the main curve and shift all other ...
1
vote
Minimize distance between curves
Taking a function as reference $f_r$ the scale-translation transformations for each remaining functions can be handled by minimizing
$$
E(a,b,r) = \sum_{k\ne r}^{m}\sum_{j=1}^n \left(f_k(j)a_k+b_k - ...
1
vote
Clustering with points lying along different 3D planes
Observe that any data-point $$x_i = \begin{bmatrix} x_{i1}\\x_{i2}\\x_{i3} \end{bmatrix}$$ can be interpreted as the three-vector pointing from the origin to the point itself (position vector).
For ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
clustering × 16linear-algebra × 2
python × 2
algorithms × 2
hpc × 2
optimization × 1
c++ × 1
parallel-computing × 1
eigenvalues × 1
computational-geometry × 1
fortran × 1
machine-learning × 1
matrix-factorization × 1
statistics × 1
graph-theory × 1
spectral-method × 1
data-analysis × 1
combinatorics × 1
memory-management × 1
b-spline × 1
discrete-optimization × 1
pattern-recognition × 1
l2-norm × 1
distance-measure × 1
scalapack × 1