前回、離散値ってなんや?というnoteで 強化学習で必要な離散値とは何か?なぜ必要なのか? について書きました。 今回は具体的に離散値に変換していきます。 今回やるのはこちらのコードです。 q_table = np.random.uniform(low=-1, high=1, size=(4 ** 4, env.action_space.n ...
It can be euqivalent to linspace and arange functions. The figure below explains more examples about linspace, arange and r_. For complete course about Python fundamentals, go to: ...
It can be euqivalent to linspace and arange functions. The figure below explains more examples about linspace, arange and r_. For complete course about Python fundamentals, go to: ...
#for creating vectors Vec=np.array([1,2,3,4,5,6,7,8,9,10,11]) print(Vec) #for creating matrix Matrix= np.array([[1,2,3], [4,5,6],[7,8,9]]) print (Matrix) #transpose ...
Class that do some extended operations such math cacls, string calcs, gd calcs. Useful for calculations in graphs, Machine learning processes and others. This package of methods has been created to ...