c3ceefa4426649240530139e6a44634a249ea051,stellargraph/data/explorer.py,DirectedBreadthFirstNeighbours,_sample_neighbours,#DirectedBreadthFirstNeighbours#Any#Any#Any#Any#,753

Before Change


            // Sampling from empty neighbourhood
            return [None] * size
        // Sample with replacement
        return [rs.choice(neighbours) for _ in range(size)]

    def _check_neighbourhood_sizes(self, in_size, out_size):
        
        Checks that the parameter values are valid or raises ValueError exceptions with a message indicating the

After Change


            // Sampling from empty neighbourhood
            return [None] * size
        // Sample with replacement
        return rs.choices(neighbours, k=size)

    def _check_neighbourhood_sizes(self, in_size, out_size):
        
        Checks that the parameter values are valid or raises ValueError exceptions with a message indicating the
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: stellargraph/stellargraph
Commit Name: c3ceefa4426649240530139e6a44634a249ea051
Time: 2020-01-15
Author: Huon.Wilson@data61.csiro.au
File Name: stellargraph/data/explorer.py
Class Name: DirectedBreadthFirstNeighbours
Method Name: _sample_neighbours


Project Name: stellargraph/stellargraph
Commit Name: c3ceefa4426649240530139e6a44634a249ea051
Time: 2020-01-15
Author: Huon.Wilson@data61.csiro.au
File Name: stellargraph/data/explorer.py
Class Name: SampledBreadthFirstWalk
Method Name: run


Project Name: stellargraph/stellargraph
Commit Name: c3ceefa4426649240530139e6a44634a249ea051
Time: 2020-01-15
Author: Huon.Wilson@data61.csiro.au
File Name: stellargraph/data/explorer.py
Class Name: SampledHeterogeneousBreadthFirstWalk
Method Name: run