Questions tagged [ml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

How do you distinguish between conversational text and possible news article?

Context When you receive messages in group chats, how do you detect if that message belongs to conversational dialogue or if it is a 'news' article (could be fake or real) that they are sharing? ...
0
votes
1answer
10 views

Identify same product

I am new to ML and still learning it. My problem is to identify duplicate products. I have a dataset containing product details such as name, colour, size, description, features etc (there are ...
0
votes
0answers
10 views

Not regularizing bias term in gradient descent for softmax

I'm writing a gradient descent function for a multi-class classifier using softmax. I'm a bit confused about how regularization should work in the gradient function. I've specified my matrix, X, such ...
1
vote
1answer
58 views

Can you use two different datasets as train and test sets with countVectorizer and test_train_split?

So I managed to run my code on a combination of train data and validation data, but now I need to create a text file that contains the predictions for the test data and I just don't understand how. Is ...
0
votes
1answer
28 views

Does building a corpus make sense on a documentation project?

I have zero to experience in data science or machine learning. Because of this I am not able to determine if building a corpus does apply to the problem I am trying to solve. I am trying to build a ...
1
vote
1answer
116 views
0
votes
1answer
22 views

Dataset : Handling rows where some column value is not applicable

I am working on some LTE Data say of shape (100000, 10) . Now suppose I have a column Jitter Avg. Now Jitter occurs only for any connected call and for call which could not be setup due to some ...
0
votes
0answers
15 views

How to identify occupations in the OSHA data file?

My dataset is from the injury and illness recording, osha, dataset which looks something like this: So the second column contains the title for ...
1
vote
1answer
1k views

What is the accuracy majority class classifier?

I have an SFrame and a model: ...
0
votes
0answers
19 views

Is Logistic Regression with SGD Optimization supported in the latest version of Spark ML?

LogisticRegressionWithSGD is deprecated from Spark Mllib. Is there a way to run Logistic Regression using SGD optimization under the hood, instead of LBFGS?
2
votes
0answers
30 views

How to cluster a set of objects each with its' own set of data?

I have a problem where I have a set of objects (say smartphones for ease of explanation). For each phone, we collected several characteristic features (such as duration of calls, how many calls made, ...
2
votes
1answer
206 views

Breaking a DataFrame based on Specific Column Values [closed]

Assume I have a following dataframe which has years of experience and salary. I would like to create a new dataframe from the existing one, only including observations where salary is above 45000. I ...
1
vote
1answer
80 views

Maximize the margin formula in support vector machines algorithm

I was recently reading about support vector machines and how they work and I stumbled on an article and came across Maximize the distance margin. Can anyone tell me what do we have to minimize here? ...