We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi boy: I found there is a issue when run in python3 and numpy 1.21.1
print("My PBF = {:.2f}% +/- {:.2f}%".format(my_pbf, -scores.mean()))
This line will occur a error like bellow message tip:
TypeError Traceback (most recent call last) <ipython-input-35-00d458076588> in <module>() 2 scaled = scaler.transform(measurements) 3 my_pbf = ridge.predict(scaled)+data['pbf_b'].mean() ----> 4 print("My PBF = {:.2f}% +/- {:.2f}%".format(my_pbf, -scores.mean())) TypeError: unsupported format string passed to numpy.ndarray.__format__
I check this my_pbf is a array variable , so I change me code to
print("My PBF = {:.2f}% +/- {:.2f}%".format(my_pbf[0], -scores.mean()))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi boy:
I found there is a issue when run in python3 and numpy 1.21.1
This line will occur a error like bellow message tip:
I check this my_pbf is a array variable , so I change me code to
The text was updated successfully, but these errors were encountered: