Giter Site home page Giter Site logo

girishp92 / human-activity-recognition-using-recurrent-neural-nets-rnn-lstm-and-tensorflow-on-smartphones Goto Github PK

View Code? Open in Web Editor NEW
83.0 9.0 36.0 142.43 MB

This was my Master's project where i was involved using a dataset from Wireless Sensor Data Mining Lab (WISDM) to build a machine learning model to predict basic human activities using a smartphone accelerometer, Using Tensorflow framework, recurrent neural nets and multiple stacks of Long-short-term memory units(LSTM) for building a deep network. After the model was trained, it was saved and exported to an android application and the predictions were made using the model and the interface to speak out the results using text-to-speech API.

Python 100.00%
machine-learning rnn-tensorflow lstm-neural-networks android-application python3 human-activities hidden-units deep-learning proof-of-concept pycharm-ide

human-activity-recognition-using-recurrent-neural-nets-rnn-lstm-and-tensorflow-on-smartphones's People

Contributors

girishp92 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

human-activity-recognition-using-recurrent-neural-nets-rnn-lstm-and-tensorflow-on-smartphones's Issues

the problem of training set and testing set

Hello, in the process of iterative training, I see that the testing set is also being iterated. Do you use the testing set as validation set, or do the iterative testing set have other meanings? Thank you.
The relevant code is as follows:
`for i in range(1, N_EPOCHS + 1):
for start, end in zip(range(0, train_count, BATCH_SIZE),
range(BATCH_SIZE, train_count + 1, BATCH_SIZE)):
sess.run(optimizer, feed_dict={X:X_train[start:end],
Y:y_train[start:end]})

_, acc_train, loss_train = sess.run([pred_softmax, accuracy, loss], feed_dict={
    X: X_train, Y:y_train})
_, acc_test, loss_test = sess.run([pred_softmax, accuracy, loss], feed_dict={
    X: X_test, Y:y_test})`

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.