Skip to content

Commit

Permalink
comment out plotting function
Browse files Browse the repository at this point in the history
  • Loading branch information
njericha committed Jan 22, 2024
1 parent 87ef573 commit ceeb817
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/src/MatrixTensorFactor.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ standard_curvature
*(::AbstractMatrix, ::Abstract3Tensor)
combined_norm
dist_to_Ncone
plot_factors
rel_error
mean_rel_error
residual
Expand Down
2 changes: 1 addition & 1 deletion src/MatrixTensorFactor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using KernelDensity
using Base: *

export Abstract3Tensor # Types
export combined_norm, dist_to_Ncone, nnmtf, plot_factors, rel_error, mean_rel_error, residual # Functions
export combined_norm, dist_to_Ncone, nnmtf, rel_error, mean_rel_error, residual # Functions
export d_dx, d2_dx2, curvature, standard_curvature # Approximations

export DEFAULT_ALPHA, DEFAULT_N_SAMPLES, MIN_STEP, MAX_STEP # Constants
Expand Down
6 changes: 3 additions & 3 deletions src/matrixtensorfactorize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ function _nnmtf_proxgrad(
LA_last = LA
LB_last = LB

if (plot_B != 0) && ((i-1) % plot_B == 0)
plot_factors(B, names, appendtitle=" at i=$i")
end
#if (plot_B != 0) && ((i-1) % plot_B == 0)
# plot_factors(B, names, appendtitle=" at i=$i")
#end

if momentum
t_last = t
Expand Down

0 comments on commit ceeb817

Please sign in to comment.