Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
K-mean clustering of seeds of wheat in Neo4j. The code is explained in this blog post: http://heidi.morkland.org/2016/03/k-mean-clustering-in-neo4j/
// this script cannot be run at once, each block must be run separately
// relates seed to nearest cluster
MATCH (s:Seed), (c1:Centroid{index: 1, iteration: 1}), (c2:Centroid{index: 2, iteration: 1}), (c3:Centroid{index: 3, iteration: 1})
SET s.distC1 = (s.area - c1.area)^2 + (s.perimeter - c1.perimeter)^2 + (s.compactness - c1.compactness)^2 + (s.kernelLength - c1.kernelLength)^2 + (s.kernelWidth - c1.kernelWidth)^2 + (s.asymmetryCoefficient - c1.asymmetryCoefficient)^2 + (s.kernelGrooveLength - c1.kernelGrooveLength)
SET s.distC2 = (s.area - c2.area)^2 + (s.perimeter - c2.perimeter)^2 + (s.compactness - c2.compactness)^2 + (s.kernelLength - c2.kernelLength)^2 + (s.kernelWidth - c2.kernelWidth)^2 + (s.asymmetryCoefficient - c2.asymmetryCoefficient)^2 + (s.kernelGrooveLength - c2.kernelGrooveLength)
SET s.distC3 = (s.area - c3.area)^2 + (s.perimeter - c3.perimeter)^2 + (s.compactness - c3.compactness)^2 + (s.kernelLength - c3.kernelLength)^2 + (s.kernelWidth - c3.kernelWidth)^2 + (s.asymmetryCoefficient - c3.asymmetryCoefficient)^2 + (s.kernelGrooveLength - c3.kernelGrooveLength)
WITH s,
case
when s.distC1 <= s.distC2 and s.distC1 <= s.distC3 then
c1
when s.distC2 <= s.distC1 and s.distC2 <= s.distC3 then
c2
else
c3
end as minC
CREATE (s)-[:IN_CLUSTER]->(minC)
RETURN *
// creating new clusters
MATCH (s1:Seed)-[:IN_CLUSTER]->(c1:Centroid {index: 1, iteration: 1})
WITH avg(s1.area) as s1Area, avg(s1.perimeter) as s1Perimeter, avg(s1.compactness) as s1Compactness, avg(s1.kernelLength) as s1KernelLength, avg(s1.kernelWidth) as s1KernelWidth, avg(s1.asymmetryCoefficient) as s1AsymmertryCoefficient, avg(s1.kernelGrooveLength) as s1KernelGrooveLength
MATCH (s2:Seed)-[:IN_CLUSTER]->(c2:Centroid {index: 2, iteration: 1})
WITH s1Area, s1Perimeter, s1Compactness, s1KernelLength, s1KernelWidth, s1AsymmertryCoefficient, s1KernelGrooveLength, avg(s2.area) as s2Area, avg(s2.perimeter) as s2Perimeter, avg(s2.compactness) as s2Compactness, avg(s2.kernelLength) as s2KernelLength, avg(s2.kernelWidth) as s2KernelWidth, avg(s2.asymmetryCoefficient) as s2AsymmertryCoefficient, avg(s2.kernelGrooveLength) as s2KernelGrooveLength
MATCH (s3:Seed)-[:IN_CLUSTER]->(c3:Centroid {index: 3, iteration: 1})
WITH s1Area, s1Perimeter, s1Compactness, s1KernelLength, s1KernelWidth, s1AsymmertryCoefficient, s1KernelGrooveLength,
s2Area, s2Perimeter, s2Compactness, s2KernelLength, s2KernelWidth, s2AsymmertryCoefficient, s2KernelGrooveLength,
avg(s3.area) as s3Area, avg(s3.perimeter) as s3Perimeter, avg(s3.compactness) as s3Compactness, avg(s3.kernelLength) as s3KernelLength, avg(s3.kernelWidth) as s3KernelWidth, avg(s3.asymmetryCoefficient) as s3AsymmertryCoefficient, avg(s3.kernelGrooveLength) as s3KernelGrooveLength
CREATE (:Centroid {area: s1Area, perimeter: s1Perimeter, compactness: s1Compactness, kernelLength: s1KernelLength, kernelWidth: s1KernelWidth, asymmetryCoefficient: s1AsymmertryCoefficient, kernelGrooveLength: s1KernelGrooveLength, index: 1, iteration: 2})
CREATE (:Centroid {area: s2Area, perimeter: s2Perimeter, compactness: s2Compactness, kernelLength: s2KernelLength, kernelWidth: s2KernelWidth, asymmetryCoefficient: s2AsymmertryCoefficient, kernelGrooveLength: s2KernelGrooveLength, index: 2, iteration: 2})
CREATE (:Centroid {area: s3Area, perimeter: s3Perimeter, compactness: s3Compactness, kernelLength: s3KernelLength, kernelWidth: s3KernelWidth, asymmetryCoefficient: s3AsymmertryCoefficient, kernelGrooveLength: s3KernelGrooveLength, index: 3, iteration: 2})
RETURN *
//next cluster assignment, identical to the first, except that interation equals 2 in match clause
MATCH (s: Seed), (c1: Centroid{index: 1, iteration: 2}), (c2:Centroid{index: 2, iteration: 2}), (c3:Centroid{index: 3, iteration: 2})
SET s.distC1 = (s.area - c1.area)^2 + (s.perimeter - c1.perimeter)^2 + (s.compactness - c1.compactness)^2 + (s.kernelLength - c1.kernelLength)^2 + (s.kernelWidth - c1.kernelWidth)^2 + (s.asymmetryCoefficient - c1.asymmetryCoefficient)^2 + (s.kernelGrooveLength - c1.kernelGrooveLength)
SET s.distC2 = (s.area - c2.area)^2 + (s.perimeter - c2.perimeter)^2 + (s.compactness - c2.compactness)^2 + (s.kernelLength - c2.kernelLength)^2 + (s.kernelWidth - c2.kernelWidth)^2 + (s.asymmetryCoefficient - c2.asymmetryCoefficient)^2 + (s.kernelGrooveLength - c2.kernelGrooveLength)
SET s.distC3 = (s.area - c3.area)^2 + (s.perimeter - c3.perimeter)^2 + (s.compactness - c3.compactness)^2 + (s.kernelLength - c3.kernelLength)^2 + (s.kernelWidth - c3.kernelWidth)^2 + (s.asymmetryCoefficient - c3.asymmetryCoefficient)^2 + (s.kernelGrooveLength - c3.kernelGrooveLength)
WITH s,
case
when s.distC1 <= s.distC2 and s.distC1 <= s.distC3 then
c1
when s.distC2 <= s.distC1 and s.distC2 <= s.distC3 then
c2
else
c3
end as minC
CREATE (s)-[:IN_CLUSTER]->(minC)
RETURN *
// querying amount of correct clustered seed
MATCH (s1:Seed)-[:IN_CLUSTER]->(:Centroid {index: 1, iteration: 1})
WITH count(s1) as total1
MATCH (s2:Seed)-[:IN_CLUSTER]->(:Centroid {index: 2, iteration: 1})
WITH total1, count(s2) as total2
MATCH (s3:Seed)-[:IN_CLUSTER]->(:Centroid {index: 3, iteration: 1})
WITH total1, total2, count(s3) as total3
MATCH (s1c:Seed {label: 1})-[:IN_CLUSTER]->(:Centroid {index: 1, iteration: 1})
WITH count(s1c) as corr1, total1, total2, total3
MATCH (s2c:Seed {label: 2})-[:IN_CLUSTER]->(:Centroid {index: 2, iteration: 1})
WITH corr1, count(s2c) as corr2, total1, total2, total3
MATCH (s3c:Seed {label: 3})-[:IN_CLUSTER]->(:Centroid {index: 3, iteration: 1})
WITH corr1, corr2, count(s3c) as corr3, total1, total2, total3
RETURN total1, corr1, corr1/toFloat(total1)*100 as percent1, total2, corr2, corr2/toFloat(total2)*100 as percent2, total3, corr3, corr3/toFloat(total3)*100 as percent3
// The following cypher script contains data collected from UCI Machine Learning Repository [http://archive.ics.uci.edu/ml]. Irvine, CA: University of California, School of Information and Computer Science.
// The data set is a contribution from Institute of Agrophysics of the Polish Academy of Sciences in Lublin. http://archive.ics.uci.edu/ml/datasets/seeds
CREATE (:Seed {area:15.26,perimeter:14.84,compactness:0.871,kernelLength:5.763,kernelWidth:3.312,asymmetryCoefficient:2.221,kernelGrooveLength:5.22,label:1})
CREATE (:Seed {area:14.88,perimeter:14.57,compactness:0.8811,kernelLength:5.554,kernelWidth:3.333,asymmetryCoefficient:1.018,kernelGrooveLength:4.956,label:1})
CREATE (:Seed {area:14.29,perimeter:14.09,compactness:0.905,kernelLength:5.291,kernelWidth:3.337,asymmetryCoefficient:2.699,kernelGrooveLength:4.825,label:1})
CREATE (:Seed {area:13.84,perimeter:13.94,compactness:0.8955,kernelLength:5.324,kernelWidth:3.379,asymmetryCoefficient:2.259,kernelGrooveLength:4.805,label:1})
CREATE (:Seed {area:16.14,perimeter:14.99,compactness:0.9034,kernelLength:5.658,kernelWidth:3.562,asymmetryCoefficient:1.355,kernelGrooveLength:5.175,label:1})
CREATE (:Seed {area:14.38,perimeter:14.21,compactness:0.8951,kernelLength:5.386,kernelWidth:3.312,asymmetryCoefficient:2.462,kernelGrooveLength:4.956,label:1})
CREATE (:Seed {area:14.69,perimeter:14.49,compactness:0.8799,kernelLength:5.563,kernelWidth:3.259,asymmetryCoefficient:3.586,kernelGrooveLength:5.219,label:1})
CREATE (:Seed {area:14.11,perimeter:14.1,compactness:0.8911,kernelLength:5.42,kernelWidth:3.302,asymmetryCoefficient:2.7,kernelGrooveLength:5.0,label:1})
CREATE (:Seed {area:16.63,perimeter:15.46,compactness:0.8747,kernelLength:6.053,kernelWidth:3.465,asymmetryCoefficient:2.04,kernelGrooveLength:5.877,label:1})
CREATE (:Seed {area:16.44,perimeter:15.25,compactness:0.888,kernelLength:5.884,kernelWidth:3.505,asymmetryCoefficient:1.969,kernelGrooveLength:5.533,label:1})
CREATE (:Seed {area:15.26,perimeter:14.85,compactness:0.8696,kernelLength:5.714,kernelWidth:3.242,asymmetryCoefficient:4.543,kernelGrooveLength:5.314,label:1})
CREATE (:Seed {area:14.03,perimeter:14.16,compactness:0.8796,kernelLength:5.438,kernelWidth:3.201,asymmetryCoefficient:1.717,kernelGrooveLength:5.001,label:1})
CREATE (:Seed {area:13.89,perimeter:14.02,compactness:0.888,kernelLength:5.439,kernelWidth:3.199,asymmetryCoefficient:3.986,kernelGrooveLength:4.738,label:1})
CREATE (:Seed {area:13.78,perimeter:14.06,compactness:0.8759,kernelLength:5.479,kernelWidth:3.156,asymmetryCoefficient:3.136,kernelGrooveLength:4.872,label:1})
CREATE (:Seed {area:13.74,perimeter:14.05,compactness:0.8744,kernelLength:5.482,kernelWidth:3.114,asymmetryCoefficient:2.932,kernelGrooveLength:4.825,label:1})
CREATE (:Seed {area:14.59,perimeter:14.28,compactness:0.8993,kernelLength:5.351,kernelWidth:3.333,asymmetryCoefficient:4.185,kernelGrooveLength:4.781,label:1})
CREATE (:Seed {area:13.99,perimeter:13.83,compactness:0.9183,kernelLength:5.119,kernelWidth:3.383,asymmetryCoefficient:5.234,kernelGrooveLength:4.781,label:1})
CREATE (:Seed {area:15.69,perimeter:14.75,compactness:0.9058,kernelLength:5.527,kernelWidth:3.514,asymmetryCoefficient:1.599,kernelGrooveLength:5.046,label:1})
CREATE (:Seed {area:14.7,perimeter:14.21,compactness:0.9153,kernelLength:5.205,kernelWidth:3.466,asymmetryCoefficient:1.767,kernelGrooveLength:4.649,label:1})
CREATE (:Seed {area:12.72,perimeter:13.57,compactness:0.8686,kernelLength:5.226,kernelWidth:3.049,asymmetryCoefficient:4.102,kernelGrooveLength:4.914,label:1})
CREATE (:Seed {area:14.16,perimeter:14.4,compactness:0.8584,kernelLength:5.658,kernelWidth:3.129,asymmetryCoefficient:3.072,kernelGrooveLength:5.176,label:1})
CREATE (:Seed {area:14.11,perimeter:14.26,compactness:0.8722,kernelLength:5.52,kernelWidth:3.168,asymmetryCoefficient:2.688,kernelGrooveLength:5.219,label:1})
CREATE (:Seed {area:15.88,perimeter:14.9,compactness:0.8988,kernelLength:5.618,kernelWidth:3.507,asymmetryCoefficient:0.7651,kernelGrooveLength:5.091,label:1})
CREATE (:Seed {area:12.08,perimeter:13.23,compactness:0.8664,kernelLength:5.099,kernelWidth:2.936,asymmetryCoefficient:1.415,kernelGrooveLength:4.961,label:1})
CREATE (:Seed {area:15.01,perimeter:14.76,compactness:0.8657,kernelLength:5.789,kernelWidth:3.245,asymmetryCoefficient:1.791,kernelGrooveLength:5.001,label:1})
CREATE (:Seed {area:16.19,perimeter:15.16,compactness:0.8849,kernelLength:5.833,kernelWidth:3.421,asymmetryCoefficient:0.903,kernelGrooveLength:5.307,label:1})
CREATE (:Seed {area:13.02,perimeter:13.76,compactness:0.8641,kernelLength:5.395,kernelWidth:3.026,asymmetryCoefficient:3.373,kernelGrooveLength:4.825,label:1})
CREATE (:Seed {area:12.74,perimeter:13.67,compactness:0.8564,kernelLength:5.395,kernelWidth:2.956,asymmetryCoefficient:2.504,kernelGrooveLength:4.869,label:1})
CREATE (:Seed {area:14.11,perimeter:14.18,compactness:0.882,kernelLength:5.541,kernelWidth:3.221,asymmetryCoefficient:2.754,kernelGrooveLength:5.038,label:1})
CREATE (:Seed {area:13.45,perimeter:14.02,compactness:0.8604,kernelLength:5.516,kernelWidth:3.065,asymmetryCoefficient:3.531,kernelGrooveLength:5.097,label:1})
CREATE (:Seed {area:13.16,perimeter:13.82,compactness:0.8662,kernelLength:5.454,kernelWidth:2.975,asymmetryCoefficient:0.8551,kernelGrooveLength:5.056,label:1})
CREATE (:Seed {area:15.49,perimeter:14.94,compactness:0.8724,kernelLength:5.757,kernelWidth:3.371,asymmetryCoefficient:3.412,kernelGrooveLength:5.228,label:1})
CREATE (:Seed {area:14.09,perimeter:14.41,compactness:0.8529,kernelLength:5.717,kernelWidth:3.186,asymmetryCoefficient:3.92,kernelGrooveLength:5.299,label:1})
CREATE (:Seed {area:13.94,perimeter:14.17,compactness:0.8728,kernelLength:5.585,kernelWidth:3.15,asymmetryCoefficient:2.124,kernelGrooveLength:5.012,label:1})
CREATE (:Seed {area:15.05,perimeter:14.68,compactness:0.8779,kernelLength:5.712,kernelWidth:3.328,asymmetryCoefficient:2.129,kernelGrooveLength:5.36,label:1})
CREATE (:Seed {area:16.12,perimeter:15.0,compactness:0.9,kernelLength:5.709,kernelWidth:3.485,asymmetryCoefficient:2.27,kernelGrooveLength:5.443,label:1})
CREATE (:Seed {area:16.2,perimeter:15.27,compactness:0.8734,kernelLength:5.826,kernelWidth:3.464,asymmetryCoefficient:2.823,kernelGrooveLength:5.527,label:1})
CREATE (:Seed {area:17.08,perimeter:15.38,compactness:0.9079,kernelLength:5.832,kernelWidth:3.683,asymmetryCoefficient:2.956,kernelGrooveLength:5.484,label:1})
CREATE (:Seed {area:14.8,perimeter:14.52,compactness:0.8823,kernelLength:5.656,kernelWidth:3.288,asymmetryCoefficient:3.112,kernelGrooveLength:5.309,label:1})
CREATE (:Seed {area:14.28,perimeter:14.17,compactness:0.8944,kernelLength:5.397,kernelWidth:3.298,asymmetryCoefficient:6.685,kernelGrooveLength:5.001,label:1})
CREATE (:Seed {area:13.54,perimeter:13.85,compactness:0.8871,kernelLength:5.348,kernelWidth:3.156,asymmetryCoefficient:2.587,kernelGrooveLength:5.178,label:1})
CREATE (:Seed {area:13.5,perimeter:13.85,compactness:0.8852,kernelLength:5.351,kernelWidth:3.158,asymmetryCoefficient:2.249,kernelGrooveLength:5.176,label:1})
CREATE (:Seed {area:13.16,perimeter:13.55,compactness:0.9009,kernelLength:5.138,kernelWidth:3.201,asymmetryCoefficient:2.461,kernelGrooveLength:4.783,label:1})
CREATE (:Seed {area:15.5,perimeter:14.86,compactness:0.882,kernelLength:5.877,kernelWidth:3.396,asymmetryCoefficient:4.711,kernelGrooveLength:5.528,label:1})
CREATE (:Seed {area:15.11,perimeter:14.54,compactness:0.8986,kernelLength:5.579,kernelWidth:3.462,asymmetryCoefficient:3.128,kernelGrooveLength:5.18,label:1})
CREATE (:Seed {area:13.8,perimeter:14.04,compactness:0.8794,kernelLength:5.376,kernelWidth:3.155,asymmetryCoefficient:1.56,kernelGrooveLength:4.961,label:1})
CREATE (:Seed {area:15.36,perimeter:14.76,compactness:0.8861,kernelLength:5.701,kernelWidth:3.393,asymmetryCoefficient:1.367,kernelGrooveLength:5.132,label:1})
CREATE (:Seed {area:14.99,perimeter:14.56,compactness:0.8883,kernelLength:5.57,kernelWidth:3.377,asymmetryCoefficient:2.958,kernelGrooveLength:5.175,label:1})
CREATE (:Seed {area:14.79,perimeter:14.52,compactness:0.8819,kernelLength:5.545,kernelWidth:3.291,asymmetryCoefficient:2.704,kernelGrooveLength:5.111,label:1})
CREATE (:Seed {area:14.86,perimeter:14.67,compactness:0.8676,kernelLength:5.678,kernelWidth:3.258,asymmetryCoefficient:2.129,kernelGrooveLength:5.351,label:1})
CREATE (:Seed {area:14.43,perimeter:14.4,compactness:0.8751,kernelLength:5.585,kernelWidth:3.272,asymmetryCoefficient:3.975,kernelGrooveLength:5.144,label:1})
CREATE (:Seed {area:15.78,perimeter:14.91,compactness:0.8923,kernelLength:5.674,kernelWidth:3.434,asymmetryCoefficient:5.593,kernelGrooveLength:5.136,label:1})
CREATE (:Seed {area:14.49,perimeter:14.61,compactness:0.8538,kernelLength:5.715,kernelWidth:3.113,asymmetryCoefficient:4.116,kernelGrooveLength:5.396,label:1})
CREATE (:Seed {area:14.33,perimeter:14.28,compactness:0.8831,kernelLength:5.504,kernelWidth:3.199,asymmetryCoefficient:3.328,kernelGrooveLength:5.224,label:1})
CREATE (:Seed {area:14.52,perimeter:14.6,compactness:0.8557,kernelLength:5.741,kernelWidth:3.113,asymmetryCoefficient:1.481,kernelGrooveLength:5.487,label:1})
CREATE (:Seed {area:15.03,perimeter:14.77,compactness:0.8658,kernelLength:5.702,kernelWidth:3.212,asymmetryCoefficient:1.933,kernelGrooveLength:5.439,label:1})
CREATE (:Seed {area:14.46,perimeter:14.35,compactness:0.8818,kernelLength:5.388,kernelWidth:3.377,asymmetryCoefficient:2.802,kernelGrooveLength:5.044,label:1})
CREATE (:Seed {area:14.92,perimeter:14.43,compactness:0.9006,kernelLength:5.384,kernelWidth:3.412,asymmetryCoefficient:1.142,kernelGrooveLength:5.088,label:1})
CREATE (:Seed {area:15.38,perimeter:14.77,compactness:0.8857,kernelLength:5.662,kernelWidth:3.419,asymmetryCoefficient:1.999,kernelGrooveLength:5.222,label:1})
CREATE (:Seed {area:12.11,perimeter:13.47,compactness:0.8392,kernelLength:5.159,kernelWidth:3.032,asymmetryCoefficient:1.502,kernelGrooveLength:4.519,label:1})
CREATE (:Seed {area:11.42,perimeter:12.86,compactness:0.8683,kernelLength:5.008,kernelWidth:2.85,asymmetryCoefficient:2.7,kernelGrooveLength:4.607,label:1})
CREATE (:Seed {area:11.23,perimeter:12.63,compactness:0.884,kernelLength:4.902,kernelWidth:2.879,asymmetryCoefficient:2.269,kernelGrooveLength:4.703,label:1})
CREATE (:Seed {area:12.36,perimeter:13.19,compactness:0.8923,kernelLength:5.076,kernelWidth:3.042,asymmetryCoefficient:3.22,kernelGrooveLength:4.605,label:1})
CREATE (:Seed {area:13.22,perimeter:13.84,compactness:0.868,kernelLength:5.395,kernelWidth:3.07,asymmetryCoefficient:4.157,kernelGrooveLength:5.088,label:1})
CREATE (:Seed {area:12.78,perimeter:13.57,compactness:0.8716,kernelLength:5.262,kernelWidth:3.026,asymmetryCoefficient:1.176,kernelGrooveLength:4.782,label:1})
CREATE (:Seed {area:12.88,perimeter:13.5,compactness:0.8879,kernelLength:5.139,kernelWidth:3.119,asymmetryCoefficient:2.352,kernelGrooveLength:4.607,label:1})
CREATE (:Seed {area:14.34,perimeter:14.37,compactness:0.8726,kernelLength:5.63,kernelWidth:3.19,asymmetryCoefficient:1.313,kernelGrooveLength:5.15,label:1})
CREATE (:Seed {area:14.01,perimeter:14.29,compactness:0.8625,kernelLength:5.609,kernelWidth:3.158,asymmetryCoefficient:2.217,kernelGrooveLength:5.132,label:1})
CREATE (:Seed {area:14.37,perimeter:14.39,compactness:0.8726,kernelLength:5.569,kernelWidth:3.153,asymmetryCoefficient:1.464,kernelGrooveLength:5.3,label:1})
CREATE (:Seed {area:12.73,perimeter:13.75,compactness:0.8458,kernelLength:5.412,kernelWidth:2.882,asymmetryCoefficient:3.533,kernelGrooveLength:5.067,label:1})
CREATE (:Seed {area:17.63,perimeter:15.98,compactness:0.8673,kernelLength:6.191,kernelWidth:3.561,asymmetryCoefficient:4.076,kernelGrooveLength:6.06,label:2})
CREATE (:Seed {area:16.84,perimeter:15.67,compactness:0.8623,kernelLength:5.998,kernelWidth:3.484,asymmetryCoefficient:4.675,kernelGrooveLength:5.877,label:2})
CREATE (:Seed {area:17.26,perimeter:15.73,compactness:0.8763,kernelLength:5.978,kernelWidth:3.594,asymmetryCoefficient:4.539,kernelGrooveLength:5.791,label:2})
CREATE (:Seed {area:19.11,perimeter:16.26,compactness:0.9081,kernelLength:6.154,kernelWidth:3.93,asymmetryCoefficient:2.936,kernelGrooveLength:6.079,label:2})
CREATE (:Seed {area:16.82,perimeter:15.51,compactness:0.8786,kernelLength:6.017,kernelWidth:3.486,asymmetryCoefficient:4.004,kernelGrooveLength:5.841,label:2})
CREATE (:Seed {area:16.77,perimeter:15.62,compactness:0.8638,kernelLength:5.927,kernelWidth:3.438,asymmetryCoefficient:4.92,kernelGrooveLength:5.795,label:2})
CREATE (:Seed {area:17.32,perimeter:15.91,compactness:0.8599,kernelLength:6.064,kernelWidth:3.403,asymmetryCoefficient:3.824,kernelGrooveLength:5.922,label:2})
CREATE (:Seed {area:20.71,perimeter:17.23,compactness:0.8763,kernelLength:6.579,kernelWidth:3.814,asymmetryCoefficient:4.451,kernelGrooveLength:6.451,label:2})
CREATE (:Seed {area:18.94,perimeter:16.49,compactness:0.875,kernelLength:6.445,kernelWidth:3.639,asymmetryCoefficient:5.064,kernelGrooveLength:6.362,label:2})
CREATE (:Seed {area:17.12,perimeter:15.55,compactness:0.8892,kernelLength:5.85,kernelWidth:3.566,asymmetryCoefficient:2.858,kernelGrooveLength:5.746,label:2})
CREATE (:Seed {area:16.53,perimeter:15.34,compactness:0.8823,kernelLength:5.875,kernelWidth:3.467,asymmetryCoefficient:5.532,kernelGrooveLength:5.88,label:2})
CREATE (:Seed {area:18.72,perimeter:16.19,compactness:0.8977,kernelLength:6.006,kernelWidth:3.857,asymmetryCoefficient:5.324,kernelGrooveLength:5.879,label:2})
CREATE (:Seed {area:20.2,perimeter:16.89,compactness:0.8894,kernelLength:6.285,kernelWidth:3.864,asymmetryCoefficient:5.173,kernelGrooveLength:6.187,label:2})
CREATE (:Seed {area:19.57,perimeter:16.74,compactness:0.8779,kernelLength:6.384,kernelWidth:3.772,asymmetryCoefficient:1.472,kernelGrooveLength:6.273,label:2})
CREATE (:Seed {area:19.51,perimeter:16.71,compactness:0.878,kernelLength:6.366,kernelWidth:3.801,asymmetryCoefficient:2.962,kernelGrooveLength:6.185,label:2})
CREATE (:Seed {area:18.27,perimeter:16.09,compactness:0.887,kernelLength:6.173,kernelWidth:3.651,asymmetryCoefficient:2.443,kernelGrooveLength:6.197,label:2})
CREATE (:Seed {area:18.88,perimeter:16.26,compactness:0.8969,kernelLength:6.084,kernelWidth:3.764,asymmetryCoefficient:1.649,kernelGrooveLength:6.109,label:2})
CREATE (:Seed {area:18.98,perimeter:16.66,compactness:0.859,kernelLength:6.549,kernelWidth:3.67,asymmetryCoefficient:3.691,kernelGrooveLength:6.498,label:2})
CREATE (:Seed {area:21.18,perimeter:17.21,compactness:0.8989,kernelLength:6.573,kernelWidth:4.033,asymmetryCoefficient:5.78,kernelGrooveLength:6.231,label:2})
CREATE (:Seed {area:20.88,perimeter:17.05,compactness:0.9031,kernelLength:6.45,kernelWidth:4.032,asymmetryCoefficient:5.016,kernelGrooveLength:6.321,label:2})
CREATE (:Seed {area:20.1,perimeter:16.99,compactness:0.8746,kernelLength:6.581,kernelWidth:3.785,asymmetryCoefficient:1.955,kernelGrooveLength:6.449,label:2})
CREATE (:Seed {area:18.76,perimeter:16.2,compactness:0.8984,kernelLength:6.172,kernelWidth:3.796,asymmetryCoefficient:3.12,kernelGrooveLength:6.053,label:2})
CREATE (:Seed {area:18.81,perimeter:16.29,compactness:0.8906,kernelLength:6.272,kernelWidth:3.693,asymmetryCoefficient:3.237,kernelGrooveLength:6.053,label:2})
CREATE (:Seed {area:18.59,perimeter:16.05,compactness:0.9066,kernelLength:6.037,kernelWidth:3.86,asymmetryCoefficient:6.001,kernelGrooveLength:5.877,label:2})
CREATE (:Seed {area:18.36,perimeter:16.52,compactness:0.8452,kernelLength:6.666,kernelWidth:3.485,asymmetryCoefficient:4.933,kernelGrooveLength:6.448,label:2})
CREATE (:Seed {area:16.87,perimeter:15.65,compactness:0.8648,kernelLength:6.139,kernelWidth:3.463,asymmetryCoefficient:3.696,kernelGrooveLength:5.967,label:2})
CREATE (:Seed {area:19.31,perimeter:16.59,compactness:0.8815,kernelLength:6.341,kernelWidth:3.81,asymmetryCoefficient:3.477,kernelGrooveLength:6.238,label:2})
CREATE (:Seed {area:18.98,perimeter:16.57,compactness:0.8687,kernelLength:6.449,kernelWidth:3.552,asymmetryCoefficient:2.144,kernelGrooveLength:6.453,label:2})
CREATE (:Seed {area:18.17,perimeter:16.26,compactness:0.8637,kernelLength:6.271,kernelWidth:3.512,asymmetryCoefficient:2.853,kernelGrooveLength:6.273,label:2})
CREATE (:Seed {area:18.72,perimeter:16.34,compactness:0.881,kernelLength:6.219,kernelWidth:3.684,asymmetryCoefficient:2.188,kernelGrooveLength:6.097,label:2})
CREATE (:Seed {area:16.41,perimeter:15.25,compactness:0.8866,kernelLength:5.718,kernelWidth:3.525,asymmetryCoefficient:4.217,kernelGrooveLength:5.618,label:2})
CREATE (:Seed {area:17.99,perimeter:15.86,compactness:0.8992,kernelLength:5.89,kernelWidth:3.694,asymmetryCoefficient:2.068,kernelGrooveLength:5.837,label:2})
CREATE (:Seed {area:19.46,perimeter:16.5,compactness:0.8985,kernelLength:6.113,kernelWidth:3.892,asymmetryCoefficient:4.308,kernelGrooveLength:6.009,label:2})
CREATE (:Seed {area:19.18,perimeter:16.63,compactness:0.8717,kernelLength:6.369,kernelWidth:3.681,asymmetryCoefficient:3.357,kernelGrooveLength:6.229,label:2})
CREATE (:Seed {area:18.95,perimeter:16.42,compactness:0.8829,kernelLength:6.248,kernelWidth:3.755,asymmetryCoefficient:3.368,kernelGrooveLength:6.148,label:2})
CREATE (:Seed {area:18.83,perimeter:16.29,compactness:0.8917,kernelLength:6.037,kernelWidth:3.786,asymmetryCoefficient:2.553,kernelGrooveLength:5.879,label:2})
CREATE (:Seed {area:18.85,perimeter:16.17,compactness:0.9056,kernelLength:6.152,kernelWidth:3.806,asymmetryCoefficient:2.843,kernelGrooveLength:6.2,label:2})
CREATE (:Seed {area:17.63,perimeter:15.86,compactness:0.88,kernelLength:6.033,kernelWidth:3.573,asymmetryCoefficient:3.747,kernelGrooveLength:5.929,label:2})
CREATE (:Seed {area:19.94,perimeter:16.92,compactness:0.8752,kernelLength:6.675,kernelWidth:3.763,asymmetryCoefficient:3.252,kernelGrooveLength:6.55,label:2})
CREATE (:Seed {area:18.55,perimeter:16.22,compactness:0.8865,kernelLength:6.153,kernelWidth:3.674,asymmetryCoefficient:1.738,kernelGrooveLength:5.894,label:2})
CREATE (:Seed {area:18.45,perimeter:16.12,compactness:0.8921,kernelLength:6.107,kernelWidth:3.769,asymmetryCoefficient:2.235,kernelGrooveLength:5.794,label:2})
CREATE (:Seed {area:19.38,perimeter:16.72,compactness:0.8716,kernelLength:6.303,kernelWidth:3.791,asymmetryCoefficient:3.678,kernelGrooveLength:5.965,label:2})
CREATE (:Seed {area:19.13,perimeter:16.31,compactness:0.9035,kernelLength:6.183,kernelWidth:3.902,asymmetryCoefficient:2.109,kernelGrooveLength:5.924,label:2})
CREATE (:Seed {area:19.14,perimeter:16.61,compactness:0.8722,kernelLength:6.259,kernelWidth:3.737,asymmetryCoefficient:6.682,kernelGrooveLength:6.053,label:2})
CREATE (:Seed {area:20.97,perimeter:17.25,compactness:0.8859,kernelLength:6.563,kernelWidth:3.991,asymmetryCoefficient:4.677,kernelGrooveLength:6.316,label:2})
CREATE (:Seed {area:19.06,perimeter:16.45,compactness:0.8854,kernelLength:6.416,kernelWidth:3.719,asymmetryCoefficient:2.248,kernelGrooveLength:6.163,label:2})
CREATE (:Seed {area:18.96,perimeter:16.2,compactness:0.9077,kernelLength:6.051,kernelWidth:3.897,asymmetryCoefficient:4.334,kernelGrooveLength:5.75,label:2})
CREATE (:Seed {area:19.15,perimeter:16.45,compactness:0.889,kernelLength:6.245,kernelWidth:3.815,asymmetryCoefficient:3.084,kernelGrooveLength:6.185,label:2})
CREATE (:Seed {area:18.89,perimeter:16.23,compactness:0.9008,kernelLength:6.227,kernelWidth:3.769,asymmetryCoefficient:3.639,kernelGrooveLength:5.966,label:2})
CREATE (:Seed {area:20.03,perimeter:16.9,compactness:0.8811,kernelLength:6.493,kernelWidth:3.857,asymmetryCoefficient:3.063,kernelGrooveLength:6.32,label:2})
CREATE (:Seed {area:20.24,perimeter:16.91,compactness:0.8897,kernelLength:6.315,kernelWidth:3.962,asymmetryCoefficient:5.901,kernelGrooveLength:6.188,label:2})
CREATE (:Seed {area:18.14,perimeter:16.12,compactness:0.8772,kernelLength:6.059,kernelWidth:3.563,asymmetryCoefficient:3.619,kernelGrooveLength:6.011,label:2})
CREATE (:Seed {area:16.17,perimeter:15.38,compactness:0.8588,kernelLength:5.762,kernelWidth:3.387,asymmetryCoefficient:4.286,kernelGrooveLength:5.703,label:2})
CREATE (:Seed {area:18.43,perimeter:15.97,compactness:0.9077,kernelLength:5.98,kernelWidth:3.771,asymmetryCoefficient:2.984,kernelGrooveLength:5.905,label:2})
CREATE (:Seed {area:15.99,perimeter:14.89,compactness:0.9064,kernelLength:5.363,kernelWidth:3.582,asymmetryCoefficient:3.336,kernelGrooveLength:5.144,label:2})
CREATE (:Seed {area:18.75,perimeter:16.18,compactness:0.8999,kernelLength:6.111,kernelWidth:3.869,asymmetryCoefficient:4.188,kernelGrooveLength:5.992,label:2})
CREATE (:Seed {area:18.65,perimeter:16.41,compactness:0.8698,kernelLength:6.285,kernelWidth:3.594,asymmetryCoefficient:4.391,kernelGrooveLength:6.102,label:2})
CREATE (:Seed {area:17.98,perimeter:15.85,compactness:0.8993,kernelLength:5.979,kernelWidth:3.687,asymmetryCoefficient:2.257,kernelGrooveLength:5.919,label:2})
CREATE (:Seed {area:20.16,perimeter:17.03,compactness:0.8735,kernelLength:6.513,kernelWidth:3.773,asymmetryCoefficient:1.91,kernelGrooveLength:6.185,label:2})
CREATE (:Seed {area:17.55,perimeter:15.66,compactness:0.8991,kernelLength:5.791,kernelWidth:3.69,asymmetryCoefficient:5.366,kernelGrooveLength:5.661,label:2})
CREATE (:Seed {area:18.3,perimeter:15.89,compactness:0.9108,kernelLength:5.979,kernelWidth:3.755,asymmetryCoefficient:2.837,kernelGrooveLength:5.962,label:2})
CREATE (:Seed {area:18.94,perimeter:16.32,compactness:0.8942,kernelLength:6.144,kernelWidth:3.825,asymmetryCoefficient:2.908,kernelGrooveLength:5.949,label:2})
CREATE (:Seed {area:15.38,perimeter:14.9,compactness:0.8706,kernelLength:5.884,kernelWidth:3.268,asymmetryCoefficient:4.462,kernelGrooveLength:5.795,label:2})
CREATE (:Seed {area:16.16,perimeter:15.33,compactness:0.8644,kernelLength:5.845,kernelWidth:3.395,asymmetryCoefficient:4.266,kernelGrooveLength:5.795,label:2})
CREATE (:Seed {area:15.56,perimeter:14.89,compactness:0.8823,kernelLength:5.776,kernelWidth:3.408,asymmetryCoefficient:4.972,kernelGrooveLength:5.847,label:2})
CREATE (:Seed {area:15.38,perimeter:14.66,compactness:0.899,kernelLength:5.477,kernelWidth:3.465,asymmetryCoefficient:3.6,kernelGrooveLength:5.439,label:2})
CREATE (:Seed {area:17.36,perimeter:15.76,compactness:0.8785,kernelLength:6.145,kernelWidth:3.574,asymmetryCoefficient:3.526,kernelGrooveLength:5.971,label:2})
CREATE (:Seed {area:15.57,perimeter:15.15,compactness:0.8527,kernelLength:5.92,kernelWidth:3.231,asymmetryCoefficient:2.64,kernelGrooveLength:5.879,label:2})
CREATE (:Seed {area:15.6,perimeter:15.11,compactness:0.858,kernelLength:5.832,kernelWidth:3.286,asymmetryCoefficient:2.725,kernelGrooveLength:5.752,label:2})
CREATE (:Seed {area:16.23,perimeter:15.18,compactness:0.885,kernelLength:5.872,kernelWidth:3.472,asymmetryCoefficient:3.769,kernelGrooveLength:5.922,label:2})
CREATE (:Seed {area:13.07,perimeter:13.92,compactness:0.848,kernelLength:5.472,kernelWidth:2.994,asymmetryCoefficient:5.304,kernelGrooveLength:5.395,label:3})
CREATE (:Seed {area:13.32,perimeter:13.94,compactness:0.8613,kernelLength:5.541,kernelWidth:3.073,asymmetryCoefficient:7.035,kernelGrooveLength:5.44,label:3})
CREATE (:Seed {area:13.34,perimeter:13.95,compactness:0.862,kernelLength:5.389,kernelWidth:3.074,asymmetryCoefficient:5.995,kernelGrooveLength:5.307,label:3})
CREATE (:Seed {area:12.22,perimeter:13.32,compactness:0.8652,kernelLength:5.224,kernelWidth:2.967,asymmetryCoefficient:5.469,kernelGrooveLength:5.221,label:3})
CREATE (:Seed {area:11.82,perimeter:13.4,compactness:0.8274,kernelLength:5.314,kernelWidth:2.777,asymmetryCoefficient:4.471,kernelGrooveLength:5.178,label:3})
CREATE (:Seed {area:11.21,perimeter:13.13,compactness:0.8167,kernelLength:5.279,kernelWidth:2.687,asymmetryCoefficient:6.169,kernelGrooveLength:5.275,label:3})
CREATE (:Seed {area:11.43,perimeter:13.13,compactness:0.8335,kernelLength:5.176,kernelWidth:2.719,asymmetryCoefficient:2.221,kernelGrooveLength:5.132,label:3})
CREATE (:Seed {area:12.49,perimeter:13.46,compactness:0.8658,kernelLength:5.267,kernelWidth:2.967,asymmetryCoefficient:4.421,kernelGrooveLength:5.002,label:3})
CREATE (:Seed {area:12.7,perimeter:13.71,compactness:0.8491,kernelLength:5.386,kernelWidth:2.911,asymmetryCoefficient:3.26,kernelGrooveLength:5.316,label:3})
CREATE (:Seed {area:10.79,perimeter:12.93,compactness:0.8107,kernelLength:5.317,kernelWidth:2.648,asymmetryCoefficient:5.462,kernelGrooveLength:5.194,label:3})
CREATE (:Seed {area:11.83,perimeter:13.23,compactness:0.8496,kernelLength:5.263,kernelWidth:2.84,asymmetryCoefficient:5.195,kernelGrooveLength:5.307,label:3})
CREATE (:Seed {area:12.01,perimeter:13.52,compactness:0.8249,kernelLength:5.405,kernelWidth:2.776,asymmetryCoefficient:6.992,kernelGrooveLength:5.27,label:3})
CREATE (:Seed {area:12.26,perimeter:13.6,compactness:0.8333,kernelLength:5.408,kernelWidth:2.833,asymmetryCoefficient:4.756,kernelGrooveLength:5.36,label:3})
CREATE (:Seed {area:11.18,perimeter:13.04,compactness:0.8266,kernelLength:5.22,kernelWidth:2.693,asymmetryCoefficient:3.332,kernelGrooveLength:5.001,label:3})
CREATE (:Seed {area:11.36,perimeter:13.05,compactness:0.8382,kernelLength:5.175,kernelWidth:2.755,asymmetryCoefficient:4.048,kernelGrooveLength:5.263,label:3})
CREATE (:Seed {area:11.19,perimeter:13.05,compactness:0.8253,kernelLength:5.25,kernelWidth:2.675,asymmetryCoefficient:5.813,kernelGrooveLength:5.219,label:3})
CREATE (:Seed {area:11.34,perimeter:12.87,compactness:0.8596,kernelLength:5.053,kernelWidth:2.849,asymmetryCoefficient:3.347,kernelGrooveLength:5.003,label:3})
CREATE (:Seed {area:12.13,perimeter:13.73,compactness:0.8081,kernelLength:5.394,kernelWidth:2.745,asymmetryCoefficient:4.825,kernelGrooveLength:5.22,label:3})
CREATE (:Seed {area:11.75,perimeter:13.52,compactness:0.8082,kernelLength:5.444,kernelWidth:2.678,asymmetryCoefficient:4.378,kernelGrooveLength:5.31,label:3})
CREATE (:Seed {area:11.49,perimeter:13.22,compactness:0.8263,kernelLength:5.304,kernelWidth:2.695,asymmetryCoefficient:5.388,kernelGrooveLength:5.31,label:3})
CREATE (:Seed {area:12.54,perimeter:13.67,compactness:0.8425,kernelLength:5.451,kernelWidth:2.879,asymmetryCoefficient:3.082,kernelGrooveLength:5.491,label:3})
CREATE (:Seed {area:12.02,perimeter:13.33,compactness:0.8503,kernelLength:5.35,kernelWidth:2.81,asymmetryCoefficient:4.271,kernelGrooveLength:5.308,label:3})
CREATE (:Seed {area:12.05,perimeter:13.41,compactness:0.8416,kernelLength:5.267,kernelWidth:2.847,asymmetryCoefficient:4.988,kernelGrooveLength:5.046,label:3})
CREATE (:Seed {area:12.55,perimeter:13.57,compactness:0.8558,kernelLength:5.333,kernelWidth:2.968,asymmetryCoefficient:4.419,kernelGrooveLength:5.176,label:3})
CREATE (:Seed {area:11.14,perimeter:12.79,compactness:0.8558,kernelLength:5.011,kernelWidth:2.794,asymmetryCoefficient:6.388,kernelGrooveLength:5.049,label:3})
CREATE (:Seed {area:12.1,perimeter:13.15,compactness:0.8793,kernelLength:5.105,kernelWidth:2.941,asymmetryCoefficient:2.201,kernelGrooveLength:5.056,label:3})
CREATE (:Seed {area:12.44,perimeter:13.59,compactness:0.8462,kernelLength:5.319,kernelWidth:2.897,asymmetryCoefficient:4.924,kernelGrooveLength:5.27,label:3})
CREATE (:Seed {area:12.15,perimeter:13.45,compactness:0.8443,kernelLength:5.417,kernelWidth:2.837,asymmetryCoefficient:3.638,kernelGrooveLength:5.338,label:3})
CREATE (:Seed {area:11.35,perimeter:13.12,compactness:0.8291,kernelLength:5.176,kernelWidth:2.668,asymmetryCoefficient:4.337,kernelGrooveLength:5.132,label:3})
CREATE (:Seed {area:11.24,perimeter:13.0,compactness:0.8359,kernelLength:5.09,kernelWidth:2.715,asymmetryCoefficient:3.521,kernelGrooveLength:5.088,label:3})
CREATE (:Seed {area:11.02,perimeter:13.0,compactness:0.8189,kernelLength:5.325,kernelWidth:2.701,asymmetryCoefficient:6.735,kernelGrooveLength:5.163,label:3})
CREATE (:Seed {area:11.55,perimeter:13.1,compactness:0.8455,kernelLength:5.167,kernelWidth:2.845,asymmetryCoefficient:6.715,kernelGrooveLength:4.956,label:3})
CREATE (:Seed {area:11.27,perimeter:12.97,compactness:0.8419,kernelLength:5.088,kernelWidth:2.763,asymmetryCoefficient:4.309,kernelGrooveLength:5.0,label:3})
CREATE (:Seed {area:11.4,perimeter:13.08,compactness:0.8375,kernelLength:5.136,kernelWidth:2.763,asymmetryCoefficient:5.588,kernelGrooveLength:5.089,label:3})
CREATE (:Seed {area:10.83,perimeter:12.96,compactness:0.8099,kernelLength:5.278,kernelWidth:2.641,asymmetryCoefficient:5.182,kernelGrooveLength:5.185,label:3})
CREATE (:Seed {area:10.8,perimeter:12.57,compactness:0.859,kernelLength:4.981,kernelWidth:2.821,asymmetryCoefficient:4.773,kernelGrooveLength:5.063,label:3})
CREATE (:Seed {area:11.26,perimeter:13.01,compactness:0.8355,kernelLength:5.186,kernelWidth:2.71,asymmetryCoefficient:5.335,kernelGrooveLength:5.092,label:3})
CREATE (:Seed {area:10.74,perimeter:12.73,compactness:0.8329,kernelLength:5.145,kernelWidth:2.642,asymmetryCoefficient:4.702,kernelGrooveLength:4.963,label:3})
CREATE (:Seed {area:11.48,perimeter:13.05,compactness:0.8473,kernelLength:5.18,kernelWidth:2.758,asymmetryCoefficient:5.876,kernelGrooveLength:5.002,label:3})
CREATE (:Seed {area:12.21,perimeter:13.47,compactness:0.8453,kernelLength:5.357,kernelWidth:2.893,asymmetryCoefficient:1.661,kernelGrooveLength:5.178,label:3})
CREATE (:Seed {area:11.41,perimeter:12.95,compactness:0.856,kernelLength:5.09,kernelWidth:2.775,asymmetryCoefficient:4.957,kernelGrooveLength:4.825,label:3})
CREATE (:Seed {area:12.46,perimeter:13.41,compactness:0.8706,kernelLength:5.236,kernelWidth:3.017,asymmetryCoefficient:4.987,kernelGrooveLength:5.147,label:3})
CREATE (:Seed {area:12.19,perimeter:13.36,compactness:0.8579,kernelLength:5.24,kernelWidth:2.909,asymmetryCoefficient:4.857,kernelGrooveLength:5.158,label:3})
CREATE (:Seed {area:11.65,perimeter:13.07,compactness:0.8575,kernelLength:5.108,kernelWidth:2.85,asymmetryCoefficient:5.209,kernelGrooveLength:5.135,label:3})
CREATE (:Seed {area:12.89,perimeter:13.77,compactness:0.8541,kernelLength:5.495,kernelWidth:3.026,asymmetryCoefficient:6.185,kernelGrooveLength:5.316,label:3})
CREATE (:Seed {area:11.56,perimeter:13.31,compactness:0.8198,kernelLength:5.363,kernelWidth:2.683,asymmetryCoefficient:4.062,kernelGrooveLength:5.182,label:3})
CREATE (:Seed {area:11.81,perimeter:13.45,compactness:0.8198,kernelLength:5.413,kernelWidth:2.716,asymmetryCoefficient:4.898,kernelGrooveLength:5.352,label:3})
CREATE (:Seed {area:10.91,perimeter:12.8,compactness:0.8372,kernelLength:5.088,kernelWidth:2.675,asymmetryCoefficient:4.179,kernelGrooveLength:4.956,label:3})
CREATE (:Seed {area:11.23,perimeter:12.82,compactness:0.8594,kernelLength:5.089,kernelWidth:2.821,asymmetryCoefficient:7.524,kernelGrooveLength:4.957,label:3})
CREATE (:Seed {area:10.59,perimeter:12.41,compactness:0.8648,kernelLength:4.899,kernelWidth:2.787,asymmetryCoefficient:4.975,kernelGrooveLength:4.794,label:3})
CREATE (:Seed {area:10.93,perimeter:12.8,compactness:0.839,kernelLength:5.046,kernelWidth:2.717,asymmetryCoefficient:5.398,kernelGrooveLength:5.045,label:3})
CREATE (:Seed {area:11.27,perimeter:12.86,compactness:0.8563,kernelLength:5.091,kernelWidth:2.804,asymmetryCoefficient:3.985,kernelGrooveLength:5.001,label:3})
CREATE (:Seed {area:11.87,perimeter:13.02,compactness:0.8795,kernelLength:5.132,kernelWidth:2.953,asymmetryCoefficient:3.597,kernelGrooveLength:5.132,label:3})
CREATE (:Seed {area:10.82,perimeter:12.83,compactness:0.8256,kernelLength:5.18,kernelWidth:2.63,asymmetryCoefficient:4.853,kernelGrooveLength:5.089,label:3})
CREATE (:Seed {area:12.11,perimeter:13.27,compactness:0.8639,kernelLength:5.236,kernelWidth:2.975,asymmetryCoefficient:4.132,kernelGrooveLength:5.012,label:3})
CREATE (:Seed {area:12.8,perimeter:13.47,compactness:0.886,kernelLength:5.16,kernelWidth:3.126,asymmetryCoefficient:4.873,kernelGrooveLength:4.914,label:3})
CREATE (:Seed {area:12.79,perimeter:13.53,compactness:0.8786,kernelLength:5.224,kernelWidth:3.054,asymmetryCoefficient:5.483,kernelGrooveLength:4.958,label:3})
CREATE (:Seed {area:13.37,perimeter:13.78,compactness:0.8849,kernelLength:5.32,kernelWidth:3.128,asymmetryCoefficient:4.67,kernelGrooveLength:5.091,label:3})
CREATE (:Seed {area:12.62,perimeter:13.67,compactness:0.8481,kernelLength:5.41,kernelWidth:2.911,asymmetryCoefficient:3.306,kernelGrooveLength:5.231,label:3})
CREATE (:Seed {area:12.76,perimeter:13.38,compactness:0.8964,kernelLength:5.073,kernelWidth:3.155,asymmetryCoefficient:2.828,kernelGrooveLength:4.83,label:3})
CREATE (:Seed {area:12.38,perimeter:13.44,compactness:0.8609,kernelLength:5.219,kernelWidth:2.989,asymmetryCoefficient:5.472,kernelGrooveLength:5.045,label:3})
CREATE (:Seed {area:12.67,perimeter:13.32,compactness:0.8977,kernelLength:4.984,kernelWidth:3.135,asymmetryCoefficient:2.3,kernelGrooveLength:4.745,label:3})
CREATE (:Seed {area:11.18,perimeter:12.72,compactness:0.868,kernelLength:5.009,kernelWidth:2.81,asymmetryCoefficient:4.051,kernelGrooveLength:4.828,label:3})
CREATE (:Seed {area:12.7,perimeter:13.41,compactness:0.8874,kernelLength:5.183,kernelWidth:3.091,asymmetryCoefficient:8.456,kernelGrooveLength:5.0,label:3})
CREATE (:Seed {area:12.37,perimeter:13.47,compactness:0.8567,kernelLength:5.204,kernelWidth:2.96,asymmetryCoefficient:3.919,kernelGrooveLength:5.001,label:3})
CREATE (:Seed {area:12.19,perimeter:13.2,compactness:0.8783,kernelLength:5.137,kernelWidth:2.981,asymmetryCoefficient:3.631,kernelGrooveLength:4.87,label:3})
CREATE (:Seed {area:11.23,perimeter:12.88,compactness:0.8511,kernelLength:5.14,kernelWidth:2.795,asymmetryCoefficient:4.325,kernelGrooveLength:5.003,label:3})
CREATE (:Seed {area:13.2,perimeter:13.66,compactness:0.8883,kernelLength:5.236,kernelWidth:3.232,asymmetryCoefficient:8.315,kernelGrooveLength:5.056,label:3})
CREATE (:Seed {area:11.84,perimeter:13.21,compactness:0.8521,kernelLength:5.175,kernelWidth:2.836,asymmetryCoefficient:3.598,kernelGrooveLength:5.044,label:3})
CREATE (:Seed {area:12.3,perimeter:13.34,compactness:0.8684,kernelLength:5.243,kernelWidth:2.974,asymmetryCoefficient:5.637,kernelGrooveLength:5.063,label:3})
// centroids are selected from the seeds above, one from each label group
CREATE (:Centroid {area:13.84,perimeter:13.94,compactness:0.8955,kernelLength:5.324,kernelWidth:3.379,asymmetryCoefficient:2.259,kernelGrooveLength:4.805, index:1, iteration:1})
CREATE (:Centroid {area:17.12,perimeter:15.55,compactness:0.8892,kernelLength:5.85,kernelWidth:3.566,asymmetryCoefficient:2.858,kernelGrooveLength:5.746, index:2, iteration:1})
CREATE (:Centroid {area:13.37,perimeter:13.78,compactness:0.8849,kernelLength:5.32,kernelWidth:3.128,asymmetryCoefficient:4.67,kernelGrooveLength:5.091, index:3, iteration:1})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment