Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen 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
0
votes
0answers
6 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
17 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
16 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
9 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
23 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
17 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
20 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
27 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
52 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
24 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
17 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 ...
2
votes
2answers
57 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
23 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
19 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
24 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
12 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
28 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
30 views

Single Word Classifier

How to use machine learning algorithms to predict class of single values/words ? ...
0
votes
1answer
61 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
43 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
20 views

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

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
29 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
18 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
20 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 ...
0
votes
0answers
6 views

Loyalty Insentive vectorization

I am working on an Telecom Loyalty program's insensitive project. Right now I am stuck how to convert a scheme or offer by companies into relevant numerical vector to be fed in some model. I am in ...
1
vote
1answer
49 views

Is there a way (like planning algorithms) to draw a successive polyline to fill a specific shape (like triangle)?

there is a specific shape (like triangle) area, i am trying to develop an program to draw a successive polyline inside the triangle to fill the triangle, one line 3 layers this post demonstrates some ...
1
vote
0answers
26 views

What is the name of the prediction method?

Suppose, I have a data set: ix m_t1 m_t2 1 42 84 2 12 12 3 100 50 then, we can calculate the difference between ...
0
votes
0answers
12 views

How to solve a tie in one-r?

when using the one r algorithm with this data a triple tie happens, age group = 10/12, fresh fruit = 10/12 and id = 10/12 why does weka choose age group? Age group: Senior -> Anchovy ...
0
votes
1answer
35 views

clustering people according to answers on survey

Hi I am finding it hard to find online the best clustering algorithm for clustering people according to answers they gave on 20 question survey. There are four categories which each of these answers ...
0
votes
0answers
15 views

Reinforcement Learning - Q Learning - Number of Steps to Decrease?

I have an implementation of the Q-Learning algorithm intended to solve the racetrack problem. I have noticed that the initial amount of steps needed to solve the problem is somewhere between 3000-...
2
votes
1answer
55 views

K-Nearest Neighbours algorithm explanation needed

I need some explanation for K-Nearest Neighbors algorithm. Why is the training process needed in KNN algorithm? In regression models the training process means to find optimum parameters for a ...
0
votes
0answers
46 views

How to test multiple algorithms at once?

I was wandering if there is a method with Python and/or Sklearn to test multiple algorithms at once instead of run them one by one and see the accuracy. I have been looking on the web and I've found ...
2
votes
0answers
32 views

Estimating location in a model

I have a big dataset with 10 columns and about a 100,000 rows. Each 5 rows represent a person being tracked and the data related to this tracking such as time, velocity, etc. the last two columns are ...
1
vote
0answers
51 views

Is the Apriori algorithm suitable for database tuples?

Problem description: I need to use an association rule algorithm that lets me use database tuples and I think Apriori is a good option, but I am not sure. Starting point: I know the Apriori ...
2
votes
1answer
170 views

In which cases shouldn't we drop the first level of categorical variables?

Beginner in machine learning, I'm looking into the one-hot encoding concept. Unlike in statistics when you always want to drop the first level to have k-1 dummies (...
0
votes
3answers
614 views

How to install XGBoost or LightGBM on Windows?

I'm a Windows user and would like to use those mentioned algorithms in the title with my Jupyter notebook which is a part of Anaconda installation. I've tried in anaconda promt window: ...
0
votes
1answer
36 views

Comparing English word pronunciation complexity

I'm trying to figure out a way to compute a score for the pronunciation of a given english word, so I can use that score to compare the pronunciation complexity between english words. Eg: Given ...
1
vote
1answer
35 views

Proper Understanding of Condensed Nearest Neighbor

I have a question regarding the Condensed Nearest Neighbors algorithm: Why am I returning Z, which if I understand correctly, is the array of all of the ...
1
vote
0answers
24 views

Detecting seasonality in timestamped events

I have a program that detects events in a large amount of measurement data. When it detects an event, it writes a timestamp. I have thousands of event timestamps. What I wish to do is detect if there ...
2
votes
0answers
26 views

Multiclass classification problem with more prediction classes than real classes

Can I have a multiclass classification problem with more prediction classes than real classes? For example: I want to predict the channel the user is going to watch. The real classes are "user didn't ...