[Python] H2O로 Randomforest 해보기
알고리즘 설정하기 import h2o h2o.init() from h2o.estimators import H2ORandomForestEstimator # Import the cars dataset into H2O: cars = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/junit/cars_20mpg.csv") ## 타겟 변수 (classfication) cars["economy_20mpg"] = cars["economy_20mpg"].asfactor() ## 타겟 변수 (regression) cars["economy"] = cars["economy"].asnumeric() predictors = ["displaceme..
2020.08.10