Data Science, Artificial Intelligence, AI, Machine Learning, Python.
derived that represents what the model has learned from the data. formula1, formula2 = model.symbolic_formula()[0] Calculating the Accuracy Finally, the accuracy can be obtained from the learned formula def acc(formula1, formula2, X, y): batch = X.shape[0] correct = 0 for i in range(batch): logit1