web-traffic-forecasting icon indicating copy to clipboard operation
web-traffic-forecasting copied to clipboard

Kaggle | Web Traffic Forecasting πŸ“ˆ

Results 13 web-traffic-forecasting issues
Sort by recently updated
recently updated
newest added

if causal: shift = int((convolution_width / 2) + (int(dilation_rate[0] - 1) / 2)) pad = tf.zeros([tf.shape(inputs)[0], shift, inputs.shape.as_list()[2]]) inputs = tf.concat([pad, inputs], axis=1) shift may should plus 1

When I ran cnn.py, during training, train loss and validation loss became nan after step 50, is this normal? I wonder why losses remains nan……

(next_finished, emit_output, state_queues) = loop_fn(time, initial_input, state_queues) this code that call loop_fun with initial_input,so,I think the initial_input parameter is not update in all loop。can you explain this for me?

Hi, Is there anybody that can help me to figure out how can I run the repo codes in order? I cannot figure out the hierarchy of the codes/files in...

Hi, Thanks so much for sharing your perfect work. But I was confused in the decode part: https://github.com/sjvasquez/web-traffic-forecasting/blob/6cb4a91da94b85857ed637afb53a8d9594f7623c/cnn.py#L342-L349 In line 343, function `loop_fn`, always takes `initial_input` as the parameter `current_input`....

I think the code in this line should be self.encode_len - dilation . for example [0,1,2,3,4,5,6,7,8,9] dilation=4 idx=10-4=6 , slices = tf.reshape(tf.gather_nd(conv_input, idx), (batch_size, dilation, shape(conv_input, 2))) should be [6,7,8,9]...

For anaconda python 3.6 version: 1. File "D:\Anaconda\lib\site-packages\tensorflow\python\framework\tensor_shape.py", line 32, in __init__ self._value = int(value) TypeError: int() argument must be a string, a bytes-like object or a number, not 'Tensor'...

In the decode features, why are we passing the one hot encoded values of the categorical variables? ``` self.decode_features = tf.concat([ tf.one_hot(decode_idx, self.num_decode_steps), tf.tile(tf.reshape(self.log_x_encode_mean, (-1, 1, 1)), (1, self.num_decode_steps, 1)),...

The data folder does not contain train and test dataset or processed folder, and the train dataset from Kaggle is train_1 and train_2. How can we use these?

zero_loss = 2.0*tf.ones_like(smape) nonzero_loss = smape smape = tf.where(tf.logical_or(tf.equal(y, 0.0), tf.equal(y_hat, 0.0)), zero_loss, nonzero_loss) There is 'or' condition. What if y !=0.0 and y_hat=0.0. Sequence smape will still give value...