SHARE
TWEET

Untitled

a guest May 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // step 6: concatenate everything into a single feature column
  2. .Append(mlContext.Transforms.Concatenate(
  3.     "Features",
  4.     "Age",
  5.     "Pclass",
  6.     "SibSp",
  7.     "Parch",
  8.     "Sex",
  9.     "Embarked"))
  10.  
  11. // step 7: use a fasttree trainer
  12. .Append(mlContext.BinaryClassification.Trainers.FastTree(
  13.     labelColumnName: DefaultColumnNames.Label,
  14.     featureColumnName: DefaultColumnNames.Features));
  15.  
  16. // the rest of the code goes here...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top