Skip to main content

Questions tagged [matching]

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.

2 votes
2 answers
57 views

excel - how to pick the whole row using randbetween

I'm trying to pick a random row from my dataset shown below. I'm wanting to pick out 2 rows from the list at random, with column C being the column that is randomized and column D to match with the ...
jenstar's user avatar
  • 31
0 votes
0 answers
10 views

Google Earth Engine: error "Invalid type. Expected type: Number" trying to compute a Number while performing histogram matching on satellite images

I am working on satellite imagery on Google Earth Engine (JavaScript), and I'm experiencing some issues while I try to perform histogram matching on two images from two different time periods. In ...
Aurora Bozzini's user avatar
1 vote
1 answer
52 views

Using for loops, while, tidyverse, or packages to create a dataset with matching characteristics from a previous one (sampling) [closed]

I'm working with panel data. We assessed children in 2019 and 2020. Therefore, I have two datasets (2019 and 2020) and I want to create a third dataset matching the data from the second dataset (2020) ...
Luis's user avatar
  • 1,552
0 votes
1 answer
32 views

Why does multiple sequence of wildcard characters not work in re.search?

I am trying to use re.search but with multiple wildcard characters and it does not work. Is there something else I have to do? Or is there a better method? import re pattern = '2A-CS-*.GPM.DPR.V*' ...
Charanjit Pabla's user avatar
5 votes
5 answers
132 views

Capturing all matches of a string value from an array of regex patterns, while prioritizing closest matches

Let's say I have an array of names, along with a regex union of them: match_array = [/Dan/i, /Danny/i, /Daniel/i] match_values = Regexp.union(match_array) I'm using a regex union because the actual ...
lumos's user avatar
  • 213
0 votes
0 answers
19 views

My IV summary in R reports as NA after imputing with mice and matching with Amelia

After imputing and matching, my IV of interest returns NAs. I have a dataset that is mostly complete but for a couple of variables - coord1D and cinc. I used the following code to create my ...
Dylan Irons's user avatar
0 votes
1 answer
36 views

Excel VBA to match cell colors and return a value on another cell

I'm a newbie here and in VBA as well. I'm not sure if my question has been answered in another forum but I didn't find any. Here's my problem, in Excel, Column A contains multiple coloured cells from ...
Mark Lawrence Jose's user avatar
0 votes
0 answers
29 views

Convert a Graph to a Good Graph using Maximum Mathcing in Bipartite Graphs Algorithm

Consider a graph G=(V,E) where a vertex v∈V is designated as the center if it is connected to every other vertex u∈V, such that both uv and vu are present in E. A graph is deemed 'good' if it has a ...
Stephen Stone's user avatar
1 vote
3 answers
82 views

Compare if a value from one dataframe is in the list of values of another

Consider these two dfs: df1 = pd.DataFrame({ 'Id': {0: 101, 1: 102, 2: 103, 3: 104}, 'Number': {0: 'A1', 1: 'A2', 2: 'B1', 3: 'B1'}}) Id Number 0 101 A1 1 102 A2 2 103 B1 3 104 ...
nzskra's user avatar
  • 171
0 votes
1 answer
42 views

How do you configure OpenSearch to allow finding exact matches with quotes

I'm trying to solve how an OpenSearch index and its mappings must be configured to allow searching with quotes to find an exact match of the search term. Currently, all fields are of type text and no ...
John's user avatar
  • 3,655
1 vote
0 answers
30 views

Nuxt3 - Specify page at runtime

I'm trying to programatically change which page in the /pages directory matches at runtime. E.g. there are two page components defined in the /pages directory: /pages/index.vue /pages/page-wide.vue ...
Stephan Fletzberger's user avatar
0 votes
0 answers
26 views

PAD ExcelData (DataTable) Match

I'm working on a Flow and am getting stuck on the next action I'm wanting to take. Essentially, the flow in PAD (Power Automate Desktop) goes to a specific folder and looks for a file. From there, it ...
RJ Jeanniton's user avatar
0 votes
0 answers
43 views

How to generate textureless areas and disparity discontinuity areas of a disparity map

I want to use the Middlebury classic data set to test the performance of my own improved stereo matching algorithm. However, only the 2003 data sets (cones and teddy) on the official website contain ...
刘氏之光's user avatar
0 votes
0 answers
30 views

Determine the next position of the proper prefix of the pattern string

When I learn Knuth–Morris–Pratt algorithm, I got a function f from the book Fundamentals of Data Structures in C. If p="p0 p1 ...p(n-1)" is a pattern, then its failure function, f, is ...
Junior's user avatar
  • 1
0 votes
0 answers
34 views

Mockito kotlin does not match the stub eventhough I am using any()

I have the following stub: whenever( creatorDataApi.getCodingTool( ecu = MockitoHelper.anyObject(), versionId = MockitoHelper.anyObject(), ...
FeXseven's user avatar

15 30 50 per page
1
2 3 4 5
183