Create Sparsennetdemo.py (#453)
Create Sparsennetdemo.py (#453)

* Create sparsennetdemo.py

* Set legend location

* Add neural network diagram and change data synthesis

* Refactor the code

* Update generate_data
probml/pyprobml,probml/pyprobml,probml/pyprobml,probml/pyprobml