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

Before Change


    for rank in [5, 50]:
        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(

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: 10

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: iskandr/fancyimpute
Commit Name: dfc691f89f60fdac04351bfc237785d6e8ea7b4c
Time: 2016-01-05
Author: alex.rubinsteyn@gmail.com
File Name: experiments/complete_faces.py
Class Name:
Method Name:


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