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
std::bad_alloc
Code:
import numpy as np import KMeansRex X = np.random.rand(50000000, 9) Mu, Z = KMeansRex.RunKMeans(X, 1000)
Result:
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc [1] 26712 abort (core dumped) python test.py
The text was updated successfully, but these errors were encountered:
The same thing also happens in MATLAB:
[idx, C]=kmeansrex(allLambdas,100);
Unexpected Standard exception from MEX file. What() is:bad allocation ..
allLambdas is a vector of 3965199 elements (1-dimensional).
Sorry, something went wrong.
No branches or pull requests
Code:
Result:
The text was updated successfully, but these errors were encountered: