mofapy2 version: 0.7.5
numpy: 2.2.6 | pandas: 2.3.3
mode: SMOKE | max_iter: 10 | factors: 10 | seed: 42 | convergence_mode: fast
[input] mRNA: 200 samples x 5000 features | NaN fraction=0.3200
[input] Methylation: 200 samples x 4248 features | NaN fraction=0.0200
[input] sample order identical across views: 200
[availability] mRNA 136/200, Methylation 196/200, both 135/200
[design] 保留 200 例全部患者（含整块缺失），两配置使用同一份矩阵，未删样本

===== RUN 'smoke_noscale' | scale_views=False =====

        #########################################################
        ###           __  __  ____  ______                    ### 
        ###          |  \/  |/ __ \|  ____/\    _             ### 
        ###          | \  / | |  | | |__ /  \ _| |_           ### 
        ###          | |\/| | |  | |  __/ /\ \_   _|          ###
        ###          | |  | | |__| | | / ____ \|_|            ###
        ###          |_|  |_|\____/|_|/_/    \_\              ###
        ###                                                   ### 
        ######################################################### 
         


View names not provided, using default naming convention:
- view1, view2, ..., viewM

Features names not provided, using default naming convention:
- feature1_view1, featureD_viewM

Groups names not provided, using default naming convention:
- group1, group2, ..., groupG

Samples names not provided, using default naming convention:
- sample1_group1, sample2_group1, sample1_group2, ..., sampleN_groupG

Successfully loaded view='view0' group='group0' with N=200 samples and D=5000 features...
Successfully loaded view='view1' group='group0' with N=200 samples and D=4248 features...


Model options:
- Automatic Relevance Determination prior on the factors: False
- Automatic Relevance Determination prior on the weights: True
- Spike-and-slab prior on the factors: False
- Spike-and-slab prior on the weights: True
Likelihoods:
- View 0 (view0): gaussian
- View 1 (view1): gaussian


Convergence mode: fast

[smoke_noscale] built: N=200, M=2, D=[5000, 4248], K=10


######################################
## Training the model with seed 42 ##
######################################


ELBO before training:
Z=-157.81  W=-119170.45  Tau=-49369.97  Y=-14499422.88  AlphaW=-613.18  ThetaW=0.00  
Total: -14668734.29

Iteration 1: time=1.24, ELBO=-3108210.52, deltaELBO=11560523.764 (78.81064267%), Factors=10
- ELBO decomposition:  Z=-9368.27  W=-106308.04  Tau=-71100.89  Y=-2920739.55  AlphaW=-693.77  ThetaW=0.00  
- Time spent in ELBO computation: 1.8%
- Variance explained:  View 0: 24.05%   View 1: 25.34%
- Fraction of zero weights:  View 0: 18%   View 1: 14%
- Maximum correlation between factors: 0.23
- Factor norms:  4.73 8.54 7.75 7.51 7.01 6.76 6.04 7.64 5.05 4.03
- Tau per view (average):  View 0: 0.99   View 1: 0.19


Iteration 2: time=1.53, Factors=10
- Variance explained:  View 0: 32.17%   View 1: 26.87%
- Fraction of zero weights:  View 0: 27%   View 1: 10%
- Maximum correlation between factors: 0.10
- Factor norms:  4.63 7.17 6.29 5.46 5.24 5.22 4.58 6.79 3.44 3.13
- Tau per view (average):  View 0: 1.28   View 1: 0.20


Iteration 3: time=1.20, Factors=10
- Variance explained:  View 0: 34.02%   View 1: 27.06%
- Fraction of zero weights:  View 0: 24%   View 1: 8%
- Maximum correlation between factors: 0.13
- Factor norms:  4.55 6.19 5.28 4.97 4.30 4.33 3.98 6.26 2.77 2.72
- Tau per view (average):  View 0: 1.37   View 1: 0.21


Iteration 4: time=1.16, Factors=10
- Variance explained:  View 0: 34.96%   View 1: 27.10%
- Fraction of zero weights:  View 0: 20%   View 1: 6%
- Maximum correlation between factors: 0.14
- Factor norms:  4.49 5.41 4.52 4.69 3.61 3.64 3.62 5.94 2.33 2.38
- Tau per view (average):  View 0: 1.41   View 1: 0.21


Iteration 5: time=1.30, Factors=10
- Variance explained:  View 0: 35.61%   View 1: 27.11%
- Fraction of zero weights:  View 0: 17%   View 1: 5%
- Maximum correlation between factors: 0.14
- Factor norms:  4.42 4.79 3.95 4.50 3.09 3.10 3.35 5.76 2.00 2.09
- Tau per view (average):  View 0: 1.45   View 1: 0.22


Iteration 6: time=1.19, ELBO=-3007278.31, deltaELBO=100932.212 (0.68807717%), Factors=10
- ELBO decomposition:  Z=-6869.84  W=-126887.94  Tau=-71101.77  Y=-2801725.00  AlphaW=-693.77  ThetaW=0.00  
- Time spent in ELBO computation: 2.4%
- Variance explained:  View 0: 36.10%   View 1: 27.10%
- Fraction of zero weights:  View 0: 14%   View 1: 4%
- Maximum correlation between factors: 0.13
- Factor norms:  4.37 4.30 3.55 4.35 2.70 2.67 3.14 5.68 1.74 1.85
- Tau per view (average):  View 0: 1.47   View 1: 0.24


Iteration 7: time=1.17, Factors=10
- Variance explained:  View 0: 36.45%   View 1: 27.07%
- Fraction of zero weights:  View 0: 12%   View 1: 4%
- Maximum correlation between factors: 0.12
- Factor norms:  4.33 3.92 3.26 4.23 2.43 2.34 2.98 5.64 1.55 1.66
- Tau per view (average):  View 0: 1.49   View 1: 0.25


Iteration 8: time=1.94, Factors=10
- Variance explained:  View 0: 36.67%   View 1: 27.00%
- Fraction of zero weights:  View 0: 10%   View 1: 3%
- Maximum correlation between factors: 0.11
- Factor norms:  4.29 3.61 3.04 4.13 2.24 2.10 2.87 5.60 1.41 1.52
- Tau per view (average):  View 0: 1.51   View 1: 0.25


Iteration 9: time=1.18, Factors=10
- Variance explained:  View 0: 36.79%   View 1: 26.92%
- Fraction of zero weights:  View 0: 9%   View 1: 3%
- Maximum correlation between factors: 0.12
- Factor norms:  4.26 3.36 2.84 4.04 2.12 1.94 2.79 5.56 1.33 1.41
- Tau per view (average):  View 0: 1.52   View 1: 0.26




#######################
## Training finished ##
#######################


Saving model in ./results/model_smoke_noscale.hdf5...
[smoke_noscale] total iters recorded: 11 | ELBO computed on 3 iters | final finite ELBO: -3007278.312438155
[smoke_noscale] elapsed: 18.5 s
[smoke] smoke_noscale OK: build/run/save succeeded with scale_views=False

===== RUN 'smoke_scaled' | scale_views=True =====

        #########################################################
        ###           __  __  ____  ______                    ### 
        ###          |  \/  |/ __ \|  ____/\    _             ### 
        ###          | \  / | |  | | |__ /  \ _| |_           ### 
        ###          | |\/| | |  | |  __/ /\ \_   _|          ###
        ###          | |  | | |__| | | / ____ \|_|            ###
        ###          |_|  |_|\____/|_|/_/    \_\              ###
        ###                                                   ### 
        ######################################################### 
         


Scaling views to unit variance...

View names not provided, using default naming convention:
- view1, view2, ..., viewM

Features names not provided, using default naming convention:
- feature1_view1, featureD_viewM

Groups names not provided, using default naming convention:
- group1, group2, ..., groupG

Samples names not provided, using default naming convention:
- sample1_group1, sample2_group1, sample1_group2, ..., sampleN_groupG

Successfully loaded view='view0' group='group0' with N=200 samples and D=5000 features...
Successfully loaded view='view1' group='group0' with N=200 samples and D=4248 features...


Model options:
- Automatic Relevance Determination prior on the factors: False
- Automatic Relevance Determination prior on the weights: True
- Spike-and-slab prior on the factors: False
- Spike-and-slab prior on the weights: True
Likelihoods:
- View 0 (view0): gaussian
- View 1 (view1): gaussian


Convergence mode: fast

[smoke_scaled] built: N=200, M=2, D=[5000, 4248], K=10


######################################
## Training the model with seed 42 ##
######################################


ELBO before training:
Z=-160.46  W=-119170.45  Tau=-49369.97  Y=-11513920.89  AlphaW=-613.18  ThetaW=0.00  
Total: -11683234.95

Iteration 1: time=2.67, ELBO=-2094442.45, deltaELBO=9588792.499 (82.07309485%), Factors=10
- ELBO decomposition:  Z=-3598.21  W=-93307.03  Tau=-71098.37  Y=-1925745.08  AlphaW=-693.77  ThetaW=0.00  
- Time spent in ELBO computation: 0.8%
- Variance explained:  View 0: 21.27%   View 1: 16.87%
- Fraction of zero weights:  View 0: 24%   View 1: 41%
- Maximum correlation between factors: 0.22
- Factor norms:  4.63 4.42 2.72 2.22 1.98 1.68 1.39 0.65 0.69 0.68
- Tau per view (average):  View 0: 1.77   View 1: 1.28


Iteration 2: time=1.32, Factors=10
- Variance explained:  View 0: 36.36%   View 1: 23.36%
- Fraction of zero weights:  View 0: 20%   View 1: 25%
- Maximum correlation between factors: 0.16
- Factor norms:  4.45 4.33 2.81 2.29 2.13 1.62 1.41 0.81 0.93 0.78
- Tau per view (average):  View 0: 2.47   View 1: 1.45


Iteration 3: time=1.18, Factors=10
- Variance explained:  View 0: 38.02%   View 1: 24.70%
- Fraction of zero weights:  View 0: 18%   View 1: 23%
- Maximum correlation between factors: 0.16
- Factor norms:  4.33 4.35 2.65 2.04 1.94 1.42 1.29 0.73 0.82 0.74
- Tau per view (average):  View 0: 2.65   View 1: 1.49


Iteration 4: time=1.65, Factors=10
- Variance explained:  View 0: 38.51%   View 1: 25.09%
- Fraction of zero weights:  View 0: 14%   View 1: 20%
- Maximum correlation between factors: 0.15
- Factor norms:  4.22 4.74 2.53 1.86 1.75 1.24 1.17 0.65 0.71 0.70
- Tau per view (average):  View 0: 2.71   View 1: 1.50


Iteration 5: time=1.38, Factors=10
- Variance explained:  View 0: 38.85%   View 1: 25.34%
- Fraction of zero weights:  View 0: 12%   View 1: 18%
- Maximum correlation between factors: 0.15
- Factor norms:  4.14 5.32 2.39 1.70 1.56 1.09 1.05 0.56 0.61 0.65
- Tau per view (average):  View 0: 2.75   View 1: 1.50


Iteration 6: time=1.49, ELBO=-1956947.51, deltaELBO=137494.935 (1.17685671%), Factors=10
- ELBO decomposition:  Z=-5937.32  W=-132157.12  Tau=-71102.01  Y=-1747057.29  AlphaW=-693.77  ThetaW=0.00  
- Time spent in ELBO computation: 1.5%
- Variance explained:  View 0: 39.09%   View 1: 25.52%
- Fraction of zero weights:  View 0: 9%   View 1: 16%
- Maximum correlation between factors: 0.14
- Factor norms:  4.07 5.71 2.27 1.56 1.40 0.97 0.93 0.49 0.53 0.60
- Tau per view (average):  View 0: 2.79   View 1: 1.50


Iteration 7: time=1.30, Factors=10
- Variance explained:  View 0: 39.21%   View 1: 25.67%
- Fraction of zero weights:  View 0: 8%   View 1: 14%
- Maximum correlation between factors: 0.14
- Factor norms:  4.02 5.88 2.17 1.45 1.25 0.86 0.84 0.43 0.46 0.56
- Tau per view (average):  View 0: 2.81   View 1: 1.51


Iteration 8: time=1.59, Factors=10
- Variance explained:  View 0: 39.19%   View 1: 25.80%
- Fraction of zero weights:  View 0: 7%   View 1: 13%
- Maximum correlation between factors: 0.14
- Factor norms:  3.98 5.92 2.10 1.36 1.13 0.78 0.76 0.38 0.41 0.53
- Tau per view (average):  View 0: 2.83   View 1: 1.51


Iteration 9: time=1.20, Factors=10
- Variance explained:  View 0: 39.09%   View 1: 25.90%
- Fraction of zero weights:  View 0: 6%   View 1: 12%
- Maximum correlation between factors: 0.14
- Factor norms:  3.95 5.90 2.04 1.29 1.04 0.72 0.71 0.35 0.38 0.50
- Tau per view (average):  View 0: 2.85   View 1: 1.51




#######################
## Training finished ##
#######################


Saving model in ./results/model_smoke_scaled.hdf5...
[smoke_scaled] total iters recorded: 11 | ELBO computed on 3 iters | final finite ELBO: -1956947.5129945737
[smoke_scaled] elapsed: 17.8 s
[smoke] smoke_scaled OK: build/run/save succeeded with scale_views=True

SMOKE OK
