Unanswered Questions
9,809 questions with no upvoted or accepted answers
15 votes
0 answers
3k views
Python : Feature Matching + Homography to find Multiple Objects
I'm trying to use OpenCV via Python to find multiple objects in a train image and match it with the key points detected from a query image. For my case, I'm trying to detect the tennis courts in the ...
12 votes
0 answers
196 views
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 ...
8 votes
0 answers
77 views
How can I measure the similarity between distance matrices during embedding training?
I am studying how the distances between embeddings evolve during training of a language model. One way to describe this "evolution" is that the k-nearest neighbours of a particular embedding ...
8 votes
0 answers
52 views
How does SciPy's linkage() calculate centroid from pairwise distances?
I am learning about hierarchical clustering from SciPy's linkage documentation (which is much more understandable than the Wikipedia page. Some of the cluster ...
8 votes
0 answers
2k views
Using the Python Keras multi_gpu_model with LSTM / GRU to predict Timeseries data
I'm having an issue with python keras LSTM / GRU layers with multi_gpu_model for machine learning. When I use a single GPU, the predictions work correctly ...
7 votes
0 answers
167 views
Unable to transform (greatly performing) Autoencoder into Variational Autoencoder
Following the procedure described in this SO question, I am trying to transform my (greatly performing) convolutional Autoencoder into a Variational version of the same Autoencoder. As explained in ...
7 votes
0 answers
3k views
Tensorflow v1 Dataset API AttributeError with ndim
I'd like to make pipeline for optimizing Gpu and Cpu. Dataset It's about 10000 datapoint and 4 description variables for the regression problem. ...
7 votes
0 answers
2k views
Fine tuning accuracy lower than Raw Transfer Learning Accuracy
I've used transfer learning on Inception V3 with ImageNet weights on Keras with Tensorflow backend on python 2.7 to create an image classifier. I first extracted and saved the bottleneck features from ...
7 votes
0 answers
983 views
ALS in Spark: what loss function is it minimizing?
I’ve playing with the MovieLens ratings dataset under Spark’s ALS and a manual implementation of ALS and comparing results with the same hyperparameters. I’d like to know this exactly in order to make ...
7 votes
0 answers
545 views
differences between LSQR and FTRL when working with very sparse data
I have a 2M instances dataset with millions of very very sparse dummy variables created using the hashing trick = ...
7 votes
2 answers
545 views
When to use which multiple testing correction?
There are a large number multiple testing p-value correction methods. e.g.: ...
6 votes
0 answers
48 views
Extract flat clusters from hierarchy: Which "criterion" makes most logical sense for single-linkage?
I am looking ahead to using SciPy's fcluster to hierarchically cluster according to the single-linkage. Clusters can be long and meandering. In extracting a flat ...
6 votes
0 answers
65 views
Poor availability on Google Cloud Platform
I am trying to setup a VM on GCP, but every time I try to create an instance in Compute Engine, there is an error message saying that the configuration that I asked is not currently available in the ...
6 votes
2 answers
437 views
How sklearn SVM find the initial hyperplane before Optimisation?
The optimization goal of the SVM is to maximize the distance between the positive and negative hyperplanes. But before optimizing, how does sklearn first find the positive and negative support vectors ...
6 votes
1 answer
8k views
Keras - Implementation of custom loss function with multiple outputs
I am trying to replicate (a way smaller version) the AlphaGo Zero system. However, in the network model, I am having a problem. The loss function I am supposed to implement is the following: $$l = (z -...