TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 294)

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

Gradient descent formula implementation in python

So I recently started with Andrew Ng's ML Course and this is the formula that Andrew lays out for calculating gradient descent on a linear model. $$ theta_j =...

Asked on 12/04/2020 by Manas Tripathi

1 answer

Building a Keras text embedding model with cosine proximity

I am trying to build a word embedding keras model wherein I give as input a text that is converted to its corresponding input ids and masks (like input to...

Asked on 12/04/2020 by Viktor1903

0 answer

How do I build an image dataset for CNN?

I don't understand how images are actually fed into a CNN. If I have a directory containing a few thousand images, what steps do I need to take in order...

Asked on 12/04/2020 by 55thSwiss

3 answer

How do I use TF*IDF scores for my machine learning model?

I have applied TF*IDF on the 'Ad-topic line' column of my dataset.For every ad-topic line, I get the same output: ...

Asked on 12/04/2020 by Apollo

3 answer

Impact of covid19 in forecasting models

I have sales training data from 2019-06 to 2020-06 and I have to predict sales from 2020-06 to today. The pandemic had a great impact on sales. Are there methods...

Asked on 12/04/2020

0 answer

Is there any way to read Xlsx file in pyspark?Also want to read strings of column from each columnName

pd is a panda module is one way of reading excel but its not available in my cluster. I want to read excel without pd module. Code1 and Code2 are...

Asked on 12/04/2020 by shalu

2 answer

Model Validation accuracy stuck at 0.65671 Keras

I am using conv1d to classify EEG signals, but my val_accuracy stuck at 0.65671. No matter what changes i do, it never go beyond 0.65671.Here is the architecturemodel=Sequential()model.add(Conv1D(filters=4,kernel_size=5,strides=1,padding='valid',kernel_initializer='RandomUniform',input_shape=X_train.shape[1::]))model.add(BatchNormalization())model.add(Activation('relu'))model.add(Conv1D(filters=6,kernel_size=3,strides=1,padding='same'))model.add(BatchNormalization())model.add(Activation('relu'))model.add(Dropout(0.2))model.add(Conv1D(filters=8,kernel_size=3,strides=1,padding='valid',activation='relu'))#model.add(Conv1D(filters=24,kernel_size=7,strides=1,padding='same',activation='relu'))model.add(Flatten())model.add(Dense(12,activation='relu'))model.add(Dense(1,activation='sigmoid'))Shape...

Asked on 12/04/2020 by Talha Anwar

4 answer

How to reconsider MSE metric when doing target engineering through a logarithm?

I am a user of Keras with Python, if I know some mathematics I am not very good about algebraic transformation. The context is the following. I am trying...

Asked on 12/04/2020

1 answer

Scipy curve_fit and method "dogbox"

I am trying to duplicate this papers feature engineering for user activity. They take 14 days of accumulated user activity and keep the parameters (2 parameters) that fit a sigmoid...

Asked on 12/03/2020 by zipline86

1 answer

What is the difference between model hyperparameters and model parameters?

I have noticed that such terms as model hyperparameter and model parameter have been used interchangeably on the web without prior clarification. I think this is incorrect and needs explanation....

Asked on 12/03/2020 by minerals

6 answer

Ask a Question

Get help from others!

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