Method
To compare the embedding of samples in two different maps, we propose a scale dependent similarity measure. For a pair of maps X and Y, we compare the sets of the, respectively, kx and ky nearest neighbours of each sample. We first define the variable rxij as the rank of the distance of sample j among all samples with respect to sample i, in map X. The nearest neighbor of sample i will have rank 1, the second nearest neighbor rank 2, etc. Analogously, ryij is the rank of sample j with respect to sample i in map Y. Now we define a score on the interval [0, 1], as (eq. 1)
where the variable n is the total number of samples, and the indicator function is given by (eq. 2)
The score sx,y(kx, ky) will have value 1 if, for each sample, all kx nearest neighbours in map X are also the ky nearest neighbours in map Y, or vice versa. Note that a local neighborhood of samples can be set on the minimum number of samples in the class. Alternatively, kxy can be also set on the average class size.
Schematic overview
Schematic overview to systematically compare local and global differences between two sample projections. For illustration we compare two input maps (x and y) in which each map contains n samples (step 1). The second step is the ranking of samples based on Euclidean distance. The ranks of map x are subsequently compared to the ranks of map y for kx and ky nearest neighbours (step 3). The overlap between ranks (step 4), is subsequently summarized in Score: Sx,y(kx,ky).


Pregnant teen shot after appearing in court in Cagayan de Oro City
by Coconuts ManilaA pregnant 16-year-old was shot by unknown motorcycle-riding assailants yesterday after she appeared in court in Cagayan de Oro City.
The suspects drove up and shot the teenager, who is five months pregnant, in the right side of the neck as she was crossing the road with her mother and grandmother near the Hall of Justice on Mastersons Avenue at about 9am, SunStar Cagayan de Oro reports. Her mother and grandmother tried to run after the assailants, but the motorcycle quickly sped away.
One witness, named Nestor Casiño, told ABS-CBN News, “We saw her lying on the side of the road so we quickly called a patrol car to bring her to the hospital.”
The victim is critically injured and remains in the hospital.
The teen appeared in court to attend a hearing in connection with a “lasciviousness,” or molestation, case she filed against a police officer, news television show “Saksi” reported.
Authorities are still looking for the perpetrators, who used a red and white motorcycle in the attack. They are also investigating the cop who was sued by the victim to find if he had anything to do with the crime.
Read more Coconuts Manila articles here.