platform/core/ml/nntrainer.git
4 years agoAdd Copyright for Appache 2.0 License
jijoong.moon [Thu, 5 Dec 2019 23:56:23 +0000 (08:56 +0900)]
Add Copyright for Appache 2.0 License

Add Copyright

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd doxygen doc for DeepQ
jijoong.moon [Wed, 4 Dec 2019 12:24:16 +0000 (21:24 +0900)]
add doxygen doc for DeepQ

add doxygen doc for DeepQ

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd doxygen doc for KNN example
jijoong.moon [Wed, 4 Dec 2019 11:32:40 +0000 (20:32 +0900)]
add doxygen doc for KNN example

add doxygen doc for KNN example

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd doxygen doc for Logistic regression
jijoong.moon [Wed, 4 Dec 2019 11:23:25 +0000 (20:23 +0900)]
add doxygen doc for Logistic regression

add doxygen doc for Logistic regression

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd doxygen document for Training
jijoong.moon [Wed, 4 Dec 2019 10:59:36 +0000 (19:59 +0900)]
add doxygen document for Training

add doxygen documents for Training

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Doxygen Documentation for Environment
jijoong.moon [Wed, 4 Dec 2019 10:16:53 +0000 (19:16 +0900)]
Add Doxygen Documentation for Environment

Add Doxygen Doc. for Environment

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd doxygen Documentation for NeuralNet
jijoong.moon [Wed, 4 Dec 2019 08:15:47 +0000 (17:15 +0900)]
Add doxygen Documentation for NeuralNet

Add doxygen Documentation format of NeuralNet Directory

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agofix to use epsilon from config file
jijoong.moon [Tue, 26 Nov 2019 01:58:25 +0000 (10:58 +0900)]
fix to use epsilon from config file

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Logistic Regression
jijoong.moon [Tue, 26 Nov 2019 01:20:16 +0000 (10:20 +0900)]
Add Logistic Regression

Add Logistic Regression with example

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd network description for generality
jijoong.moon [Mon, 25 Nov 2019 07:43:06 +0000 (16:43 +0900)]
add network description for generality

- include iniparser
- add parse configuratio ini file to describe network

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd bias correction of adam optimizer
jijoong.moon [Fri, 22 Nov 2019 01:57:16 +0000 (10:57 +0900)]
Add bias correction of adam optimizer

add bias correction according to the epoch.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd CMakeLists.txt for KNN & support ubuntu
jijoong.moon [Thu, 21 Nov 2019 10:23:23 +0000 (19:23 +0900)]
Add CMakeLists.txt for KNN & support ubuntu

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd README for DeepQ
jijoong.moon [Thu, 21 Nov 2019 09:54:24 +0000 (18:54 +0900)]
Add README for DeepQ

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Layers::Layer classes
jijoong.moon [Thu, 21 Nov 2019 09:26:26 +0000 (18:26 +0900)]
Add Layers::Layer classes

Add Layers
. Layers::Layer
. Layers::InputLayer : public Layer
. Layers::FullyConnectedLayer : public Layer
. Layers::OutputLayer : public Layer
  with forwarding, backwarding support

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoModify code for clang format
jijoong.moon [Wed, 20 Nov 2019 04:49:53 +0000 (13:49 +0900)]
Modify code for clang format

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoRestructure neural network
jijoong.moon [Tue, 19 Nov 2019 22:48:27 +0000 (07:48 +0900)]
Restructure neural network

Make NeuralNet directory for common usages.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Android.mk for android build
jijoong.moon [Tue, 19 Nov 2019 04:32:34 +0000 (13:32 +0900)]
Add Android.mk for android build

- Add Android.mk
- Remove Boost Dependency

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Custom Environment Cartpole
jijoong.moon [Tue, 19 Nov 2019 00:11:20 +0000 (09:11 +0900)]
Add Custom Environment Cartpole

Depending the USING_CUSTOM_ENV definition, can choose custom
env (Env::CartPole) or Gym::Environment.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Custom Environment : CartPole
jijoong.moon [Tue, 19 Nov 2019 00:05:00 +0000 (09:05 +0900)]
Add Custom Environment : CartPole

Implement Custom CartPole Environment with test example

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd reference model.bin
jijoong.moon [Mon, 18 Nov 2019 06:31:12 +0000 (15:31 +0900)]
add reference model.bin

Add Trained model for CartPole-v0 ( Terminate 200 Iteration Max )

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoadd ADAM (Adaptive Momemt Estimation) to accelerate convering
jijoong.moon [Mon, 18 Nov 2019 06:29:41 +0000 (15:29 +0900)]
add ADAM (Adaptive Momemt Estimation) to accelerate convering

- Add ADAM optimizer

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd Another Fullyconnected Layer
jijoong.moon [Fri, 15 Nov 2019 07:58:37 +0000 (16:58 +0900)]
Add Another Fullyconnected Layer

Add Fully Connnected Layer : ( Two FC )

Resolves:

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd tanh & minibach mode
jijoong.moon [Fri, 15 Nov 2019 07:55:20 +0000 (16:55 +0900)]
Add tanh & minibach mode

- Add tanh activation
- Add minbatch mode

Resolves:

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoImplement DeepQ Learning without minibatch
jijoong.moon [Tue, 12 Nov 2019 04:42:55 +0000 (13:42 +0900)]
Implement DeepQ Learning without minibatch

Implement DeepQ Learning for CartPole-v0

Currently It is not stable.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd initialize DeepQ with gym (CartPole-v0)
jijoong.moon [Thu, 7 Nov 2019 00:29:52 +0000 (09:29 +0900)]
Add initialize DeepQ with gym (CartPole-v0)

Add DeepQ for CartPole-v0

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
4 years agoAdd NeuralNetwork Class
jijoong.moon [Wed, 6 Nov 2019 23:03:16 +0000 (08:03 +0900)]
Add NeuralNetwork Class

Add Network namespace & NeuralNetwork Class.
Add copy Matrix & NeuralNetwork

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
5 years agoadd readme
jijoong.moon [Thu, 17 Oct 2019 06:44:09 +0000 (15:44 +0900)]
add readme

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
5 years agoAdd retraining example
jijoong.moon [Thu, 17 Oct 2019 06:37:07 +0000 (15:37 +0900)]
Add retraining example

Add retraining example. ( Forward and Backward Propagation for fully
connected layer )

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
5 years agoAdd README.md
jijoong.moon [Tue, 15 Oct 2019 01:53:50 +0000 (10:53 +0900)]
Add README.md

Add some results in README.md

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
5 years agoToy Example for the Transfer learning
jijoong.moon [Tue, 15 Oct 2019 01:42:24 +0000 (10:42 +0900)]
Toy Example for the Transfer learning

Simple example of transfer learning like apple's Sticker example.
Mobilenet SSD V2 tensorflow lite model is used for the feature
extractor and KNN is used for the classification.

It is tesed on the android (Galaxy S8).

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

5 years agoInitial commit
문지중/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 01:09:34 +0000 (10:09 +0900)]
Initial commit