0 攝影或3C 2022-12-26 Python: 如何做矩陣乘法? numpy.matmul (ary1, ary2) 或 ary1 @ ary2 或 numpy.dot (ary1, ary2) numpy.matmul (ary1, ary2): import ...
0 攝影或3C 2022-12-26 Python機器學習: 決策樹 (DecisionTreeClassifier) ; from sklearn.tree import DecisionTreeClassifier ; tree = DecisionTreeClassifier(criterion = “gini”) #criterion = “entropy” #criterion: 標準,準則 from sklearn.tree import DecisionT...
近期留言