TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 54)

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

How to scale features for LSTM?

I am trying to correctly scale data for LSTM. I have a set of features like this:x1(t-1), ... xn,(t-1), y(t-1), where the actual label is y(t). I would like...

Asked on 08/13/2021

0 answer

Applying GradCam to video classification models

In the original paper, it says that GradCam visualization can be applied to any convolution based model. The problem is stated for convolutions that process images. In...

Asked on 08/13/2021 by Iván Mindlin

0 answer

AttributeError: module 'tensorflow.python.keras.utils' has no attribute 'to_categorical'

I'm trying to run the code below in my Jupyter Notebook.I get:AttributeError: module 'tensorflow.python.keras.utils' has noattribute 'to_categorical'This is code from Kaggle tutorial. I have installed Keras and Tensorflow....

Asked on 08/13/2021

4 answer

Incorrect visualisation using Plotly

kmeans = KMeans(n_clusters=4)model = kmeans.fit(europe_july)pred = model.labels_europe_july['cluster'] = predpca = PCA(n_components=2)pca_model = pca.fit_transform(europe_july)data_transform = pd.DataFrame(data = pca_model, columns = ['PCA1', 'PCA2'])data_transform['Cluster'] = predplt.figure(figsize=(8,8))g = sns.scatterplot(data=data_transform, x='PCA1', y='PCA2', ...

Asked on 08/13/2021 by vojtak

1 answer

Plot of ACF & PACF

There are 96 observations of energy consumption per day from 01/05/2016 - 31/05/2017. I am trying an ARIMA model in R to be fitted to these time series observations. I...

Asked on 08/13/2021

1 answer

Why my classification accuracy is high for both training and testing data?

I have a dataset with 10 features and 1 binary classification target. I tested this dataset with decision tree classifier. I did some basic check like missing values but the...

Asked on 08/13/2021 by JSVJ

1 answer

Is it possible for a model with a large amount of data to perform very well and reach an extremely low cost within a single epoch?

I am working on a project to detect human awareness levels using this dataset. I preprocessed the video data as the following:Convert video to frames(taking a frame...

Asked on 08/13/2021 by yudhiesh

3 answer

Reading values from a column into a variable and then correlating using Python

I want to be able to correlate values from various IDs, where the date is the same with one another. The data looks something like this;ID ...

Asked on 08/13/2021 by Taylrl

1 answer

What is the purpose of a 1x1 convolutional layer?

SqueezeNet uses 1x1 convolutions. I try to understand it in this simple example: if the input is one MNIST digit, i.e. of shape 1x28x28x1 (I use Batch...

Asked on 08/12/2021

2 answer

Getting Word Embeddings for Sentences using long-former model?

I am new to Huggingface and have few basic queries. This post might be helpful to others as well who are starting to use longformer model from huggingface.Objective:Create...

Asked on 08/12/2021

0 answer

Ask a Question

Get help from others!

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