Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd52c72

Browse files
bruceyoungsysudelaray
authored andcommitted
Add chapter 12 and 13 Baysian models (aimacode#1088)
* chapter 18 learning * add chapter 19 * move init dataset in NN learner * add adam optimizer, add nn learner * remove cpt 19 for debug * change while loop in games4e * add chapter 19 * add sgd and adam optimizer * add chpt19 deep nn * add rnn * add auto encoder * add comments, correct tests * add more comments, change algorithms according to orders of chapter sections * add keras and numpy to requirements * add tf as requirement * add gc in test agent * fix agent bugs for running test_agent and test_agent_4e together * fix build error * add chapter 21 and 22 * add chapter 12 and part of 13 * remove chapter 12 and 13, add test of rl * modify rnn test * add chapter 12 and 13 * change gaussian kernel util function * fix example bugs * fix build bug
1 parent 809988d commit fd52c72

File tree

4 files changed

+1103
-1
lines changed

4 files changed

+1103
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ install:
2222
- pip install tensorflow
2323
- pip install opencv-python
2424

25+
2526
script:
2627
- py.test --cov=./
2728
- python -m doctest -v *.py

DeepNeuralNet4e.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import math
22
import statistics
3-
from utils4e import sigmoid, dotproduct, softmax1D, conv1D, GaussianKernel, element_wise_product, \
3+
4+
from utils4e import sigmoid, dotproduct, softmax1D, conv1D, gaussian_kernel_2d, GaussianKernel, element_wise_product, \
45
vector_add, random_weights, scalar_vector_product, matrix_multiplication, map_vector
56
import random
67

0 commit comments

Comments
 (0)