# 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.

389 questions
Filter by
Sorted by
Tagged with
15 views

### Finding the tightest (smallest) triangle that fits all points

I'm supposed to find an algorithm that, given a bunch of points on the Euclidean plane, I have to return the tightest (smallest) origin centered upright equilateral triangle that fits all the given ...
• 103
12 views

• 121
20 views

### Compare multiple confusion matrix with unbalanced data?

I have a dataset with about 240k points, where the first 30k are "normal" (first class) and all the other 210k are considered anomalies (second class). I have applied on it four different ...
• 43
53 views

### How do I minimizie cost for EV charging?

I want to find a charging schedule that minimize cost of charging an EV. The main objective is to have a fully charged car for the next morning, but the sub objective is to minimize cost based these ...
36 views

### Using MySQL Common Table Expressions to solve the travelling salesman problem

The problem I'm trying to solve is very similar to the travelling salesman problem, where there are many paths between nodes in the database. I've tried to edit my example to fit into this well-known ...
• 101
58 views

### Implementing Smoothed Isotonic Regression

In the paper here the authors suggest a new way of calibrating classifiers, called Smoothed Isotonic Regression (Algorithm 1). As I follow the algorithm along, I noticed a problem in lines 19-20: ...
• 123
28 views

### Which type of Reinforcement Learning to use?

First of all, I am new to the topic of machine learning, AI, etc. However, I would like to create a sophisticated decision algorithm. The decision is a Boolean decision and you can suppose the result ...
24 views

### Which algorithm works well for forecasting sales prediction and the reason to choose particular algorithm?

I am working on a project 'Rossmann Sales prediction', in which I have to forecast the sales of Rossmann Stores. So it is a supervised ML problem. I applied random forest. But then in interviews ...
1 vote
25 views

### Which ML algorithm is best works on text data and the reason behind it? Also, which metrics is used for testing performance of model?

I am working on a project - 'sentiment analysis of tweets.' There are 5 different sentiments - extremely negative, negative, neutral, positive, and extremely positive. So it is basically the NLP ...
89 views

### Should deterministic models be trained splitting into train, test datasets?

I'm studying the difference between GLM models (OLS, Logistic Regression, Zero Inflated, etc.), which are deterministic, since we can infer the parameters exactly, and some CART models (Random Forest, ...
17 views

### machine learning algorithm to synthesize outside the data set?

I would like to know if there is a model or ai algorithm to synthesize images outside the dataset. For ex. I train a gan with a cat dataset. but I can't use the same gan to synthesize cars. There is ...
• 179
7 views

### Feature selection algorithm for psychometrics, when there is several predicted variables

I'm on a psychometric study. It is a survey. All variables are on a scale of 7. So these are considered as continuous variables. I have this dataset: 600 features 100 predicted variables 100 survey ...
• 111
1 vote
42 views

### Detecting a Piecewise, Noisy, Linear Signal, with Constant Slope and Changing Y-Intercepts

I am trying to algorithmically detect a 2D linear signal under some noisy data. It is almost a textbook candidate for Robust Linear Regression, except for the fact that, while the slope remains ...
12 views

### Train and test data fixed during boosting?

I have question about boosting algorithm. I know that boosting is a sequential process and it gives high weight to misclassification of previous model. Then, its' train and test data are fixed through ...
• 1
30 views

### Can we say brute-force is completely exploration-based?

My definition of exploration is [Exploration] refers to searching a much larger portion of the search space with the hope of finding other promising solutions that are yet to be refined. This amounts ...
• 101
90 views

### When should I use 'rbf' and 'polynomial' kernel trick in machine learning algo?

I have a problem about hate-speech classification using support-vector machine algorithm. The task is to identify the sentence that contains 'positive' or 'negative' sentiment. Which is the best ...
31 views

### Can the 'Rainbow Algorithm' be scaled up and sped up?

What's the proper way to train the algorithm with bigger batches or otherwise speed it up? The 'Rainbow Algorithm' is a Deep Q, Reinforcement Learning algorithm with two neural networks that I would ...
• 157
23 views

### Any well documented algorithm/function for previously bought recommendation system

I'm working on a previously bought recommendation system for a project. The list I'm trying to sort is static and does not change over time. Assuming each user purchases different items at different ...
• 101
1 vote
59 views

### Understanding how anchors are created in a regional proposal network

I understand that in Faster R-CNN, the image is fed into a pre-trained CNN (such as VG16). So say I have a 37x50x512 feature map. Firstly, I assume that each feature map (37x50x1) is fed into the RPN? ...
1 vote
21 views

### How does Google's 'showing results for' work? [closed]

If I search 'I love to eate my food' on Google then Google will 'show results for' I love to eat my food.... How does this algorithm work?
• 19
1 vote
78 views

### Machine learning algorithms for suggesting new baby names [closed]

https://www.lexalytics.com/lexablog/machine-learning-natural-language-processing https://towardsdatascience.com/named-entity-recognition-ner-meeting-industrys-requirement-by-applying-state-of-the-art-...
40 views

### I need direction for a research project

I am new to machine learning so please bare with me. I'll try to keep this short and sweet. We are building a makeup simulation and recommendation system. My part is to recommend a makeup which is ...
• 11
1 vote