将matlab代码http://code.google.com/p/matrbm/中rbmBB改写成Python代码,如下,参考文献为:1ATutorialonStochasticApproximationAlgorithmsforTrainingRestrictedBoltzmannMachinesandDeepBeliefNets2InductivePrinciplesforLearningRestrictedBoltzmannMachines3Trainingproductsofexpertsbyminimizingcontrastivedivergence4受限波尔兹曼机简介