started moving learning algos to new namespace Machnine Learning

This commit is contained in:
Shin committed 2014-12-12 00:01:46 +01:00
1 parent 2736ede1be
commit b4bee6f498
53 files changed
+405 -354

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
OBJFILES=\
FeedForward.o\
Learning/Learning.o Learning/BackPropagation.o Learning/OpticalBackPropagation.o
LINKFILES= ../sse_mathfun.o
LIBNAME=NeuralNetwork
include ../../Makefile.const
all: lib
lib: $(LIBNAME).so $(LIBNAME).a
$(LIBNAME).so: $(OBJFILES)
$(CXX) -shared $(CXXFLAGS) $(OBJFILES) $(LINKFILES) -o $(LIBNAME).so
$(LIBNAME).a: $(OBJFILES) ./Neuron.h ./Network.h ../Solution.h ../Problem.h
rm -f $(LIBNAME).a # create new library
ar rcv $(LIBNAME).a $(OBJFILES) $(LINKFILES)
ranlib $(LIBNAME).a
nm --demangle $(LIBNAME).a > $(LIBNAME).nm
clean:
@rm -f ./*.o ./*.so ./*.a ./*.nm ./*/*.o