Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNIST example #242

Merged
merged 55 commits into from
Feb 28, 2019
Merged
Changes from 3 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
92b1169
WIP - Initial commit to new branch
ctrl-z-9000-times Dec 1, 2018
39c34ad
MNIST -> 80% accuracy
ctrl-z-9000-times Dec 10, 2018
cca50fc
Merge branch 'master' into mnist
ctrl-z-9000-times Dec 18, 2018
ec8c24e
Merge branch 'sp-stats' into mnist
ctrl-z-9000-times Dec 26, 2018
fbeabc7
Score 94%
ctrl-z-9000-times Dec 26, 2018
1dfe98f
SDR-Classifier fix missing header.
ctrl-z-9000-times Dec 26, 2018
81fd5fe
MNIST CMake materials
ctrl-z-9000-times Dec 26, 2018
752a122
Merge branch 'master_community' into mnist
breznak Jan 31, 2019
3193892
SpatialPooler: revert to upstream master version
breznak Feb 1, 2019
77acef0
MNIST: update example
breznak Feb 1, 2019
b944b90
Connections: add asserts
breznak Feb 1, 2019
ac3b020
Merge remote-tracking branch 'community/master' into mnist-example
breznak Feb 7, 2019
9a58b03
Update merge resolution
breznak Feb 7, 2019
f973f24
Pull MNIST experiment
ctrl-z-9000-times Feb 4, 2019
d05d392
MNIST: working example
breznak Feb 8, 2019
780083a
Connections: raisePermanenceToThreshold bug
breznak Feb 8, 2019
d2d4633
SpatialPooler: formating of doc
breznak Feb 9, 2019
49677ba
MNIST: try SP params
breznak Feb 9, 2019
1bf08eb
examples/Hotgym rename to HotgymMain
breznak Feb 9, 2019
af35e2a
example/MNIST make namespace examples
breznak Feb 9, 2019
c6fc009
SDRClassifier: add initialize() method
breznak Feb 9, 2019
25b076e
Serializable: include filesystem helper header
breznak Feb 9, 2019
97e204d
example: make classes MNIST, HelloSPTP, use namespace
breznak Feb 9, 2019
0a46993
CMake: download MNIST repo during configure WIP
breznak Feb 9, 2019
382cc84
fixed up the external part of this PR
dkeeney Feb 15, 2019
4e0f026
Made mnist-example optional.
dkeeney Feb 17, 2019
3221315
Merge remote-tracking branch 'community/master' into mnist-example
breznak Feb 18, 2019
26b12c8
MNIST: use 3rd party repo for data and data access methods
breznak Feb 18, 2019
4f03d5e
Revert "Made mnist-example optional."
breznak Feb 18, 2019
f2c8718
MNIST small fixes
breznak Feb 18, 2019
508282e
MNIST: external repo updated
breznak Feb 18, 2019
c0aaefc
fixes
breznak Feb 18, 2019
62a63a9
Merge branch 'master_community' into mnist-example
breznak Feb 18, 2019
7c1712a
Mnist cleanup
breznak Feb 19, 2019
f9eae0c
MNIST: try full headers
breznak Feb 22, 2019
c60fdb2
cleanup
breznak Feb 22, 2019
d5031ed
TMP Cmake disable shared so build
breznak Feb 22, 2019
684bf70
MNIST tuning params, WIP
breznak Feb 22, 2019
7250138
MNIST param tuning 2
breznak Feb 22, 2019
920eff7
MNIST scores > 30%
ctrl-z-9000-times Feb 24, 2019
acaca33
Merge branch 'master_community' into mnist-example
breznak Feb 25, 2019
149a113
cmake fixes
breznak Feb 25, 2019
f728658
Merge remote-tracking branch 'community/mnist-example' into mnist-exa…
breznak Feb 25, 2019
c93486b
CI: skip TP performance on Windows
breznak Feb 25, 2019
d0fe52e
debugging details
breznak Feb 26, 2019
d75188e
CMAke: do not bundle examples with main library
breznak Feb 26, 2019
b928fc3
fix: skip performance test for Windows in CI
breznak Feb 26, 2019
a14c5f4
Connections: resolve merge conflicts
breznak Feb 26, 2019
907fc3d
another try for passing performance CI on Windows
breznak Feb 26, 2019
4bf889b
Merge branch 'master_community' into mnist-example
breznak Feb 26, 2019
4cee012
MNIST: use 2D input, SP and smaller columns
breznak Feb 26, 2019
41a68ee
Revert "TMP Cmake disable shared so build"
breznak Feb 26, 2019
a4b2732
MNIST: tuned params 45%
breznak Feb 26, 2019
4cc6cd8
MNIST: stript unlearned cols on inference
breznak Feb 26, 2019
d26299a
MNIST: local inh 43%
breznak Feb 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ set(utils_files
)

set(examples_files
examples/hotgym/Hotgym.cpp
# examples/hotgym/Hotgym.cpp # contains conflicting main()
examples/hotgym/HelloSPTP.cpp
examples/hotgym/HelloSPTP.hpp
examples/mnist/MNIST_SP.cpp
# examples/mnist/MNIST_SP.cpp
)

#set up file tabs in Visual Studio
Expand Down Expand Up @@ -271,7 +271,7 @@ add_library(${src_objlib} OBJECT
${regions_files}
${types_files}
${utils_files}
${examples_files}
${examples_files}
breznak marked this conversation as resolved.
Show resolved Hide resolved
)
# shared libraries need PIC
target_compile_options( ${src_objlib} PUBLIC ${INTERNAL_CXX_FLAGS})
Expand Down Expand Up @@ -359,7 +359,7 @@ add_subdirectory(test)
## Setup benchmark_hotgym
#
set(src_executable_hotgym benchmark_hotgym)
add_executable(${src_executable_hotgym} examples/hotgym/Hotgym.cpp examples/hotgym/HelloSPTP.hpp)
add_executable(${src_executable_hotgym} examples/hotgym/Hotgym.cpp examples/hotgym/HelloSPTP.hpp examples/hotgym/HelloSPTP.cpp)
if(true)
breznak marked this conversation as resolved.
Show resolved Hide resolved
# for Windows, link with the static library
target_link_libraries(${src_executable_hotgym}
Expand Down Expand Up @@ -391,7 +391,7 @@ add_custom_target(hotgym
#
set(src_executable_mnistsp mnist_sp)
add_executable(${src_executable_mnistsp} examples/mnist/MNIST_SP.cpp)
target_link_libraries(${src_executable_mnistsp} ${src_exacutable_mnistsp}
target_link_libraries(${src_executable_mnistsp}
${core_library}
${COMMON_OS_LIBS}
)
Expand Down