TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 45)

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

Does label encoding an entire dataset cause data leakage?

I have a dataset on which one of the features has a lot of different categorical values. Trying to use a LabelEncoder, OrdinalEncoder or a OneHotEncoder results in an error,...

Asked on 08/26/2021

3 answer

Why is Spark's LinearRegressionWithSGD very slow locally?

I have been trying to run linear regression with SGD that is found in Spark mllib for some time and I am experiencing huge performance problems. All examples that I...

Asked on 08/26/2021 by Nikola Stojiljkovic

1 answer

Random Forest with 2D features

I try to predict the position of a specific point (crest) in a 1D signal (elevation profile). Until now, I computed gradient at every point of my signal and combined...

Asked on 08/26/2021 by Beinje

1 answer

Public datasets that show "cyclical" behavior

I am looking for any publicly available dataset that has a "cyclical" structure to it, in the sense that if I plot the data in a certain way, a loop...

Asked on 08/26/2021 by Tom Solberg

1 answer

Help interpreting GAN output, and how to fix it?

After a few tries, I had trained a GAN to produce semi-sensible output. In this model, it almost instantly found a solution and got stuck there. The loss for both...

Asked on 08/25/2021

1 answer

conversion of dictionary to json to be sent to requests.post

I have a data frame like this.df=pd.DataFrame({'sub1':[10,20,30,40],'sub2':[5,10,15,20],'sub3':[1,2,3,4]})and a dictionary like this.stud={}stud['name']="abc"stud['id'] ="AB10"stud['address']="some_address"I convert that data frame to dictionary and combine with the stud dictionary.I wrote the following code.Then...

Asked on 08/25/2021

1 answer

Understanding The Vertical and Horizontal stack in conditional gated Pixelcnn paper

I found some confusion understanding the importance of vertical and horizontal stacks as a solution to the blind spot problem presented in the original pixel cnn architecture discussed in this...

Asked on 08/25/2021

2 answer

Calculating the entropy of a neural network

I am looking to calculate the information contained in a neural network. I am also looking to calculate the maximum information contained by any neural network in a certain amount...

Asked on 08/25/2021 by donkey

1 answer

Logistic regression does cannot converge without poor model performance

I have a multi-class classification logistic regression model. Using a very basic sklearn pipeline I am taking in cleansed text descriptions of an object and classifying said object into a...

Asked on 08/25/2021

2 answer

Handling features with multiple values per instance in Python for Machine Learning model

I have a dataset which contains medical data about children and I am developing a predictive machine learning model to predict adverse pregnancy outcomes. The dataset contains mostly features with...

Asked on 08/25/2021 by sums22

1 answer

Ask a Question

Get help from others!

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