All Questions

1
vote
0answers
2 views

Wavenet joint probability

As presented in the first article of Google Wavenet (https://arxiv.org/pdf/1609.03499.pdf) the model can approximate the joint probability of the whole sequence (raw audio waveform) using the chain ...
0
votes
0answers
4 views

How to place multiple graphs in same coordinate system (pandas,mathplotlib) -> look pic

in short how to set graphs in same coordinate system, not separated as in pic each in its own coordinate system in one frame....
0
votes
0answers
4 views

how to plot three graph line in one graph with datetime (with time_interval = 4h)using panda python

I want to plot the graph with datetime . I saw so many questions similiar to my questions. But that answers didn't work for me. Here is the code that I used: ...
0
votes
1answer
8 views

weight training speed too slow in CNNs

I'm writing my own CNN code from scratch. Though I got fast, converged and satisfactory results, the trained weights change very little in value (while cost/loss function drops in time rapidly in a ...
0
votes
0answers
3 views

Dataset image size and inference speed

Does training a pre-trained model on a the same dataset but with sizes scaled down (e.g., by 70%) improve inference speed? More generally, does training a CNN on smaller images improve inference speed?...
0
votes
0answers
10 views

Glove supported languages

Recently I started reading more about NLP and following tutorials in Python in order to learn more about the subject. I started experimenting with words embeddings also, and I found some interesting ...
0
votes
0answers
4 views

Clustering text post vectorization by Universal sentence encoder

I have 1000 of datasets within which clustering needs to happen in each of them to find the textual categories. I have vectorized the data using google sentence encoder. What can be the best way to ...
0
votes
0answers
10 views

is there any package in python similar to tidyrin R? Except Pandas

is there any package in python similar to tidyr in R? Except Pandas
0
votes
0answers
7 views

Finding unobserved ratings using matrix factorization

Suppose that the utility matrix contains ratings of user on movies. How does matrix factorization find ratings for unobserved (user, movie) pair. Even though the purpose of the algorithm is to find ...
1
vote
0answers
12 views

Is a good shuffle random state for training data really good for the model?

I'm using keras to train a binary classifier neural network. To shuffle the training data I am using shuffle function from scikit-learn. I observe that for some shuffle_random_state (seed for ...
0
votes
0answers
11 views

Data Representation for sequential input NN

The essence of the problem I want to model is to go from input sequences(length n) to a "distance matrix"(nxn). Although for this distance matrix we are not actually predicting $n^2$ values because it ...
0
votes
0answers
11 views

Support Vector Machine

What is the difference between SVM classification error, SVM margin error, and SVM total error ? Is there any clear definition for them ? And what is C parameter in SVM ? Its totally confusing me !!!
0
votes
0answers
6 views

Approach fpr extracting/cropping features images using deeplearning and no annotations

Let's say I want to have a bunch of images of hats from videos. How would I priniciple build something that would learn to recognize, and crop or bound box hats? I heard you need a dataset with ...
1
vote
1answer
10 views

Layman's description of PDF and CDF

Can anyone please explain PDF and CDF in simple words. (Please don't define it from wiki.)
1
vote
1answer
14 views

How to properly resize input images for transer learning

I have to resize some images of different size to 224x224 before they can be passed as input for VGG19, and then apply ...
0
votes
0answers
9 views

How to measure correlation between several categorical features and a numerical label in Python?

I have for a few weeks measured the time it takes for a product to be released through a automated release pipeline. I have several different categorical features such as "Product Category", "Product ...
3
votes
0answers
17 views

Scaling does not speed up the SVM model

I tried to standardize the training data with samples of 629,145 rows and 24 features: ...
1
vote
0answers
15 views

ImportError: DLL load failed: The specified module could not be found

Getting a error when trying to import tensorflow library for tensorflow gpu help ...
2
votes
0answers
9 views

Should one normalize the frequency values when feeding it as an input to machine learning model?

Consider an unsupervised data. The data is in the form of a csv file( I am using pandas dataframe for this). Its a web page data at different time steps and the way I am converting data to be fed to ...
1
vote
0answers
14 views

Moroccan License Plate Recognition (LPR) using OpenCV and Tesseract

I'm working on a project about recognizing moroccan license plates which look like this image : Moroccan License Plate Please how can I use OpenCV to cut the license plate out and Tesseract to read ...
1
vote
0answers
9 views

Prediticting global solar irradiance using satellite images

I have the aim to build a model to predict global horizontal irradiance (ghi) using satellite images and other features namely the day of the year and time of the day. For extracting the satellite ...
1
vote
0answers
14 views

Train autoencoder on 1D data with high and low amplitudes

I'm using an autoencoder-RNN combination to predict colliding waves in 1D. The training data is obtained by using the 1D Euler equations along with boundary conditions to preduce to waves (left and ...
2
votes
1answer
17 views

Pytorch: How to create an update rule the doesn't come from derivatives?

I want to implement the following algorithm, taken from this book, section 13.6: Here, the neural networks' outputs are $V(S, w)$ and $\pi(A|S,\theta)$, parameterized by $w$ and $\theta$ respectively....
2
votes
1answer
22 views

Find best machine learning for predicting category of products

I have a dataframe that contains product and in this dataframe I have some features like: brand, cat1, cat2, ...
1
vote
0answers
11 views

How much data would be remain unaffected? [on hold]

our data set has missing values. Further examination tells you that they are spread along 1.5 standard deviation from the median with distribution mean = 0 & variance = 5. How much data would ...
2
votes
1answer
11 views

In a residuals vs fitted plot, how do I interpret a homoscedastic variance that is not randomly distributed above/below the line?

I'm learning linear regression, and I ran a step function for linear regression and checked out the residuals vs fitted plot for the final equation. The residual looks homoscedastic but it's not ...
4
votes
1answer
32 views

How can I plot/display a dataset or an image distribution?

I want to view a specific image or a dataset's distribution, and see if they are different. Does simply writing something like : ...
1
vote
0answers
20 views

How to filter out babies from image dataset

I'm trying to perform a large image dataset clean up (filtering all the minors\babies from it). My initial approach was to utilize age detector, such as https://github.com/deepinsight/insightface/...
3
votes
3answers
30 views

Linear regression conceptual questions

In linear regression, we are fitting a polynomial to a set of data points. In Bishop's book of Pattern Recognition & Machine Learning, there are a few examples where the fit is a curve or a ...
3
votes
1answer
18 views

Can Adagrad be used to optimize non-differentiable functions?

I am reading a book (TensorFlow For Dummies, Matthew Scarpino), and here it says: Adagrad methods compute subgradients instead of gradients. A subgradient is a generalization of a gradient that ...
2
votes
0answers
15 views

K-fold cross validation of scikit-learn with confusion matrix of Keras

I intend to display confusion matrix using Keras while K-fold of scikit-learn. My code using Keras is: ...
0
votes
0answers
5 views

How can I find a large dataset of medical images for cancer classification [migrated]

I am looking for a large image dataset >20K to be used for cancer classification algorithm. Where can I look given that all public available datasets are maximum 1K in size which is much less than ...
1
vote
0answers
11 views

How can positional encodings including a sine operation be linearly transformable for any offset?

In the paper "Attention is all you need" the authors add a positional encoding to each token in the sequence (section 3.5). The following encoding is chosen: $ PE(pos, 2dim) = sin(pos / 10000 ^ {2dim/...
2
votes
1answer
22 views

Many things behave differently in high dimensional space

It turns out that many things behave very differently in high dimensional space. The below paragraph is picked from a book. I need extra help to understand. The book says, if you pick a random ...
1
vote
0answers
11 views

Reasons why training error can go up after more training?

In the context of deep-learning, I understand why the test or validation error can go up with more training: this is the result of overfitting. I also can think of one reason why even the training ...
1
vote
0answers
8 views

Functions to do MLE and MSE calculations in R

Are there libraries available or does one have to write these functions from scratch.
1
vote
1answer
10 views

Boruta Python No feature Selected

I run Boruta with RandomForestClassifier the previous day on my data (nb features = 36) and got 17/36 confirmed. Now I run it again and there is 0/36 and stop at the 9th iteration. Any idea why this ...
1
vote
1answer
11 views

Arguments in python fast.ai that are not in the function definition?

Blockquote I have been coming across function calls that use arguments that are not in the function definition. I would like to know how that works (i.e. how the compiler interprets this). For ...
2
votes
1answer
22 views

Multivariate Time Series Binary Classification

I have continuous (time series) data. This data is multivariate. Each feature can be represented as time series (they are all calculated on daily basis). Here is an example. ...
1
vote
2answers
19 views

Naive Bayes Classifier

Could someone please explain to me how and why can we go from equation $4.3$ to equation $4.4$: $$\hat{c}= \arg\max_{c \in \mathcal{C}}P(c|d) = \arg\max_{c \in \mathcal{C}}\frac{P(d|c)P(c)}{P(d)}\tag{...
2
votes
1answer
21 views

How to combine multiple images features

I have a dataset that contains information of pets (Breed,color,age,some text descriptions) and images of that pet. One pet can have more images than others. I want to combine these images somehow to ...
1
vote
1answer
17 views

Change priority of cell execution in jupyter notebook?

I am sometimes in the following situation: I want to execute two cells: Cell 1 takes on the order of 10 minutes or hours. Cell 2 will take 1 second. I'd rather execute cell 2 first and see the result,...
2
votes
0answers
25 views

Comparison between addition and multiplication function in deep neural network? [on hold]

I designed a specific Convolution Neural Network to study in the area of image processing. The network has a part that there are two tensors which have to be transformed into a tensor in order to be ...
2
votes
1answer
8 views

How to Normalise features for small datasets?

I am working with a small dataset ( N = 50 ). I would like to normalise my input features. I am facing the following issues: Because of the small size of the dataset the range of training input ...
3
votes
1answer
21 views

What is the significance of orthogonality in regression

Can somebody please explain intuitively why the variables need to be orthogonal to each other? Does orthogonality imply independence? When the variables are independent then we get an estimate using ...
2
votes
0answers
46 views

Why is performance worse when my time-series data is not shuffled prior to a train/test split vs. when it is shuffled prior to the split?

We are running RandomForest model on a time-series data. The model is run in real time and is refit every time a new row is added. Since it is a timeseries data, we set shuffle to false while ...
1
vote
0answers
14 views

Model the predictive relationship between images

Hello fellow machine learners, We have numerous pairs of 64 x 64 (or other dimensionality) images (maps). In each pair, the first image demonstrates a physical parameter, e.g. wind speed, at each ...
1
vote
0answers
12 views

How to shape one-hot data for keras lstm

I am trying to learn how to make an LSTM in keras and I was having difficulty working out what input dimensions the data needs to be for the cudnnlstm layer. Each time I try to alter the input_shape I ...
2
votes
2answers
17 views

What does a negative coefficient of determination mean for evaluating ridge regression?

Judging by the negative result being displayed from my ridge.score() I am guessing that I am doing something wrong. Maybe someone could point me in the right direction? ...

15 30 50 per page