A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [algorithms]

An algorithm is a set of one or more computations that will produce a calculated result. All statistics methods are algorithms. Algorithms can be simple, such as calculating a percentage, or can be very complex and require a computer for fast and accurate results.

Filter by
Sorted by
Tagged with
11
votes
4answers
964 views

In industry, what type of new data science algorithms does one develop?

I've seen several job descriptions for data science which include developing a novel algorithm to be a part of production environments. Can you give some input of what could be meant here exactly? ...
3
votes
1answer
30 views

What is a good method for detecting local minims and maxims?

I'm using kernel density estimation in order to compute probability density function for item (triangles in the figure) occurrence. Using this output, i want to find all the local minims and maxims. ...
2
votes
1answer
37 views

Machine learning solution approach to match loan repayments

I'm relatively new to the AI/ML space, but come from a programming background. The problem: I have a dataset of users transactions who have taken short-term loans from a single loan provider and I ...
1
vote
1answer
15 views

Need some info regarding string matching algorithms?

Let me explain a scenario to better explain my question, Assume I am working in a credit-card related company in which people uploads their receipts every month, I want to check if that person bought ...
1
vote
0answers
13 views

Need some advice on approach to select only the informative emojis from the data set?

I have a giant data set from a local elections, which contains hashtags, emojis, and comments. I wanted to make a network analysis using only emojis. So far I have a network analysis graph made in R ...
1
vote
0answers
12 views

How StarSpace works

I have gone through StarSpace algorithm but unable to understand how the output dimension is compared to Y (target variable) so that it can output the dimensions and loss function is optimized.
1
vote
0answers
19 views

Computational Complexity of Tucker decomposition

I am currently doing background reading for my Masters Thesis. I am working with tensor decompositions, whereby tensor I simply mean a multi-dimensional array. The aim of my master's project is to ...
1
vote
2answers
22 views

Best clustering algorithm to identify clusters and determine the closet cluster each individual response is near?

I have a survey where each question is related to a different 'shopper' type (there are 5 types so 5 questions). Each question is either binary (True/False) or scale based. IE: ...
4
votes
1answer
28 views

Training Machine Learning Model - Neural Network - Islands Problem

I was working on the following leetcode problem: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting ...
1
vote
0answers
32 views

How to convert this forumal to a proper code?

I have the following formula [1] that I attempted to transform in to a function via R. However, my initial outputs are disconcerting. Before I go through many blocks (images), I am hoping to get ...
-1
votes
0answers
19 views

How does Haar Cascades algorithm work?

Haar Cascade is a machine learning object detection algorithm used to identify objects in an image or video and based on the concept of ​​ features proposed by Paul Viola and Michael Jones in their ...
1
vote
0answers
22 views

Algorithms for classification / detection of hand gestures

I'm more or less new to machine learning, but I have a side project where I want to detect hand gestures in real time. Right now I'm using simple thresholds with if statements to detect static ...
2
votes
2answers
32 views

Clustering list of list of integers

I have ~100 sets of samples with integer IDs. For example, 3 of them could be: a = [0, 1, 3, 4, 6...] b = [1, 5, 9, 102...] c = [1, 7, 10, 42...] I am looking to ...
0
votes
1answer
14 views

What is the output polytree after aplying the Ramex algorithm to this graph?

I've been trying to understand the way this algorithm works, but I can't get a consistent result. It has two phases: the first one coverts a table of events into a graph, and the second where the ...
0
votes
0answers
19 views

What kind of loss function should be used for a problem like this?

My dataset consists of hierarchical timeseries. One could imagine it as "total sales" and segmentation per product. Something like this: ...
0
votes
2answers
20 views

Suggestions on how to explain 'models' & 'algorithms'

I guess other members of this Stack have ran in to this before, but I may be wrong: Have you ever been approached and asked to explain the difference between models and algorithms? This happened to be ...
1
vote
1answer
113 views

Is Annoy a machine learning algorithm to find nearest neighbor ? and is it similar to K nearest neighbor algorithm?

I was researching about Google universal sentence encoding and i saw that it uses simple neighbor/Annoy to find the nearest vector for semantic-similarity search engine. This is the first time i'm ...
0
votes
0answers
5 views

Time Series and forecasting individual reservations

What kind of algorithm would best for following problem. I try to forecast reservation of different kind of tables. Let's say I have 100 different tables, which are reserved for from 17.00-22.00 ...
0
votes
0answers
19 views

Image deblurring network (not a GAN)?

GANs take a long time to train. I have to train and use a machine learning algorithm (not necessarily a deep learning algorithm) that is able to deblur any image (after training it in about 10 hours: ...
0
votes
0answers
18 views

Latent Dirichlet Allocation in R, topicmodels using VEM algorithm or Gibbs Sampling mixing tm and topicmodels library or WarpLDA from text2vec?

If I am trying to classify 230k text abstracts, which option would be better and more precise when aplying LDA?
0
votes
0answers
9 views

How to approach the topical text categorization of a small collection of short texts?

I have a set of 200 very short documents, between 1 and 20 words each. One of my colleague would like to classify each of these documents in three predefined topics (let's call them "A", "B", and "C"...
0
votes
1answer
55 views

How to find bias for perceptron algorithm?

My question is very basic. I am starting with ML and am working on the perceptron algorithm. I successfully computed the weights for this input data: ...
1
vote
1answer
25 views

How can we conclude that an optimization algorithm is better than another one

When we test a new optimization algorithm, what the process that we need to do?For example, do we need to run the algorithm several times, and pick a best performance,i.e., in terms of accuracy, f1 ...
1
vote
1answer
21 views

Unsupervised Algorithm for hybrid data [duplicate]

I have a hybrid data that contains 15 categorical data and 4 continuous data. I need to implement a prediction on the data. So as I don't have any labeled data, I need to implement the unsupervised ...
0
votes
0answers
13 views

Finding the closest neighbour of multidimensial data point

I have a test point with 15 attributes. I want to find the closest data point to this test point from 10,000 data points. I'm thinking using something like this: ...
1
vote
0answers
9 views

Using Hausdorff Distance with Time

My company tracks objects. I have developed an algorithm that tries to identify objects that are attached to each other. It does this in real time and starts trying to identify objects after roughly ...
1
vote
0answers
25 views

Help with MLP convergence

I posted this question on AI SE and got advised to ask here for guidance. I've been stuck for a couple of days trying to figure it out how the standard MLP works and why my code doesn't converge at ...
1
vote
0answers
32 views

Clustering data by multiple values

I am trying to find a way to cluster/group students by their knowledge of different subjects. Given following as an example: ...
0
votes
1answer
24 views

How do I use this depth first search code to obtain a topological sort?

Problem: I need to implement a topological search using the following depth first search code. Note: The original code comes from here, and this is a problem given in at the end of the chapter. I'll ...
1
vote
0answers
19 views

How can I train a machine learning model with below characterstics? [closed]

Hi I have a classifier model to solve, which has close to 56k samples and 30 features which ...
0
votes
0answers
5 views

Selecting right cartons for meeting demand (retail supply chain)

I am working on an inventory allocation problem and I could use some help figuring out an optimal solution. Let's say a retail chain's warehouse stores inventory in cartons (physical boxes). Each ...
1
vote
1answer
186 views

Suggestions for Matchmaking Algorithm

I run a heterosexual matching making service. I have my male clients and my female clients. I need to pair each of my clients with their "soul mate" based on several attributes (age, interests, ...
0
votes
0answers
16 views

Model or algorithm for iterative optimization

Here is my problem : At every loop, I have new data that depends on the previous outputs. I need to approximate the function that optimizes (minimizes / maximizes) this new data on every iteration. ...
2
votes
1answer
27 views

Predicting probability for each tag given already chosen tags

I have a set of tags (~10'000, will be extended over time) presented to a user. After he has selected 3 or more tags, I want to predict for each remaining tag what the chances are that the user will ...
1
vote
1answer
19 views

Finding the usage percent to perform predictive analysis for new users

Problem Statement- I have to find the average feature usage all the users and the usage of user X to suggest if he should use the feature. Example - On google home page out of all the user's avg 85% ...
0
votes
0answers
19 views

Algorithm for Calculating average feature usage

We arr trying to develop an algorithm to calculate the average usage of a feature on a website. e.g. usage of search button on google page. Approach 1- Average usage = count of feature use/ count of ...
4
votes
3answers
169 views

Decision Trees - how does split for categorical features happen?

A decision tree, while performing recursive binary splitting, selects an independent variable (say $X_j$) and a threshold (say $t$) such that the predictor space is split into regions {$X|X_j < t$} ...
0
votes
0answers
24 views

Predicting house pricing given a dataset consisting of [ location: date of transaction: price ]

What would be the right way to tackle the problem of predicting median house pricing, given that the data I have for training consists in a big list of entries that have the following values: ...
1
vote
1answer
20 views

What are the latest and most succesful classification algorithms at the moment?

I have googled this for some time with no luck. All i get are tutorials or articles explaining the classic algorithms like linear regression, random forest, etc. I would like to know which are the ...
0
votes
2answers
31 views

suitable algorithms for very high dimensional ”binary pattern" recognition?

I have a dataset consisting of 3000 binary features and one binary ouput. subset of these binary features form binary patterns. these subsets could be neighbouring features or from different regions (...
0
votes
0answers
13 views

Which machine learning algorithms result in trained models with deterministic execution times?

Which machine learning algorithms result in trained models which have a deterministic execution time?
2
votes
1answer
32 views

Building a time-series demand forecasting model

I am forecasting demand for certain types of goods and services, which I expect to be correlated to a sub-set of a basket of macroeconomic indicators (considering 15-20 indicators) I do not know ...
0
votes
0answers
37 views

Single Word Classifier

How to use machine learning algorithms to predict class of single values/words ? ...
0
votes
1answer
63 views

Why do you need to learn statistics for machine learning?

This maybe a very broad question. Please do not delete. However, I am curious on why do we need to learn statistics for Machine Learning? This is given that the software libraries used already have ...
2
votes
1answer
47 views

What algorithm is best suited to derive the best match between two people in a data set?

Say i have a large data set that contains the following data; ...
2
votes
0answers
30 views

How do I use the supervised learning classification in my project? [closed]

Just to give an idea of what I'm doing: I'm doing a project with financial data (tick data) and I'm trying to create a way make a model learn what happens before a breakout. Usually there ...
2
votes
1answer
57 views

How to efficiently iterate a supervised model over the Cartesian product of very large number of records?

The problem: Two large databases, with ~1M records each, "old customer data" and "new customer data". The data came from different sources and was ingested at different times, so there are many ...
0
votes
0answers
22 views

Handling collection of featurevectors for classification

I have a data set where devices are represented by a collection of variables. These variables consist of several properties like a name, datatype, driver, limit values, etc. (mixed data; quantitative ...
1
vote
0answers
21 views

What approach should I take to model forecasting problem in machine learning?

I have a dataset which contains 4000k rows and 6 columns. The goal is to predict travel time demand of a taxi. I have read many articles regarding how to approach the problem. So, every writer tell ...
0
votes
0answers
26 views

Deep learning: How to write pseudo algorithm for network architecture

How do I write pseudo algorithm for any deep learning model? I was going through few deep learning papers on graph and there is pseudo algorithm for network architecture, Example : That is overall ...