dc3beb6aa73c999ed18a791c0ca85b552d0b1cb6,Python/phate/phate.py,PHATE,_find_optimal_t,#PHATE#Any#Any#Any#,916

Before Change


        t_opt : int
            The optimal value of t
        
        tasklogger.log_start("optimal t")
        t, h = self._von_neumann_entropy(t_max=t_max)
        t_opt = vne.find_knee_point(y=h, x=t)
        tasklogger.log_info("Automatically selected t = {}".format(t_opt))
        tasklogger.log_complete("optimal t")

        if plot:
            if ax is None:
                fig, ax = plt.subplots()

After Change


        t_opt : int
            The optimal value of t
        
        with _logger.task("optimal t"):
            t, h = self._von_neumann_entropy(t_max=t_max)
            t_opt = vne.find_knee_point(y=h, x=t)
            _logger.task("Automatically selected t = {}".format(t_opt))

        if plot:
            if ax is None:
                fig, ax = plt.subplots()
                show = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: KrishnaswamyLab/PHATE
Commit Name: dc3beb6aa73c999ed18a791c0ca85b552d0b1cb6
Time: 2019-10-13
Author: scottgigante@gmail.com
File Name: Python/phate/phate.py
Class Name: PHATE
Method Name: _find_optimal_t


Project Name: KrishnaswamyLab/PHATE
Commit Name: dc3beb6aa73c999ed18a791c0ca85b552d0b1cb6
Time: 2019-10-13
Author: scottgigante@gmail.com
File Name: Python/phate/phate.py
Class Name: PHATE
Method Name: fit


Project Name: KrishnaswamyLab/PHATE
Commit Name: dc3beb6aa73c999ed18a791c0ca85b552d0b1cb6
Time: 2019-10-13
Author: scottgigante@gmail.com
File Name: Python/phate/phate.py
Class Name: PHATE
Method Name: fit_transform


Project Name: KrishnaswamyLab/PHATE
Commit Name: dc3beb6aa73c999ed18a791c0ca85b552d0b1cb6
Time: 2019-10-13
Author: scottgigante@gmail.com
File Name: Python/phate/phate.py
Class Name: PHATE
Method Name: _calculate_potential