Code Monkey home page Code Monkey logo

multilabel-timeseries-classification-with-lstm's People

Contributors

aaqibsaeed 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multilabel-timeseries-classification-with-lstm's Issues

The format of the input data

Can you offer the 'data.csv' used to train this model, as I want to know the format of the input data. Thank you!

error in creating multilayer lstm

hi,

Thank you for sharing the code.
I got the following error when constructing the multilayer LSTM:

InvalidArgumentError: Dimensions must be equal, but are 128 and 65 for 'rnn/while/rnn/multi_rnn_cell/cell_0/lstm_cell/MatMul_1' (op: 'MatMul') with input shapes: [?,128], [65,256].

I am using tensorflow 1.12 on Windows 10.

I believe the issue is on how the multiple LSTM cells are in created. Specifically, this line
multi_layer_cell = tf.nn.rnn_cell.MultiRNNCell([cell] * 2)
likely creates two cell pointing to the same object.
I was able to get rid of this issue by changing it to:
multi_layer_cell = tf.nn.rnn_cell.MultiRNNCell[rnn_cell.LSTMCell(n_hidden, state_is_tuple=True) for _ in range(2)])

multilabel classification ?

excuse me,the original is a multi-label classification problem, I did not get to know how your label is processed, after study your code I think your label is a single multi-label classification problem, am i wrong?
would you help me to explain the label question? very very thank you!!

Input format?

Dear Aaqib,

could you provide an example for the data.csv file used in the notebook?

Best regards,
Arne

Clarification regarding the data shape illustration

Hello,
Regarding the illustration of the shape of the data:
"Each training example will be a sequence of shape [1, time_steps, number_of_features]"
However, in the code:
"segments=segments.reshape([len(segments),(win_size + 1),1])"
If I understand correctly, win_size = number_of_features + 1 (because an extra feature of the tims step) and len(segments)=time_steps
So it seems there is a mismatch between the order of dimensions in the illustration and the code

Could you please clearify this issue?
Thank you!

Data format

First of all, thank you for the code!

I know it has already been discussed, but it is not clear to me the data format in the csv file needed to run your code. Does it have to be two coloumns, first coloumn with the full time series and in the second coloum the label associated with each time step? or what else?

Thank you!

Testing Dataset

Could you provide a small training data sets even just for running the codes as the dataset is quite difficult and time-consuming to get.

Thx

data

how to get the experimental data.

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.