Solving the Set Mapping Problem: How Many Is Enough?

  • Context: Undergrad 
  • Thread starter Thread starter b-boy
  • Start date Start date
  • Tags Tags
    Mapping Set
Click For Summary
SUMMARY

The discussion focuses on the Set Mapping Problem, specifically how to assign elements from set A to the two closest elements in set B. The initial approach involves selecting an element from A and finding its two nearest neighbors in B. However, the user questions whether assigning only two closest elements is sufficient for effective mapping. The conversation reveals that simply increasing the number of assigned elements does not necessarily enhance the solution, prompting a reevaluation of the mapping strategy.

PREREQUISITES
  • Understanding of set theory and basic mathematical functions
  • Familiarity with distance metrics for numerical sets
  • Knowledge of algorithmic complexity and optimization techniques
  • Basic programming skills to implement mapping functions
NEXT STEPS
  • Research advanced distance metrics for better mapping accuracy
  • Explore clustering algorithms to optimize element assignments
  • Learn about the k-nearest neighbors (KNN) algorithm for enhanced mapping
  • Investigate the implications of varying the number of assigned elements in set mappings
USEFUL FOR

Mathematicians, data scientists, and software developers interested in set theory applications and optimization problems in data mapping.

b-boy
Messages
2
Reaction score
0
Let say i have two sets of numbers A and B. and I want to assigne to each number from A two slosest numbers from B. What i would do is to pick an elements from A and then go through the entire B set and find two closest. now if i go the other way arround in orderd to achieve the same result i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A. this way i would gat a subset of B assigned to each A element for which i can the alpply the initaill approach. My question now is:

"... i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A." is two enough. Obviously not but what is ?? How do i calculate/prove that ??

thnx

b-boy

PS

this is my first post so please help me improve my question if it is not clear enough.
 
Physics news on Phys.org
b-boy said:
Let say i have two sets of numbers A and B. and I want to assigne to each number from A two slosest numbers from B. What i would do is to pick an elements from A and then go through the entire B set and find two closest. now if i go the other way arround in orderd to achieve the same result i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A. this way i would gat a subset of B assigned to each A element for which i can the alpply the initaill approach. My question now is:

"... i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A." is two enough. Obviously not but what is ?? How do i calculate/prove that ??

thnx

b-boy

PS

this is my first post so please help me improve my question if it is not clear enough.

Hmm... say you have A={1,2,3,4}, B={5,6,7,8}. Call your first assignment function F.

Then F(1)=F(2)=F(3)=F(4)={5,6}.

Now, call your second assignment function G. Then G(1)=G(2)=ø and G(3)=G(4)={5,6,7,8}, if I understand you correctly.

So, this latter would not assign any values to 1 and 2, and all values are assigned to 3 and 4.

To let G select more than 2 values would not solve the problem in a meaningful way either, as I understand it.
 
yes you understood me correctly and pointed out something that i did not see. My cases were ususly two uniformly (more or less) distributed sets. A= {1,3,5,7} and B = {2,4,6,8} and A <<B. but now when you pointed the flaw in my logic i have to reconsider my problem , thank you.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K