Fimbure / Huawei_Challenge

Machine Learning Activity Tracking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Huawei Challenge

I Introduction

This is the code used for the Huawei Challenge. You can find the code of the android application in the Android_Studio module and the code of the machine learning module in Ml_Module.

II Installation

You will need to install and configure the LAMP stack (Linux Apache MySQL Php), you can see how to install it here.

To install the dependencies for the machine learning module you can go into the folder ml_module and run:

pip install -r requirements.txt

TIPS

Android Sdk version : 26
Build tools Sdk : 26.0.2

HTTP Request : Volley lib

The tutorial for this lib is there.

  • First get latest volley with git (git clone https://android.googlesource.com/platform/frameworks/volley).
  • In your current project (android studio) click [File] --> [New] -->[Import Module].
  • Now select the directory where you downloaded Volley to.
  • Now Android studio might guide you to do the rest but continue guide to verify that everything works correct
  • Open settings.gradle (find in root) and add (or verify this is included):
include ':app', ':volley'
  • Now go to your build.gradle in your project and add the dependency:
compile 'com.android.volley:volley:1.1.0'

About

Machine Learning Activity Tracking


Languages

Language:Java 69.4%Language:Python 30.6%