Questions tagged [ml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Quick Pytorch Question [closed]

I am new to Pytorch, and following a tutorial series on youtube by Sentdex. I'm following the tutorial closely, but have encountered a NameError where 'data,' which I believe belongs to 'DataLoader' ...
0
votes
0answers
27 views

Model Deployment

I am trying to work on deploying my first model to Heroku. So I was referring some videos for it. I saw that some pre-processing like removing stopwords, lemmatizing etc are done while creating the ...
0
votes
0answers
11 views

which nosql db is better for linking two json files to model for ml.net?

I attached json file but I need to link this with another json file to model for ml.net ...
1
vote
3answers
44 views

How to handle categorical features in K-means?

I am working on clustering algorithms. I am working with titanic dataset. It contains 6 categorical features. I used k-means algorithm on this dataset. I am using label encoding for categorical ...
-1
votes
1answer
40 views

deep learning and uncertainty estimation

Recently I got very interested in NLP applications of deep learning. Diving into literature (on arXiv for instance) I noticed that is very unpopular to quote and estimate uncertainties on scores of ML ...
0
votes
1answer
16 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
2answers
16 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
187 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
29 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
166 views
0
votes
1answer
23 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
18 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
2k 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
221 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
95 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? ...