Questions tagged [pattern-recognition]
Pattern recognition is the term given to the science of automating the classification of input into pre-determined categories, or on the other hand, of being able to recognise particular categories of input by their characteristics.
521
questions
-2
votes
0
answers
23
views
Any specific python library to accurately distinguish minority class/ outliers [closed]
I am wondering is there any specific python library to correctly predict y(dependent variable) for the minority class or outliers than using any resampling techniques.
My data set is detecting fraud ...
0
votes
0
answers
26
views
accurate detection of circles in special medical images
I have many medical images with dcm file format. There are circles in the photos (6 circles but the sixth is too small to see).
I want to calculate the radius of these circles very precisely. At least ...
0
votes
1
answer
49
views
Simple shape recognition and classification by algorithm
I'd like to classify simple shapes (see the attached "sample resource of shapes") algorithmically (automatically). Does anyone know how to do that?
The intended result would be a text such ...
0
votes
0
answers
36
views
Signal (chromatograms) processing using Machine Learning
Lets say I have four raw chromatogram signals and I also have their respected processed signals.
Is it possible to train the Machine learning model to learn signal processing steps? The idea is to ...
0
votes
0
answers
27
views
Hexagonal pattern recognition
We're a group of mechanical engineering students trying to clean up a piece of honeycomb material, after it's been cut on a CNC router. We're not looking for any specific answer to a coding problem ...
0
votes
0
answers
213
views
Creating a h5 file with datasets and label
I am taking a Pattern recognition subject in this semester. I have a project to do face detection system from 3000++ images. I am using python for this project.
What I have done so far is convert the ...
0
votes
0
answers
73
views
How to implement linear regression using Least Mean Square algorithm
I have a data set and I read it with pandas.
I want to predict a specific column of my data using the least mean square algorithm and then apply k-fold validation.
I am having trouble finding a way to ...
0
votes
0
answers
81
views
2D arrows or line detection and image rotation
I'm working with the archaic observational data that are greyscale images like the one attached. The total set consists of ~10000 images taken a long time ago. Each image contains a N-E coordinate ...
0
votes
0
answers
27
views
Error when converting image to black and white for OpenCV facial detection [duplicate]
I'm trying to use OpenCV to detect the face in the image "test.jpg" using a Haar Cascade. The picture is in the same file as the python file itself. Here's the code:
import cv2 as cv
...
-1
votes
1
answer
143
views
Is there an algorithm to find known size and shape object in an image?
Since image processing and computer vision aren't of my field of study I'm having difficulty finding an algorithm that can identify the positions of rectangles of known size and proportion in certain ...
0
votes
0
answers
20
views
What kind of algorithm is used by papermint.com to offer a preview of your room with a specific wallpaper?
There is an online wallpaper shop with an awesome feature : you choose a wallpaper, you upload a photo of your room and it shows you a preview of your room with the wallpaper. What kind of algorithm ...
2
votes
1
answer
52
views
reg ex to allow any combination of numbers till the specific number python
I need to extract three patterns from the given string of numbers separated by a comma.
data=
"2,2,2,2,4,3,2,4,3, 2,2,2,2,4,3,4,3,2,4,3,4,3, 2,2,2,2,2,4,3,4,3,3,2,4,3,4,3,3 ,2,2,2,3,4,4, 2,2,2,2,...
0
votes
0
answers
165
views
Handwritten character recognition with Gabor Filter and SVM with PCA
I am trying to build a simple program in Python to classify handwritten digits (numbers) with the Gabor filter.
I am using the MNIST database (http://yann.lecun.com/exdb/mnist/) for the training and ...
0
votes
2
answers
137
views
How to find and describe consecutive NA-values in a time series?
in order to cluster time series by certain criteria I want to measure the length of gaps inside of the series. These gaps may indicate various business problems and an experienced analyst should have ...
0
votes
0
answers
34
views
Database Migration: Tools to identify relationships in NoSQL databases?
I'm currently looking at different possibilities to identify relationships within a NoSQL database like MongoDB (maybe even Cassandra). Since I might not know the data beforehand (e.g. e-commerce ...
0
votes
0
answers
77
views
Similarity Scoring for candlestick patterns
I am making a stock market predicter as a portfolio project and am currently using 100 - percentage change to calculate a similarity score. with a pattern of 21000 to compare with if I set the minimum ...
0
votes
1
answer
37
views
Comparing and Quantifying similarity in a set of non linear data
I have 2 lists of data which are basically a batch of SEQUENTIAL data(thus, data cannot be sorted) from a larger database which are as follows
a = [0.8, 0.9, 0.4, -0.4, 1.12, 1.16, 1.08, 1.22]
b = [0....
0
votes
3
answers
117
views
How to analyze frequency of characters in a text file
I have a text file which has approximately 25 millions of lines included. Data on the lines are similiar below:
12ertwrtrdfger
897erterterte
545ret3w2trewt345
968587563453345
89753647565344553
I ...
-1
votes
1
answer
74
views
Finding Accuracy between two patterns
I have faced problem with finding the similarity scores between two patterns. For example, I have normal ECG pattern,
and abnormal ECG pattern
Then I want to get find the accuracy of normal pattern ...
0
votes
1
answer
36
views
How can I predict a user generated distribution by learning from previous distributions
I am trying to program a prediction algorithmus which predicts the distribution of marbles among 4 cups based on the prevision user input. But I have no idea where to start or which techniques can be ...
9
votes
3
answers
22k
views
Pytorch RuntimeError: expected scalar type Float but found Byte
I am working on the classic example with digits. I want to create a my first neural network that predict the labels of digit images {0,1,2,3,4,5,6,7,8,9}. So the first column of train.txt has the ...
2
votes
0
answers
2k
views
Generalized Hough Transform in OpenCV - set angle precision
I have a problem with Generalized Hough Transform (Guil version) in OpenCV. My code:
def generalized_Hough():
img = cv2.imread("img.png")
img_gray = cv2.cvtColor(img, cv2....
0
votes
1
answer
94
views
Why cv.matchShape is NOT invariant to translation as it claims?
I have two contours to match (think of them as any arbitrary 2D closed curves). opencv claims to have matchShapes function that is invariant under translation, rotation and scale. But it seems to me ...
1
vote
2
answers
202
views
Classifying pattern in time series
I am dealing with a repeating pattern in time series data. My goal is to classify every pattern as 1, and anything that does not follow the pattern as 0. The pattern repeats itself between every two ...
0
votes
0
answers
56
views
How to perform pattern recognition across parameters and interpolate it using Python?
Let's say there is a simple sinusoidal data according to a parameter.
For a parameter a = [1, 2, 3, ..., 18, 19, 20],
2-D temporal data exists where,
y(a, t) = a*sin(a*t + a) (t=time)
So, ...
0
votes
0
answers
43
views
Solving a prediction problem where datasets are time based?
How would one go about solving a machine learning problem where the datasets are time based but not necessarily the data?
Say for example in an undergraduate degree. Each year a new batch of students ...
1
vote
1
answer
49
views
Implementation Issue: Deep ConvNet for Pattern Recognition
I'm trying to implement a pattern recognition model using a fully convolutional network (fig 1 in https://www.sciencedirect.com/science/article/pii/S0031320318304370, I was able to get the full text ...
0
votes
0
answers
892
views
Circle Detection inside Images
I've developed a circle detection algorithm to recognise empty circles or filled circles for marking multiple-choice questions using Hough Circle Transform in OpenCV. However, I've tried to adjust the ...
0
votes
2
answers
107
views
How to find specific pattern in a Python list?
I have a list containing only True and False values. I am looking for a pattern when the elements of the list changes from True to False or vise versa more than 3 times.
Example (T is used for True ...
2
votes
1
answer
978
views
How to detect sine pattern in a signal or time-series data?
I need to detect sine patterns in time-series data. Data includes small oscillations and a few numbers of sine patterns. What I need is [Start Time, End Time] of sine pattern.
Please note that there ...
0
votes
1
answer
527
views
Model has no attribute 'shape' - VGG16 Model
I'm trying to use VGG16 model to classify the RAVDESS video_song dataset. To do this, i have extracted 3 frames per second from each video. Then, i use InceptionV3 to extract features from this frames,...
1
vote
0
answers
26
views
How do I use PRtools' forward feature selection in MatLab?
I am trying to apply a forward feature selection on a PRdataset. Following the syntax presented online though produces a bunch of errors that I don't quite understand and haven't been able to solve. ...
0
votes
0
answers
15
views
How to get regularization parameter given by 𝜆 = 𝛼/𝛽 in MAP
maximizing the posterior distribution is equivalent to minimizing the regularized sum-of-squares error function with a regularization parameter given by 𝜆 = 𝛼/𝛽.
Maximizing the posterior ...
0
votes
0
answers
362
views
Are there ways to do some crops in an image based on a given pattern?
I have an image of pots of the same size, the user must crop an area (let's say he crops the first pot (top left corner)) of the image and depending on the pattern designed or cropped by the user, I ...
0
votes
0
answers
32
views
programming methodology needed, finding irregular/abnormal pattern on image
I've got 65 heart rate images like below.
I want to distinguish irregular/abnormal heart beat pattern(red points) from good ones(green poins) on graph in the pictures.
I annotate colorful points ...
0
votes
1
answer
82
views
Purpose of Gaussian RBF kernel
Does anyone know the purpose of a Gaussian RBF kernel? Is it to classify data that is not linearly separable? What kind of representation bias does it capture?
0
votes
1
answer
81
views
Is 'feature extraction' a core machine learning task?
I have been arguing with a friend about ‘feature extraction’. He says the main task of ML is to extract features. But I disagree. In a common-sense feature extraction is not an ML task. If we consider ...
0
votes
0
answers
137
views
R: How can I turn off partial pattern recognition when selecting data frame rows by a vector of required row names?
I have been seeing unexpected results when selecting rows of a data frame using a vector of required row names. I've realised this is because R is allowing partial pattern recognition between data ...
0
votes
1
answer
60
views
zigzag pattern in matrix of questions
I am working on a survey data. It asks several matrix questions about level of satisfaction of respondents about several items. Below is an example.
q1: how much satisfied are you with the item A? "...
1
vote
0
answers
123
views
Pattern recognition in multiple time series
I'm trying to detect two types of patterns in sets of 10 time series. The two patterns occur quite close together, and the first is usually higher frequency than the second one. Here's an example:
...
0
votes
1
answer
151
views
OpenCV - Detect (one of) multiple objects in image
I have image with wood trunks.
I have to detect each wooden trunk individually. It looks similar like following image:
wooden trunks
Do you have any ideas about approaches how to do that?
Should I ...
0
votes
0
answers
85
views
How to find camera pose for rigid objects of an image given 3D points in local coordinate system?
Given image points and corresponding 3D points of 7 objects in an image (all objects in their local coordinate system) how can I find camera pose for each of the objects. Some hint that is given to ...
0
votes
1
answer
76
views
How to design a ANN for signal processing properly?
I don't really understand how I should implement following problem with help of ANN:
Let's say I have a few data sets, which represent the force on a car. (The test car drives on a special road with ...
0
votes
1
answer
237
views
Classifier produces continuous values rather than distinct labels
This documentation article explains how to apply a multi layer perceptron for a classification task. I have an input feature vector of length 80 and would like to train a multi layer perceptron to ...
0
votes
1
answer
28
views
How can I cluster a set of queries with starting and ending times?
I'm given a set of queries q_1, q_2, ..., q_m. The query q_i for any 1<=i<=m can be executed several times in different times. I'm also given the starting and ending times of any execution of ...
0
votes
1
answer
68
views
Motion Detection of an 1D Array (neural network or other options?)
I am currently developing a project for the detection of different sounds. The software should analyze an incoming sound as a wave file and recognize certain tags. For some tags, I use neural networks,...
-1
votes
1
answer
92
views
Log Template Generator
From the logs, I would like to find Unique logs or rather unique log template.
And use a custome String like < XXX > to show the blanks.
Example,
Server Stats 1001 created by 12, hosted.
...
2
votes
4
answers
646
views
How to define a function that recognizes my date format in python
I want to create a function or a loop with the conditional: if this string follows this format is a date, so return True, otherwise return False.
I already tried it with this code, but when I run ...
0
votes
1
answer
133
views
Can I use Machine Learning to identify the best product configuration
Is this a scenario that would work well for a ML/Pattern Recognition Model or would it be easier/faster to just filter from a large DB.
I am looking to create a system that will allow users to ...