# Questions tagged [algorithms]

An unambiguous list of computational steps involved in finding a solution to a class of problems.

737 questions
441 views

### Evening out a set of buckets

(I am not strong in statistics so please forgive me if I don't use the correct terms here) Let's say I have a book with many (1000+) sections, and each section varies significantly in the number of ...
11 views

### Grouping Similar Sequences

I have extracted a ton of log data from a mobile application. The objective of this task is to identify similar patterns of behavior. Which algorithm should I look at which will group behaviors ...
517 views

### Expectation Maximization Clarification

I found very helpful tutorial regarding EM algorithm. The example and the picture from the tutorial is simply brilliant. Related question about calculating probabilities how does expectation ...
4 views

### R String Generation Query [closed]

I am stuck in an Interesting Problem. I have this dataset ...
207 views

### Are loss functions what define the identity of each supervised machine learning algorithm?

For supervised machine learning algorithms (ie: regularized logistic regression, SVM, decision trees, etc), are their specific loss functions the main/only reason they differ from one another?
131 views

### Time complexity of simple linear regression in $L_1$ norm

I come from a computer science background. I'm considering simple linear regression using $L_1$ distance. We are given points $(x_1,y_1),\ldots,(x_n,y_n)\in \mathbb{R}^2$. We are interested in ...
925 views

### Is it legal to publish the code of a published algorithm? [closed]

Let's say I want to implement an algorithm based on a paper or book and publish it under a non-proprietary but not necessarily non-commercial-friendly license (e.g. on a blog). Is it legal to do this?...
72 views

### Machine learning algorithm test/evaluation sample size

I have recently implemented a machine learning algorithm as a part of a new credit risk scoring system. I would now like to evaluate the accuracy/performance of the algorithm when used in a "real ...
175 views

### Nearest neighbor with lower value

I have a collection of p points in n-space, and a p-vector of scalar values corresponding to each point. In this example, p is much larger than n. Is it possible to build an R-tree (or some other ...
7k views

### Tic Tac Toe AI with Machine Learning

I am new to machine learning and as one of my first projects I decided to make a tic tac toe bot. What I've done so far is a rgb/hex color recognition with the naive bayes algorithm, which was really ...
30 views

### Question about validity of an MCMC algorithm

Let suppose I want to sample from the posterior distribution of $X_1,X_2|y$ using an MCMC algorithm and let indicate with $X_i^t$ the value of $X_j$ at the $t-$th iterations. I want to know if the ...
49 views

### Probability that rolling N dice that the two larger dice sum to X [closed]

New here. I'm trying to figure out how to come up with a roll system for a game, where i want the probability of rolling N dice or rolling one dice N times and then taking the two largest outcomes, ...
21 views

### Iteratively Reweighted Least Squares Poisson Regression with Non-Canonical Link, eventually in R

I am attempting to implement iteratively reweighted least squares (IRLS) for a poisson regression with a non-canonical link function. My understanding of IRLS is only basic at this point, so please ...
12 views

### Create score for comaparison of algorithms

The following graph gives the results from a test. The y axis shows the MAPE (error) which should be minimum, the x-axis shows the epochs which should also be minimum. As one can see two algos are ...
203 views

67 views

### why has author divided by 1.5 in hands on machine learning with scikit learn

I am reading Hands-On Machine Learning with Scikit-Learn and TensorFlow (76/718), and the author is talking about dividing the dataset into a test set which i follow, but then goes on to talk about ...
252 views

### What's the best algorithm type for low-dimensional grouping

I'm looking for some advice on directions to head in a project I'm working on. Basically what I want to do is identify general (of varying size) groups in a 2-D grid of points belonging to one of ...
138 views