File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
tutorials/W3D1_BayesianDecisions Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 20812081 " elif loss_f == \" Absolute Error\" :\n " ,
20822082 " loss = np.abs(error)\n " ,
20832083 " elif loss_f == \" Zero-One Loss\" :\n " ,
2084- " loss = (np.abs(error) >= 0.03).astype(np. float)\n " ,
2084+ " loss = (np.abs(error) >= 0.03).astype(float)\n " ,
20852085 " return loss"
20862086 ]
20872087 },
32793279 "name" : " python" ,
32803280 "nbconvert_exporter" : " python" ,
32813281 "pygments_lexer" : " ipython3" ,
3282- "version" : " 3.9.21 "
3282+ "version" : " 3.9.23 "
32833283 }
32843284 },
32853285 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 20812081 " elif loss_f == \" Absolute Error\" :\n " ,
20822082 " loss = np.abs(error)\n " ,
20832083 " elif loss_f == \" Zero-One Loss\" :\n " ,
2084- " loss = (np.abs(error) >= 0.03).astype(np. float)\n " ,
2084+ " loss = (np.abs(error) >= 0.03).astype(float)\n " ,
20852085 " return loss"
20862086 ]
20872087 },
32793279 "name" : " python" ,
32803280 "nbconvert_exporter" : " python" ,
32813281 "pygments_lexer" : " ipython3" ,
3282- "version" : " 3.9.21 "
3282+ "version" : " 3.9.23 "
32833283 }
32843284 },
32853285 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 20332033 " elif loss_f == \" Absolute Error\" :\n " ,
20342034 " loss = np.abs(error)\n " ,
20352035 " elif loss_f == \" Zero-One Loss\" :\n " ,
2036- " loss = (np.abs(error) >= 0.03).astype(np. float)\n " ,
2036+ " loss = (np.abs(error) >= 0.03).astype(float)\n " ,
20372037 " return loss"
20382038 ]
20392039 },
30893089 "name" : " python" ,
30903090 "nbconvert_exporter" : " python" ,
30913091 "pygments_lexer" : " ipython3" ,
3092- "version" : " 3.9.21 "
3092+ "version" : " 3.9.23 "
30933093 }
30943094 },
30953095 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments