Skip to content

Instantly share code, notes, and snippets.

@sakapon
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakapon/7cc22806f26dd346fb12 to your computer and use it in GitHub Desktop.
Save sakapon/7cc22806f26dd346fb12 to your computer and use it in GitHub Desktop.
AzureMLSample / Correct hue value
ds <- maml.mapInputPort(1) # class: data.frame
ds$Hue <- ifelse(ds$Hue == 0 & ds$Saturation == 0, -60, ds$Hue)
maml.mapOutputPort("ds");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment