Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. ridge <- h2o.glm(family= "gamma", link="log", x= X, y=y, alpha=0,
  2. lambda_search=TRUE, training_frame=mydat2, nfolds=0)
  3.  
  4. lasso <- h2o.glm(family= "gamma", link="log", x= X, y=y, alpha=1,
  5. lambda_search=TRUE, training_frame=mydat2, nfolds=0)
  6. elastic<-h2o.glm(family= "gamma", link="log", x= X, y=y, alpha=0.5,
  7. lambda_search=TRUE, training_frame=mydat2, nfolds=0)
  8.  
  9. > dput(mydat2)
  10. <environment>
  11. > mydat2
  12. Region Province Municipality PriceHouse Shops Bankruptcies MeanIncome
  13. TaxForms
  14. 1 Waals_Gewest Namur La Bruy<0xE8>re 220.00 0 82
  15. 32.56414 4583
  16. 2 Waals_Gewest Liege Berloz 168.25 0 23
  17. 28.95578 1602
  18. 3 Waals_Gewest Hainaut Binche 125.00 10 372
  19. 22.65488 19383
  20. 4 Waals_Gewest Namur Walcourt 146.75 3 190
  21. 26.72879 10089
  22. 5 Waals_Gewest Liege Baelen 169.50 7 65
  23. 26.66545 2341
  24. 6 Waals_Gewest Liege B<0xFC>llingen 142.50 1 26
  25. 25.81942 2627
  26. HotelRestaurant Industries HealthSocial
  27. 1 114 88 19
  28. 2 7 9 1
  29. 3 139 107 20
  30. 4 70 61 13
  31. 5 17 27 2
  32. 6 45 54 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement