All Questions
62 questions
1
vote
0
answers
81
views
Kohonen neural network for determining the quadrant of a point plane
I need to implement a Kohonen neural network (without teacher) to determine the quadrant of the plane (from 1 to 8) of a point. A vector of coordinates [x, y, z] is fed to the input of the neural ...
0
votes
1
answer
580
views
How to choose ideal K when multiple K share same testing accuracy in KNN
For my KNN classifier, I plotted the training and testing accuracy for different values of K (# nearest neighbours) as follows:
As you can see that the Ks in range [1, 5] share the same testing ...
0
votes
1
answer
515
views
How to calculate normalizer in denominator of Naive Bayes Gaussian formula
I am attempting to learn Naive Bayes Gaussian machine learning algorithm by programming the algorithm by myself.
I notice in my implementation that the total of the final prediction probabilities for ...
-1
votes
2
answers
46
views
Can I create an image classification algorithm model with online image links instead of downloaded images
Is it possible to create an image classification algorithm model if I dont have the training data downloaded. However, I have all the image links from which I can extract the images. I want to avoid ...
-4
votes
1
answer
106
views
Implementing OneRule algorithmn in javascript [closed]
OneR, short for "One Rule", is a simple yet accurate classification algorithm that generates one rule for each predictor in the data, then selects the rule with the smallest total error as its "one ...
-4
votes
1
answer
72
views
Preparing data for classification algorithm
I have to prepare and classify a dataset composed by 100 000 + lines and 105 variables and I'm looking for advices.(I'm using R)
basically,
the set is full of dummy variables and missing values(44% ...
0
votes
1
answer
242
views
Algorithm match class distribution of two datasets
I have MC(Monte Carlo/simulation) and data each having events in two classes 0 and 1. I am trying to write an algorithm such that I can match the number of events in class 0 and 1 of MC to data i.e I ...
2
votes
2
answers
2k
views
Correct implementation of weighted K-Nearest Neighbors
From what I understood, the classical KNN algorithm works like this (for discrete data):
Let x be the point you want to classify
Let dist(a,b) be the Euclidean distance between points a and b
Iterate ...
0
votes
0
answers
182
views
Multi Label Classification on Data Columns in Tables
I am seeking guidance on a machine learning problem involving the tagging of data columns. Currently, I have a system where users can add multiple tags to a columns in a table. However, I want to ...
1
vote
1
answer
86
views
k-nearest neighbors algorithm classes count
This is just a newbie question. KNN is able to do the classification of each point in the entry set based on the distance, but how the algorithm knows how much classes is in the dataset? Does it ...
-3
votes
1
answer
3k
views
What is the fastest classification algorithm for large datasets? [closed]
What is the fastest classification algorithm?
If I have a very large data set and a very large number of features and I need to conduct classification on it within about an hour.
What would be the ...
0
votes
2
answers
94
views
Algorithm to classify 10 digit keys [closed]
I'm looking for an algorithm that classifies differently formated 10 digit (mostly) integer keys. The training data set looks like that:
+------------+----------------+
| key | classification |...
0
votes
2
answers
386
views
alternate efficient way to compute distance instead of eucledian distance in knn algorithm
I have implemented knn algorithm and this is my function to calculate the Euclidian distance.
def euc_dist(self, train, test):
return math.sqrt(((train[0] - test[0]) ** 2) + ((test[1] - train[1])...
3
votes
1
answer
696
views
Classification of multidimensional data
I would like to classify some multidimensional data:
The input data is as follows:
Data1: [[a1,b1,f1], [a2,b2,f2], ... [an,bn,fn]] where: fn = F(an,bn) --> ClassA
Data2: [[c1,d1,g1], [c2,d2,g2], ....
0
votes
0
answers
46
views
Contact Information pattern detector using naive bayes
I am trying to implement Naive Bayes classifier to detect a contact information input by user. The contact information can be
A mobile number
An email id
A web link
So, user inputs a paragraph. It ...