Git Product home page Git Product logo

ucr_time_series_classification_deep_learning_baseline's People

Contributors

cauchyturing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ucr_time_series_classification_deep_learning_baseline's Issues

ResNet implementation

Wonderful job! I studied your paper these days. Your paper proposed a strong baseline for time series classification in UCR. From the results of the paper, FCN and ResNet have achieved high classification accuracy。The ResNet in your paper is made up of 3 blocks, Have you tried more blocks to improve the performance? Thanks for your kind help!

The performance of MLP is bad

I have run the code twice and I find that the performance of FCN and Resnet is normal but in MLP the performance is very low.
FCN

0.034404267222644426 0.8465473055839539
0.014002826408698009 0.8491048812866211

MLP

2.7152027130126952 0.21994884312152863

RESNET

9.826100923909018e-05, 0.8184143304824829

But in the paper, it is said to be good. Is there something wrong?

A question about the best performance of the test set

[Time Series Classification from Scratch with Deep Neural Networks: A Strong Baseline] It can be seen from this paper that the author choose the best model that achieves the lowest training loss and report its performance on the test set. I wonder what if it overfits.

Unable to replicate results for trace dataset

Get increasing validation loss for trace dataset.

may i know where to access the dataset used in this baseline? For trace specifically would be enough. Or what preprocessing was used.

Thanks

Error

I am facing this issue after running resnet code, MLP and FCN is working fine. could you please help?


TypeError Traceback (most recent call last)
in ()
138 x_test = x_test.reshape(x_test.shape + (1, 1,))
139
--> 140 x, y = build_resnet(x_train.shape[1:], 64, nb_classes)
141 model = Model(input=x, output=y)
142 optimizer = keras.optimizers.Adam()

in build_resnet(input_shape, n_feature_maps, nb_classes)
42 shortcut_y = keras.layers.normalization.BatchNormalization()(x)
43 print('Merging skip connection')
---> 44 y = merge([shortcut_y, conv_z], mode='sum')
45 y = Activation('relu')(y)
46

TypeError: 'module' object is not callable

Data set

To run the code with a new dataset, which is the preferred format for the file to load into the code?

Questions about FCN

May I ask two questions of your FCN code please?

  1. Traditional sequential data is of three dimensions: (batch_size, sequence_length, sequence_dimension). Why the data is four dimension in your code?

  2. In your paper, you stated that "the features are fed into a global average pooling layer instead of a fully connected layer." But you implemented the fully connected layer
    out = keras.layers.Dense(nb_classes, activation='softmax')(full). Why is that?

Thank you in advance.

Question about code in MLP

Hi,
Thanks for the nice example. I am learning the codes of MLP and have a question about it. In line 59, code is “y = keras.layers.Dense(500, activation='relu')(x)”. Would ‘(x)’ be ‘(y)’? Since code in line 58 is “y = keras.layers.Dropout(0.1)(x)”

will it work for multivariate time series prediction both regression and classification

great code thanks
may you clarify :
will it work for multivariate time series prediction both regression and classification
1
where all values are continues values
weight height age target
1 56 160 34 1.2
2 77 170 54 3.5
3 87 167 43 0.7
4 55 198 72 0.5
5 88 176 32 2.3

2
or even will it work for multivariate time series where values are mixture of continues and categorical values
for example 2 dimensions have continues values and 3 dimensions are categorical values

color        weight     gender  height  age  target 

1 black 56 m 160 34 yes
2 white 77 f 170 54 no
3 yellow 87 m 167 43 yes
4 white 55 m 198 72 no
5 white 88 f 176 32 yes

ValueError

Hello, I've copied your Adiac data and FCN.py to run with spyder (Python3.7). But it returned a ValueError: Input tensors to a Functional must come from tf.keras.Input. Received: 0 (missing previous layer metadata) when it ran to get the object get_last_conv. Do you know this problem? And do you have any solutions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.