c01dacf7ea92ad8cc9d919a778ba03f24ebe47ac,experiments/complete_faces.py,,,#,72

Before Change


        for solver_class in [IterativeSVD, SoftImpute, MatrixFactorization]:
            solver = solver_class(rank=rank)
            completed = solver.complete(incomplete)
            save_images(
                completed,
                base_filename="%s_rank%d" % (solver_class.__name__, rank))
        nn = AutoEncoder(
            hidden_layer_sizes=[1000, rank],
            hidden_activation="tanh",
            output_activation="sigmoid")

After Change


            completed_fill,
            base_filename="SimpleFill_%s" % fill_method)

    for fill_method in ["zero", "mean", "random"]:
        for shrinkage_value in [5, 20]:
            print("Fill=%s, shrinkage=%d" % (fill_method, shrinkage_value))
            // SoftImpute without rank constraints
            save_images(
                SoftImpute(
                    init_fill_method=fill_method,
                    shrinkage_value=shrinkage_value).complete(incomplete),
                base_filename="SoftImpute_%s_lambda%d" % (
                    fill_method, shrinkage_value))

    for rank in [5, 50]:
        for fill_method in ["zero", "mean", "random"]:
            save_images(
                IterativeSVD(rank=rank, init_fill_method=fill_method).complete(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: iskandr/fancyimpute
Commit Name: c01dacf7ea92ad8cc9d919a778ba03f24ebe47ac
Time: 2016-01-05
Author: alex.rubinsteyn@gmail.com
File Name: experiments/complete_faces.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: f2073333b710a340403843763ba60eb1e6699916
Time: 2019-04-11
Author: rundi_wu@pku.edu.cn
File Name: examples/data_process/tutorial_tfrecord2.py
Class Name:
Method Name:


Project Name: iskandr/fancyimpute
Commit Name: dfc691f89f60fdac04351bfc237785d6e8ea7b4c
Time: 2016-01-05
Author: alex.rubinsteyn@gmail.com
File Name: experiments/complete_faces.py
Class Name:
Method Name: