-
-
Save mdfarragher/ed7cc80dc7bcf89772a335e01c71eef4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// build a data loading pipeline | |
// step 1: divide the median house value by 1000 | |
var pipeline = context.Transforms.CustomMapping<HouseBlockData, ToMedianHouseValue>( | |
(input, output) => { output.NormalizedMedianHouseValue = input.MedianHouseValue / 1000; }, | |
contractName: "MedianHouseValue" | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment