Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
outex8a.txt
outex8b.txt
rscriptEx8b.R
usqlscriptEx8a.usql
usqlscriptEx8b.usql

README.md

Exercise 8

In the earlier examples the input from usql was a single data frame stored in inputFromUSQL. In this example we will pass two inputs from usql and store it in two data frames - rightFromUSQL and leftFromUSQL. This ability to use R scripts as combiners(two inputs) is targeted for scoring scenario. You can now train using the reducer and score test/validation data using the generated models with the combiner.

In usqlscriptEx8a.usql we send two inputs to the R script and output a subset of combined data.

In usqlscriptEx8b.usql we send two inputs to the R script - the trained model and the data to score and output the predictions and the scoring data.

More on COMBINE Expression (U-SQL).