May 2018
Beginner
490 pages
13h 16m
English
Blocks in a blockchain provide sequences of unlimited data. Exploring the scikit-learn classes for naive Bayes is an excellent way to start a gold mining adventure in the world of blockchains.
Another way is to go back to the CRLMM MDP_Graph.py program used in Chapter 12, Automated Planning and Scheduling, and replace the content of the following crlmm function on line 383 with a Naive_Bayes:
383:crlmm=CRLMM(Q,lr,e)print("GAP =0 or GAP =1 status: ",crlmm)MDP_GRAPH(lr,e)print("Vertice Weights",W)MDP_CRL_graph(W,lr)
When crlmm is called instead of using a CNN, naive Bayes will provide the same type of information. It will predict a Γ-gap in the storage level (literally a space to fill in the warehouse) of the products ...
Read now
Unlock full access