Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use for data science questions related to the programming language Python. Not intended for general coding questions (which should be asked on Stack Overflow).
1
vote
Accepted
Best parameters to try while hyperparameter tuning in Decision Trees
There are no combinations that work for all cases, hyperparameter tuning is still something that is mostly done by trial and error. Things like Gridsearch and Randomsearch exist though.
A good start i …
3
votes
Accepted
Why Does XGBoost Keep One Feature at High Importance?
According to the docs "gain" is the default, which is calculated by this formula, where I don't think intuition would help. General consensus is, that feature importance is a tricky concept, as long a …
0
votes
Error with pandas dataframe (needs to be 1-dimensional)
It seems to me that this question is better off on stackoverflow.
Nevertheless, X_cal gets generated from X_train and X_train from valid. But this is an atleast 2-dimensional dataframe with new_host a …
0
votes
Looking for spatial clusters and anomalies. Is DBSCAN the right tool?
Check out this comparison here. Intuitively I would say fit on everything you've got, don't throw anything away.
1
vote
Why is the accuracy of a LinearSVC not the same as the SDGClassifier?
When used with loss="hinge" The SGDClassifier gives a LinearSVM, so they should be the same. This is matter of choosing the same hyperparameters for both. Can you check that you using the exact same p …
0
votes
Is it possible to get worse model after optimization?
This question is a little wrong-worded. You cannot get worse after optimization, otherwise it wouldn't be optimization! (At worst you are at the same performance like before, getting the exact same pa …
1
vote
Accepted
What exactly is convergence rate referring to in machine learning?
A rate is always a gain per some time/step. A rate can exist even if the maximum is never reached. In supervised learning a loss function is defined, which is expected to have a global maximum, that w …
1
vote
What does all zero mean decrease in accuracy (MDA/permutation importance) signify?
I am assuming MDA means Mean Decrease Accuracy. Generally speaking, a good performance on a validation/testing dataset means that your model generalizes well.
On the other hand MDAs of all exactly zer …
1
vote
Binary classification: how to transform features in real numbers?
The term you are looking for is text classification. There exists a huge number of tutorials and papers out there, for example this tutorial and this survey.
2
votes
Accepted
Why are the ANN training and validation accuracy graphs not smooth?
Considering that your validation accuracy has bigger steps than your training accuracy, this may simply be an issue of data size. Accuracy counts correct/not correct, so if the model switches its opin …