-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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
230 tutorial gcp opt #253
230 tutorial gcp opt #253
Conversation
…sequence' of https://github.com/sandialabs/pyttb into 230-tutorial-gcp_opt
…nstruction-of-a-tucker-tensor.
This is still breaking due to the docs failing when the LBFGS line search fails: Bad direction in the line search;
refresh the lbfgs memory and restart the iteration. I made the problem smaller and that did not help: shape = (5, 6, 7) I initialized with the solution, # Compute rank-3 GCP approximation to X with GCP-OPT
result_lbfgs, initial_guess, info_lbfgs = ttb.gcp_opt(
data=X, rank=rank, objective=objective, optimizer=optimizer, init=M_true
) I created an initial guess of all ones and that did help on the smaller problem: shape = (5, 6, 7)
...
M_true = ttb.ktensor(U).normalize()
M_init = ttb.ktensor.from_function(np.ones,shape,rank)
...
# Compute rank-3 GCP approximation to X with GCP-OPT
result_lbfgs, initial_guess, info_lbfgs = ttb.gcp_opt(
data=X, rank=rank, objective=objective, optimizer=optimizer, init=M_init
)
... |
Why was the |
* SPTENSOR: Fix Mask, using tt_ismember_rows incorrectly * PYTTB_UTILS: Design away error: * Make it more obvious member rows might not match
…y and avoid time out issues.
Yes, some of the regression tests were failing. |
I'll incorporate this and commit again |
@jeremy-myers Please add an Issue related to the Rayleigh loss that fails with LBFGS when a random start or starting with |
📚 Documentation preview 📚: https://pyttb--253.org.readthedocs.build/en/253/