Questions tagged [performance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
46 views

Finding out why your model is doing better?

I fitted a logistic regression model on a data set and got an AUC score of .70. I added some additional out-hot encoded categorical features to the model and the AUC improved slightly to .74. How do I ...
1
vote
1answer
404 views

bad regression performance on imbalanced dataset

My current dataset has a shape of 5300 rows by 160 columns with a numeric target variable range=[641, 3001]. That’s no big dataset, but should in general be enough for decent regression quality. The ...
13
votes
3answers
298 views

Measuring performance of different classifiers with different sample sizes

I'm currently using several different classifiers on various entities extracted from text, and using precision/recall as a summary of how well each separate classifier performs across a given dataset. ...
26
votes
4answers
14k views

Is there a straightforward way to run pandas.DataFrame.isin in parallel?

I have a modeling and scoring program that makes heavy use of the DataFrame.isin function of pandas, searching through lists of facebook "like" records of ...
1
vote
2answers
34 views

Graphs for representing performance of machine learning classifiers [closed]

Can any please guide about how many types of the graph other than ROC can be plotted to represent the performance of the machine learning classifier?
2
votes
2answers
410 views

why does performance of machine learning models plateau after certain amount of training data

I'm referring to the below image which I came across. The explanation seemed intuitive at first but I don't think I understand how it works. The image says that the performance of traditional machine ...
0
votes
1answer
20 views

How to derive false positive and false negative from top-k accuracy?

I am working on the following "equality identification" problem and become quite confused on how to reasonably define false positive and false negative in my case. Problem: Suppose I have a ...
2
votes
2answers
718 views

How label smoothing and label flipping increases the performance of a machine learning model

I have seen posts and research papers mentioning these techniques for improving the performance of a machine learning model. These techniques certainly make some sense in the case when we are not ...
1
vote
1answer
26 views

Faster Data Transfer?

I'm doing a project which involves a small dataset (4GB). I'm trying to upload it to Paperspace to do some analysis but it's taking an absurd amount of time. Using Gradient, it would upload maybe ...
1
vote
0answers
14 views

How to evaluate the performance of a model in production when labeling data is costly?

I have come to a problem for which I can't find a solution. Let's talk about a hypothetical binary classification problem in which you have some years of (human) labeled data. The final objective is ...
0
votes
0answers
13 views

Model performance metrics

I have a dataset with multiple numeric input values and a categorical output. How can I measure model performance with different algorithms. As the results are categorical, we can not obtain r squared ...
0
votes
1answer
34 views

Difference Between Performance Scores

I need some help to understand the meaning between these different scores. Currently, I am doing the classification problems using machine learning, and I have obtained the results for the ...
0
votes
1answer
111 views

LSTM evaluation metric MAE explanation

I have a hard time understanding the LSTM model performance as I summarize my model as follow: ...
0
votes
2answers
15 views

Getting lower performance metrics when using GridSearchCV

I have defined an XGBoost model and would like to tune some of its hyperparameters. I am using GridSearchCV to find the best params. However, I also tried to fit the model on the entire training ...
1
vote
2answers
121 views

AUC ROC Threshold Setting in heavy imbalance

I am doing binary logistic regression on a dataset with very heavy class imbalance. Class 1 is only 1% of data. When I train logistic regressor without class weights I get ROC AUC Score of 0.6269. ...
0
votes
0answers
10 views

How to use “transposing” for more efficient list comprehensions?

How can I use transposing to execute operations faster, than i currently do in list comprehensions, like: ...
0
votes
0answers
22 views

How to run list comprehensions on GPU?

Is there a way to run complex list comprehensions like the following on GPU? ...
0
votes
1answer
353 views

FP16, FP32 - what is it all about? or is it just Bitsize for Float-Values (Python)

What is it all about FP16, FP32 in Python? My potential Business Partner and I are building a Deep Learning Setup for working with time series. He came up with "FP16 and FP32" while finding a GPU. It ...
0
votes
0answers
10 views

Deep Learning on Float-Value Time Series … How Much VRAM?

How much VRAM can you recommmend for a LSTM with about half a billion values of 32bit Floats per Feature? Every sample takes 100(in the beginning) to 10.000(later, probably still not enough) ...
1
vote
3answers
397 views

Is there a cost associated with converting Koalas dataframe to Spark dataframe?

I know that pandas works "under the hood" with numpy arrays stored in dictionaries. In contrast, Koalas works with the underlying Spark framework. Does that mean that there is no extra cost associated ...
2
votes
1answer
40 views

Relating ROC curves with class statistics

I have three neural net models that I am running on the same dataset (of 7 classes) and calculate their class performance and also ROC curves. The firs tmodel is a 4-layer model with 8 neurons in each ...
0
votes
0answers
24 views

Measuring performance of classifiers with different/extra classes

Disclosure - This is also on cross-validated, but has no comments or answers. Then I found this forum and thought it may be best suited here. I'm not sure where to post this, or how best to explain, ...
1
vote
1answer
164 views

How to decide optimal threshold for my classification model from FPR, TPR and threshold

I am building my model in Python to classify customer in buyer/ non-buyer category. I used mutiple agorithms for this problem and then after evaluation selecting the best out of all. sklearn package ...
0
votes
0answers
7 views

Write data.table to HIVE database - performace

Fast version: I have a data.table in R with ~ 8.000.000 rows and 15 columns and I want to write it to an HIVE database. I'm using the ODBC package, but it is dead slow (after 5h is still running...). ...
8
votes
3answers
1k views

Can the F1 score be equal to zero?

As it is mentioned in the F1 score Wikipedia, 'F1 score reaches its best value at 1 (perfect precision and recall) and worst at 0'. What is the worst condition that was mentioned? Even if we ...
0
votes
0answers
13 views

Efficient scanning method on images/volumes when applying neural network

I am a newbie in neural network. I am using this for one of my physics problems. So, please forgive my sheer lack of knowledge in this field. My neural network is a convolutional neural network with ...
-1
votes
1answer
56 views

What is evaluation metric for two sets? [closed]

I've two sets one is ground truth and other is output of my machine learning models. Assume my groundtruth set is A={1,2,3,4,5} and output of machine learning model is B={3,4,5,6,7,8}. One way I can ...
7
votes
4answers
2k views

Log loss vs accuracy for deciding between different learning rates?

While model tuning using cross validation and grid search I was plotting the graph of different learning rate against log loss and accuracy separately. Log loss When I used log loss as score in ...
1
vote
1answer
291 views

Testing Model Performance

Once the Model is built we want to check its performance, i did the following Predicted it on training set. Compute confusion matrix and ROC curve on training set. Predicted on test set Computed ...
3
votes
2answers
109 views

What is done first, cross validation or grid search?

When I have the data set to train a model with SVM, which procedure is performed first, cross validation or grid search? I have read this in a couple of books but I don't know in what order all this ...
1
vote
0answers
23 views

Improve performance of my CNN model

I am working on an image classification problem. There are 876 images in the training and 600 in the test dataset. It is a multi class classification for plants. Since this is my first CNN problem, ...
2
votes
0answers
42 views

Python library to process large files

I'm looking for a Python library to process large files without performance problems. For example I want to transfer large files with hash calculating. Python faces memory problems with such processes....
0
votes
0answers
14 views

How to calculate “minimal confidence for the correct label”

In RapidMiner one of the decision tree performance measures is called the margin. The margin is defined as "minimal confidence for the correct label". Can someone explain to me what it means and how ...
2
votes
1answer
37 views

How can we conclude that an optimization algorithm is better than another one

When we test a new optimization algorithm, what the process that we need to do?For example, do we need to run the algorithm several times, and pick a best performance,i.e., in terms of accuracy, f1 ...
1
vote
1answer
30 views

what metrics to evaluate rank order results?

I have searched on stackexchange and found a couple of topics like this and this but they are not quite relevant to my problem (or at least I don't know how to make them relevant to my problem). ...
1
vote
0answers
17 views

Multiclass Classification Task - Performance on Each Class Compared to Chance?

As a part of a classification task, a classifier has decided whether different books belong to class A, B or C (which are imbalanced) by looking at certain feature of the book. I have calculated ...
11
votes
4answers
668 views

Performance measure: Why is it called recall?

precision is the fraction of retrieved instances that are relevant, while recall (also known as sensitivity) is the fraction of relevant instances that are retrieved. I know their meaning but I don'...
5
votes
1answer
677 views

Why ML model produces different results despite random_state defined? And how to set global random seed for sklearn

I have been running few ML models on same set of data for a binary classification problem with class proportion of 33:67. I had the same algorithms and same set of hyperparamters during yesterday and ...
2
votes
3answers
72 views

Is over-fitting a matter of features engineering or a matter of parameters set?

I am using sklearn package to make models. I tried randomly to set some paramater to a sklearn.ensemble.RandomForestClassifier ...
0
votes
1answer
27 views

Customer Intelligence - How to measure success?

we are creating models that aim to filter new leads from our current customer base. We started to create propensity models that calculate a percentage for each customer for a certain product group. I ...
3
votes
2answers
46 views

Does Sampling size matters in Multi classification Model

I am working on a multi class classification model where few of the class are with less data compare to other classes. I used random sampling technique to create a sample from the population keeping ...
0
votes
0answers
27 views

How to improve computation speed on Orange?

I need to process huge data sets on Orange 3.23. My Orange workflow contains several widgets in parallel. It seems that Orange launches each process at a time. Is there a way to run several processes ...
10
votes
3answers
18k views

Improve Pandas dataframe filtering speed

I have a dataset with 19 columns and about 250k rows. I have worked with bigger datasets, but this time, Pandas decided to play with my nerves. I tried to split the original dataset into 3 sub-...
0
votes
0answers
93 views

Doc2vec doesn't use all the CPU power

I have a big dataset that trying to train with a Doc2vec model. I am working on a 8 CPU, 32GB RAM, but as I can see on the monitoring tools, it only uses about 66-67% of the CPU. I am not sure if it ...
0
votes
2answers
683 views

How can I perform backpropagation directly in matrix form?

I had made a neural network library a few months ago, and I wasn't too familiar with matrices. So, instead of performing matrix dot products (between weights and inputs, then adding a bias matrix), I ...
1
vote
0answers
16 views

Evaluating randomness in a model performance

I'm evaluating the variability in performance (AUC) in the test set of a machine learning model with an intrinsic random component (xgboost). How many sources of variation should I use? Just ...
2
votes
1answer
312 views

Xgboost multiple class predictive performance beats one versus rest

I have an NLP task I'm tackling with xgboost (R implementation). Before describing my doubt I'll give you some background: I have a corpus of documents for which I did topic discovery, using a term ...
0
votes
2answers
68 views

How can i test the performance of a model when the test data contains seen and unseen data

To test the performance of my model based on some selected features, i try to use unseen and seen data. However, when choosing the accuracy based on all data, the model is almost overfitting since ...
1
vote
2answers
4k views

Improve Precision of a binary classifier - Decision Tree in Python

Currently, I am working on a project. The dataset is balanced roughly in the ratio of 50:50. I created a decision tree classifier. I am achieving decent accuracy (~75%) on validation data but the ...
3
votes
0answers
199 views

How much text is enough to train a good embedding model?

I need to train a word2vec embedding model on Wikipedia articles using Gensim. Eventually, I will use the entire Wikipedia for that but for the moment, I'm doing some experimentation/optimization to ...