TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 33)

Find answers to your questions about Data Science or help others by answering their Data Science questions.

Latent Space of VAE

Say I have a dataset $D = {a_1,a_2,a_3,...a_n}$ on which I train a basic variational autoencoder (VAE) on (a couple of fully connected layers separated by nonlinearities). Does the...

Asked on 09/05/2021 by Elena

1 answer

MAE and MSE are Nan for regression with Neural Networks?

I doing a simple neural network for Reggression, I didn't get any error but the MSE & MAE are Nan. The code is: dataset = pd.read_excel('data_Z.xlsx')#df = pd.DataFrame(stock,...

Asked on 09/04/2021 by Kahina

2 answer

Understanding policy gradient theorem - What does it mean to take gradients of reward wrt policy parameters?

I am looking for a little clarity on what the policy gradient theorem means. My confusion lies in the fact that the reward $R$ in reinforcement learning is non-differentiable...

Asked on 09/04/2021 by MiloMinderbinder

1 answer

Is "adding the predictions to the real data for new training and prediction" a good idea for LSTM?

Considering we have trained our model with a lot of data for "many-to-one" prediction. Then we like to forecast the future data of next 10 days. So we use last...

Asked on 09/04/2021 by WDR

1 answer

No gradients provided for any variable

I have composed a customized loss function (kl_loss): def tensor_pValue(pnls,pnl): vec=tf.contrib.framework.sort(pnls,axis=-1,direction='ASCENDING') rank_p=tf.divide(tf.range(0,264.5,1),264.0) return tf.gather(rank_p, tf.searchsorted(vec,pnl,side='left'))def kl_divergence(p, q): ...

Asked on 09/04/2021 by fsymao

2 answer

Sklearn LocalOutlierFactor contamination parameter

Can anyone provide an intuitive explanation of the choice of contamination parameter used in sklearn's LocalOutlierFactor implementation when contamination="auto" ? The sklearn guide suggests "as described in the paper" but...

Asked on 09/04/2021 by sandyp

2 answer

How do I assess whether two time series change together?

In this example, at timepoint 5, both signals move up together. I would like to quantify these similar movements, and ideally disregard the parts where the signals are almost constant....

Asked on 09/04/2021

2 answer

How can I find synonyms and antonyms for a word?

I found some code online where I can feed in a word, and find both synonyms and antonyms for this word. The code below does just that.import nltkfrom...

Asked on 09/04/2021

1 answer

Predicting parameters of simple configured trajectories using RNN

What I'd like to do: predict orbital elements given an input observation sequence in 2D, that is $$input = X = [position_{t_{0}}, position_{t_{1}}, ..., position_{T}]$$$$output = y...

Asked on 09/04/2021 by Simon Q.

2 answer

What to input into machine learning algorithm for image recogniton?

I am working on a project that involves classifying images as either that of a cat or that of a dog, without using CNNs. I used SKImage to convert the...

Asked on 09/04/2021 by Dhruv Kapu

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP