For questions related to pattern matching, using character sequences or tree structures. In contrast to pattern recognition, the match described here usually has to be exact.
Questions tagged [matching]
2735 questions
0
votes
0 answers
Matching two DataFrames with FuzzyWuzzy Score and replace values
I want to harmonise suppliers who have different spellings, see in Supplier_Name. I already changed some things and now I am at the point Refined.
This is the Situation
I want to change the values in Refined with the best matches in…

Juleeees8x
- 1
- 2
0
votes
0 answers
Visual studio 2022, Press '(' on selected text not working (as expected)
I don't know how to describe this behaivor:
Press ( key on selected text in vs2022, what i want is to replace the whole selection with (, but it does not, even worse, what it does is to add another ) to the end of the selection, this is really…

21k
- 391
- 5
- 16
0
votes
1 answer
How to find object in array of objects, whose nested array matches all the objects in a separate array?
How to find object in array of objects, whose nested array matches all the objects in a separate array?
I have an array of options and an array of productVariants. I would like to find the productVariant who's selectedOptions property matches all…

anywhereseason
- 127
- 1
- 8
0
votes
0 answers
Check for indentical rows in a numpy arrays
I have 2 numpy arrays: points = np.array([[253, 1472], [301 1956], [796, 1011], [3, 2179], [759, 844], [485, 1053], [312, 1536], [485, 1505], [313, 1304], [357, 1434]]) and coords which basically contains all of the coordinates from [0, 0] to [2000,…

Kuba Głowacz
- 49
- 1
- 6
0
votes
1 answer
SAS - matching and assigning matchid to the matching record
I have a data like below, one line for one person, there can be one or more persons having the same age and from the same area. I have one dataset with cases and one with possible controls, they look like this:
data cases;
input id age area…

user1897747
- 5
- 1
0
votes
0 answers
Is it possible to use OpenCV Sift for manuallly selected keypoints which are the vertices of bounding boxes?
I have a sequence of camera images overlapping each other, and I did an object detection by Faster RCNN deep network, which resulted in bounding boxes per image per each object, and I am going to do triangulation to convert bounding boxes…

Python Lover
- 51
- 10
0
votes
0 answers
There are 50 courses and 500 students. Ecah student will register 5 course from it. How could I tell if there exsit a time table with no conflict?
I am doing a project that makes a course-table(location and time) for students that minimize their walking distance by using genetic algorithm.
There are 500 students and each of them will register for 3 mandatory courses out of 10 courses, and 2…

Jesse Jin
- 21
- 1
- 4
0
votes
1 answer
How to match multiple words from list with pandas data frame column
I have a list like :
keyword_list = ['motorcycle love hobby ', 'bike love me', 'cycle', 'dirtbike cycle motorbike ']
I want to find these words in the panda's data frame column and if 3 words match then it should create a new column with these…

rudra
- 11
- 3
0
votes
1 answer
How to use "git bisect run" for locating first commit introducing a string into a file which only exists in some commits
Let's say I want to locate the first (oldest) Git revision which adds the line delta to text file file.
But I want to use git bisect for this rather than searching the output of git log -p because of performance reasons (huge repository).
First…

Guenther Brunthaler
- 727
- 5
- 12
0
votes
0 answers
Analyzing Parallel Matching Algorithm - Why it takes O(n+m) time and work?
Using the algorithm provided by this paper, they said that:
The algorithm defines a single phase of the local max algorithm. Each step of the phase takes at most O(log(m + n)) = O(logn) time and O(n + m) work in the CREW PRAM model. Over O(logm)…

Reem
- 107
- 1
- 7
0
votes
2 answers
Compare two lists of strings and replace values that don't match [Java]
So if we have a list of strings, for example
ArrayList listA = new ArrayList(Arrays.asList("C", "E", "B", "F", **"E"**, "A", "G", "G", "C", "A", "B", **"G"**));
And there's another list:
ArrayList listB = new…

KonTiki
- 13
- 3
0
votes
2 answers
How to use Index, Match and Product functions in excel for this questions?
Week # 1 2 3 4 5
Ratio 0.9 0.9 0.8 0.8 0.6
Select week from Drop Down List ____ (we have 1,2,3,4,5 inside)
So how can we use index,match,product or other excel formulas for performing the following task:
If 3 is selected from the…

Nasraddin Afandi
- 3
- 1
0
votes
1 answer
MySQL - Matching Two Tables
I have two tables, first called list_city contain list of city in Europe, example:
=========================
= ID = CITY = COUNTRY =
=========================
= 1 = LONDON = UK =
= 2 = PARIS = France =
= 3 = ROME = Italy …

Arthur
- 17
- 6
0
votes
1 answer
Return teams that have never played each other - SQL
I have the table matches
id_match
id_team1
id_team2
1
USA
JPN
2
AUS
USA
3
CAN
POL
4
POL
USA
and the table teams
id_team
name
USA
United States
JPN
Japan
...
...
And i want to return a new table of teams that have…

zaf
- 3
- 1
0
votes
1 answer
INDEX MATCH not returning data correctly
I have an Index/match and it isn't returning all names correctly. The error seems to be if there is a duplicate last name but I don't know how to correct it. Here is my formula:
=IFERROR(INDEX('[Data File]Sheet1'!$E:$E, MATCH(A2, '[Data…

saidtheJesse
- 27
- 3