TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 305)

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

Using class weights in Keras with multiple binary outputs which are not simply one-hot-encoded

My labels are binary vectors of length 5, e.g., [0, 0, 1, 1, 1]. My label set is very biased, 1-to-50, where the case [0, 0, 0, 0, 0] is...

Asked on 11/16/2020 by André Christoffer Andersen

1 answer

How to set a class_weight Dictionary for Random Forest?

I'm dealing with an unbalanced dataset, so I decided to use a weight dictionary for classification. Documentation says that a weight dict must be defined as shown below:...

Asked on 11/15/2020 by fega_zero

1 answer

Forecasting Consumption for Multiple Products for Multiple Regions

Came across a very interesting Real-World Time Series Forecast Problem. Can you please help me understand the right track to resolve the below Time Series problem: Input Data Sample:...

Asked on 11/15/2020 by AatmaRam

1 answer

Faster grid search with small dataset to derive best params instead of full dataset?

I have a dataset of 300 000 rows and an ensemble model, which include grid search to find the best params of every algorithm. Unfortunately the grid search needs to...

Asked on 11/15/2020

2 answer

How to combine rows after Pandas Groupby function

May I know how to combine several rows into one single row after I used Pandas groupby function? In below example, I would like to to group the data by...

Asked on 11/14/2020

1 answer

Finding aggregated information of data

I am new to data science. I have a dataset of around 200,000 records, having 5 columns. There is a field called, class. For each class, there are one or...

Asked on 11/14/2020 by pnv

1 answer

Bag-of-words model : Boolean vs. TF-IDF

When I design a document classifier using traditional feature engineering, I would prefer (to Boolean model) tf-idf model to represent a document into a vector because intuitively Boolean model loses...

Asked on 11/12/2020 by qualia universe

1 answer

How can I get probabilities of next word with ELMO?

ELMO is a language model, build to to compute the probability of a word, given some prior history of words seen. How can I get this probability from pretained ELMO...

Asked on 11/11/2020 by Natalia Bogatykh

2 answer

What is the definition of imbalanced data set

I have thousands of data sources generating data from similar type of hardware. The different sources create different dynamics in the datasets though! Even though the features are the same...

Asked on 11/11/2020 by Alex P

2 answer

How can ANN handle varied sized inputs?

I have a dataset with a message (string) and an associated mood. I am trying to use an ANN to predict one of the 6 moods using the encoded inputs....

Asked on 11/11/2020 by ChaoS Adm

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