Skip to content

Instantly share code, notes, and snippets.

@mdfarragher
Created November 7, 2019 14:23
Show Gist options
  • Save mdfarragher/03527d34ed716ab2b37779c741c5ef03 to your computer and use it in GitHub Desktop.
Save mdfarragher/03527d34ed716ab2b37779c741c5ef03 to your computer and use it in GitHub Desktop.
// step 2: bin the longitude
var pipeline2 = pipeline.Append(context.Transforms.NormalizeBinning(
inputColumnName: "Longitude",
outputColumnName: "BinnedLongitude",
maximumBinCount: 10
))
// step 3: bin the latitude
.Append(context.Transforms.NormalizeBinning(
inputColumnName: "Latitude",
outputColumnName: "BinnedLatitude",
maximumBinCount: 10
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment