An Empirical Study of Frequent Code Edit Patterns In Machine Learning Systems

Patterns That Have Been Found:

IDPattern SizeNumberFoundDetailsProjectsCommitsNodeTypes
2343locations[NiftyNet]2[Assignment, MethodInvocation, SimpleName]
2543locations[texar]1[Assignment, MethodInvocation, SimpleName]
2744locations[tensorlayer]2[FieldAccess, MethodInvocation, SimpleName]
4143locations[texar]1[Assignment, MethodInvocation, SimpleName]
5443locations[NiftyNet]2[Assignment, MethodInvocation, SimpleName]
153locations[ranking]3[FieldAccess, MethodInvocation, SimpleName]
4653locations[ranking]2[FieldAccess, MethodInvocation, SimpleName]
273locations[sonnet]1[Assignment, FieldAccess, MethodInvocation, SimpleName]
3173locations[GPflow]2[Assignment, BooleanLiteral, MethodInvocation, SimpleName]
44712locations[DeepCTR]1[CatchClause, FieldAccess, IfStatement, InfixExpression, SimpleName, StringLiteral, TryStatement]
6873locations[GPflow, NiftyNet]2[Assignment, InfixExpression, MethodInvocation, NumberLiteral, SimpleName]
383locations[sonnet]1[ArrayAccess, Assignment, MethodInvocation, SimpleName, StringLiteral]
3683locations[NiftyNet]2[Assignment, InfixExpression, MethodInvocation, NumberLiteral, SimpleName]
5183locations[tensorlayer]2[Assignment, MethodInvocation, SimpleName]
5383locations[sonnet, GPflow]3[ArrayInitializer, MethodInvocation, NumberLiteral, SimpleName]
5783locations[sonnet, texar]2[ArrayInitializer, Assignment, MethodInvocation, NumberLiteral, SimpleName]
7083locations[GPflow]1[FieldAccess, MethodInvocation, SimpleName]
793locations[autokeras]1[ArrayInitializer, AssertStatement, FieldAccess, MethodInvocation, StringLiteral]
3295locations[OpenSeq2Seq, luminoth, NiftyNet]4[FieldAccess, MethodInvocation, NumberLiteral, SimpleName]
4395locations[OpenSeq2Seq, NiftyNet]3[FieldAccess, MethodInvocation, NumberLiteral, SimpleName]
6993locations[NiftyNet]1[ArrayAccess, Assignment, FieldAccess, MethodInvocation, SimpleName]
40103locations[DeepCTR]1[Assignment, FieldAccess, MethodInvocation, PyTupleExpression, SimpleName]
60103locations[NiftyNet]1[Assignment, MethodInvocation, PyTupleExpression, SimpleName]
16133locations[DeepCTR]1[Assignment, FieldAccess, MethodInvocation, NumberLiteral, PrefixExpression, PyTupleExpression, SimpleName]
24133locations[GPflow]1[Assignment, EnhancedForStatement, IfStatement, MethodInvocation, PyComparator, PyListComprehension, SimpleName, StringLiteral]
62144locations[sonnet]1[ArrayInitializer, MethodInvocation, NumberLiteral, SimpleName]
6173locations[ludwig]2[Assignment, FieldAccess, MethodInvocation, SimpleName, StringLiteral]
22173locations[OpenSeq2Seq]1[ArrayAccess, Assignment, FieldAccess, IfStatement, MethodInvocation, PyComparator, PyListComprehension, SimpleName, StringLiteral]
11183locations[tensorlayer]1[Assignment, BooleanLiteral, FieldAccess, IfStatement, InfixExpression, MethodInvocation, SimpleName, StringLiteral]
48183locations[tensorlayer]1[Assignment, BooleanLiteral, FieldAccess, IfStatement, InfixExpression, MethodInvocation, SimpleName, StringLiteral]
63183locations[sonnet]1[Assignment, IfStatement, MethodInvocation, PyWithStatement, SimpleName]
13193locations[autokeras]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyTupleExpression, SimpleName]
52193locations[sonnet]2[Assignment, FieldAccess, IfStatement, InfixExpression, MethodInvocation, NumberLiteral, PyTupleExpression, SimpleName, StringLiteral]
67193locations[autokeras]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyTupleExpression, SimpleName]
12204locations[sonnet]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
5223locations[sonnet]1[Assignment, MethodInvocation, NumberLiteral, PyTupleExpression, SimpleName]
30223locations[GPflow]2[ArrayAccess, Assignment, EnhancedForStatement, FieldAccess, MethodInvocation, NumberLiteral, PyTupleExpression, SimpleName, StringLiteral]
42223locations[sonnet]1[Assignment, MethodInvocation, NumberLiteral, PyTupleExpression, SimpleName]
45234locations[sonnet]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
59234locations[sonnet]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
64233locations[tflearn]1[ArrayAccess, FieldAccess, IfStatement, MethodInvocation, NumberLiteral, PrefixExpression, PyTupleExpression, ReturnStatement, SimpleName]
66233locations[sonnet]2[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
10243locations[autokeras]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyTupleExpression, SimpleName, StringLiteral]
47245locations[tflearn]1[ArrayInitializer, Assignment, FieldAccess, InfixExpression, MethodInvocation, SimpleName]
49245locations[tflearn]1[ArrayInitializer, Assignment, FieldAccess, InfixExpression, MethodInvocation, SimpleName]
17254locations[sonnet]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
65253locations[tensorlayer]2[Assignment, FieldAccess, InfixExpression, MethodInvocation, PrefixExpression, ReturnStatement, SimpleName, StringLiteral]
39263locations[DeepCTR]1[Assignment, FieldAccess, InfixExpression, MethodInvocation, SimpleName, StringLiteral]
50264locations[sonnet]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
29273locations[NiftyNet]1[ArrayAccess, ArrayInitializer, Assignment, FieldAccess, MethodInvocation, NumberLiteral, SimpleName]
8283locations[GPflow]1[Assignment, FieldAccess, InfixExpression, MethodInvocation, SimpleName]
55363locations[GPflow]1[ArrayInitializer, Assignment, FieldAccess, MethodInvocation, PyWithStatement, SimpleName]
15553locations[sonnet]1[ArrayAccess, Assignment, FieldAccess, IfStatement, InfixExpression, MethodInvocation, PyNotInExpression, PyTupleExpression, SimpleName, StringLiteral]