Please see descriptions for details.
Dependency: matplotlib
- Adjust the hyperparameter of BP network :
- 10-hiden
- net = BPNNet(num, 10, 1);
- net.train(train_data, iterations=1000, N=0.01, M=0.1);
- Simply run 'pa4.py';
- Results are saved in an auto-generated file called "pred.csv". For values:
- positive : the closer it is to 1, the larger chance there exists a sinkhole;
- negative: there is no skinhole.