Most Popular
1500 questions
9
votes
3 answers
Is a large number of epochs good or bad idea in CNN
In my CNN model, by using large number of epochs like 400 or above, the validations accuracy and some times test accuracy gets better, but I think this large number of epochs is not good idea? I am right or not? why?
Hunar
- 1,197
- 2
- 11
- 33
9
votes
2 answers
How to implement hierarchical labeling classification?
I am currently working on the task of eCommerce product name classification, so I have categories and subcategories in product data. I noticed that using subcategories as labels delivers worse results (84% acc) than categories (94% acc). But…
chacid
- 171
- 7
9
votes
1 answer
Gaussian Mixture Models as a classifier?
I'm learning the GMM clustering algorithm. I don't understand how it can used as a classifier. Here are my thought:
1) GMM is an unsupervised ML algorithm. At least that's how sklearn categorizes it.
2) Unsupervised methods can cluster data, but…
F.S.
- 193
- 1
- 4
9
votes
1 answer
What is GridSearchCV doing after it finishes evaluating the performance of parameter combinations that takes so long?
I'm running GridSearchCV to tune some parameters. For example:
params = {
'max_depth':[18,21]
}
gscv = GridSearchCV(
xgbc,
params,
scoring='roc_auc',
verbose=50,
cv=StratifiedKFold(n_splits=2,…
Dan Scally
- 1,784
- 8
- 26
9
votes
4 answers
Suggest text classifier training datasets
Which freely available datasets can I use to train a text classifier?
We are trying to enhance our users engagement by recommending the most related content for him, so we thought If we classified our content based on a predefined bag of words we…
Abdelmawla
- 121
- 1
- 8
9
votes
1 answer
Learning signal encoding
I have a large number of samples which represent Manchester encoded bit streams as audio signals. The frequency at which they are encoded is the primary frequency component when it is high, and there is a consistent amount of white noise in the…
ragingSloth
- 1,854
- 3
- 14
- 15
9
votes
1 answer
Relational Data Mining without ILP
I have a huge dataset from a relational database which I need to create a classification model for. Normally for this situation I would use Inductive Logic Programming (ILP), but due to special circumstances I can't do that.
The other way to tackle…
user697110
- 259
- 2
- 5
9
votes
5 answers
Why 100% accuracy on test data is not good?
I was asked this question in an interview and wasn’t able to give a satisfactory answer not only upto the interviewers' expectations but of my own as well. The question was as above only, he later gave an example as if why if my model predicted the…
Rishabh Sharma
- 669
- 2
- 8
- 18
9
votes
0 answers
Training value neural network AlphaGo style
I have been trying to replicate the results obtained by AlphaGo following their supervise learning protocol. The papers specify that they use a network that has two heads: a value head that predicts the winner of the game and a policy head that…
Phaune
- 111
- 4
9
votes
1 answer
What is meant by Distributed for a gradient boosting library?
I am checking out XGBoost documentation and it's stated that XGBoost is an optimized distributed gradient boosting library.
What is meant by distributed?
Have a nice day
Tommaso Bendinelli
- 275
- 1
- 9
9
votes
1 answer
Validation loss is lower than the training loss
I am using autoencoder for anomaly detection in warranty data.
Architecture 1:
The plot shows the training vs validation loss based on Architecture 1.
As we see in the plot, validation loss is lower than the train loss which is totally weird.…
Ashwini
- 245
- 1
- 3
- 7
9
votes
1 answer
How to make two parallel convolutional neural networks in Keras?
I created two convolutional neural networks (CNN), and I want to make these networks work in parallel. Each network takes different type of images and they join in the last fully connected layer.
How to do this?
N.IT
- 2,015
- 4
- 21
- 36
9
votes
1 answer
clipping the reward for adam optimizer in keras
I would like to clip the reward in keras. I saw it is possible to clip the norm and clip the value is sgd as follows:
sgd = optimizers.SGD(lr=0.01, clipnorm=1.)
sgd = optimizers.SGD(lr=0.01, clipvalue=0.5)
What are clipping the norm and clipping…
user10296606
- 1,906
- 6
- 18
- 33
9
votes
2 answers
Python - Converting 3D numpy array to 2D
I have a 3D matrix like this:
array([[[ 0, 1],
[ 2, 3]],
[[ 4, 5],
[ 6, 7]],
[[ 8, 9],
[10, 11]],
[[12, 13],
[14, 15]]])
and would like to stack them in a grid format, ending up with:
array([[ 0, …
Tarlan Ahad
- 271
- 2
- 5
- 15
9
votes
1 answer
keras' ModelCheckpoint not working
I'm trying to train a model in keras and I'm using ModelCheckpoint to save the best model according to a monitored validation metric (in my case the Jaccard index).
While I can see the model improving in tensorboard, when I try to load the weights…
ILM91
- 338
- 1
- 7