h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.94k stars 2k forks source link

Flow, DL: Autoencoder selection causes error #13332

Closed exalate-issue-sync[bot] closed 1 year ago

exalate-issue-sync[bot] commented 1 year ago

In latest Flow release, selecting the Autoencoder checkbox for DL produces the following error:

Error calling POST /3/ModelBuilders.json/deeplearning with opts {"training_frame":"cup98LRN_z.hex","validation_frame":"cup98VAL_z.hex","ignored_columns":"[\"\",\"ODATEDW\",\"OSOURCE\",\"TCODE\",\"PVASTATE\",\"NOEXCH\",\"RECINHSE\",\"RECP3\",\"RECPGVG\",\"RECSWEEP\",\"MDMAUD\",\"DOMAIN\",\"CLUSTER\",\"AGEFLAG\",\"HOMEOWNR\",\"CHILD03\",\"CHILD07\",\"CHILD12\",\"CHILD18\",\"GENDER\",\"WEALTH1\",\"HIT\",\"MBCRAFT\",\"MBGARDEN\",\"MBBOOKS\",\"MBCOLECT\",\"MAGFAML\",\"MAGFEM\",\"MAGMALE\",\"PUBGARDN\",\"PUBCULIN\",\"PUBHLTH\",\"PUBDOITY\",\"PUBNEWFN\",\"PUBPHOTO\",\"PUBOPP\",\"DATASRCE\",\"MALEMILI\",\"MALEVET\",\"VIETVETS\",\"WWIIVETS\",\"LOCALGOV\",\"STATEGOV\",\"FEDGOV\",\"SOLP3\",\"SOLIH\",\"MAJOR\",\"WEALTH2\",\"GEOCODE\",\"COLLECT1\",\"VETERANS\",\"BIBLE\",\"CATLG\",\"HOMEE\",\"PETS\",\"CDPLAY\",\"STEREO\",\"PCOWNERS\",\"PHOTO\",\"CRAFTS\",\"FISHER\",\"GARDENIN\",\"BOATS\",\"WALKER\",\"KIDSTUFF\",\"CARDS\",\"PLATES\",\"LIFESRC\",\"PEPSTRFL\",\"POP901\",\"POP902\",\"POP903\",\"POP90C1\",\"POP90C2\",\"POP90C3\",\"POP90C4\",\"POP90C5\",\"ETH1\",\"ETH2\",\"ETH3\",\"ETH4\",\"ETH5\",\"ETH6\",\"ETH7\",\"ETH8\",\"ETH9\",\"ETH10\",\"ETH11\",\"ETH12\",\"ETH13\",\"ETH14\",\"ETH15\",\"ETH16\",\"AGE901\",\"AGE902\",\"AGE903\",\"AGE904\",\"AGE905\",\"AGE906\",\"AGE907\",\"CHIL1\",\"CHIL2\",\"CHIL3\",\"AGEC1\",\"AGEC2\",\"AGEC3\",\"AGEC4\",\"AGEC5\",\"AGEC6\",\"AGEC7\",\"CHILC1\",\"CHILC2\",\"CHILC3\",\"CHILC4\",\"CHILC5\",\"HHAGE1\",\"HHAGE2\",\"HHAGE3\",\"HHN1\",\"HHN2\",\"HHN3\",\"HHN4\",\"HHN5\",\"HHN6\",\"MARR1\",\"MARR2\",\"MARR3\",\"MARR4\",\"HHP1\",\"HHP2\",\"DW1\",\"DW2\",\"DW3\",\"DW4\",\"DW5\",\"DW6\",\"DW7\",\"DW8\",\"DW9\",\"HV1\",\"HV2\",\"HV3\",\"HV4\",\"HU1\",\"HU2\",\"HU3\",\"HU4\",\"HU5\",\"HHD1\",\"HHD2\",\"HHD3\",\"HHD4\",\"HHD5\",\"HHD6\",\"HHD7\",\"HHD8\",\"HHD9\",\"HHD10\",\"HHD11\",\"HHD12\",\"ETHC1\",\"ETHC2\",\"ETHC3\",\"ETHC4\",\"ETHC5\",\"ETHC6\",\"HVP1\",\"HVP2\",\"HVP3\",\"HVP4\",\"HVP5\",\"HVP6\",\"HUR1\",\"HUR2\",\"RHP1\",\"RHP2\",\"RHP3\",\"RHP4\",\"HUPA1\",\"HUPA2\",\"HUPA3\",\"HUPA4\",\"HUPA5\",\"HUPA6\",\"HUPA7\",\"RP1\",\"RP2\",\"RP3\",\"RP4\",\"MSA\",\"ADI\",\"DMA\",\"IC1\",\"IC2\",\"IC3\",\"IC4\",\"IC5\",\"IC6\",\"IC7\",\"IC8\",\"IC9\",\"IC10\",\"IC11\",\"IC12\",\"IC13\",\"IC14\",\"IC15\",\"IC16\",\"IC17\",\"IC18\",\"IC19\",\"IC20\",\"IC21\",\"IC22\",\"IC23\",\"HHAS1\",\"HHAS2\",\"HHAS3\",\"HHAS4\",\"MC1\",\"MC2\",\"MC3\",\"TPE1\",\"TPE2\",\"TPE3\",\"TPE4\",\"TPE5\",\"TPE6\",\"TPE7\",\"TPE8\",\"TPE9\",\"PEC1\",\"PEC2\",\"TPE10\",\"TPE11\",\"TPE12\",\"TPE13\",\"LFC1\",\"LFC2\",\"LFC3\",\"LFC4\",\"LFC5\",\"LFC6\",\"LFC7\",\"LFC8\",\"LFC9\",\"LFC10\",\"OCC1\",\"OCC2\",\"OCC3\",\"OCC4\",\"OCC5\",\"OCC6\",\"OCC7\",\"OCC8\",\"OCC9\",\"OCC10\",\"OCC11\",\"OCC12\",\"OCC13\",\"EIC1\",\"EIC2\",\"EIC3\",\"EIC4\",\"EIC5\",\"EIC6\",\"EIC7\",\"EIC8\",\"EIC9\",\"EIC10\",\"EIC11\",\"EIC12\",\"EIC13\",\"EIC14\",\"EIC15\",\"EIC16\",\"OEDC1\",\"OEDC2\",\"OEDC3\",\"OEDC4\",\"OEDC5\",\"OEDC6\",\"OEDC7\",\"EC1\",\"EC2\",\"EC3\",\"EC4\",\"EC5\",\"EC6\",\"EC7\",\"EC8\",\"SEC1\",\"SEC2\",\"SEC3\",\"SEC4\",\"SEC5\",\"AFC1\",\"AFC2\",\"AFC3\",\"AFC4\",\"AFC5\",\"AFC6\",\"VC1\",\"VC2\",\"VC3\",\"VC4\",\"ANC1\",\"ANC2\",\"ANC3\",\"ANC4\",\"ANC5\",\"ANC6\",\"ANC7\",\"ANC8\",\"ANC9\",\"ANC10\",\"ANC11\",\"ANC12\",\"ANC13\",\"ANC14\",\"ANC15\",\"POBC1\",\"POBC2\",\"LSC1\",\"LSC2\",\"LSC3\",\"LSC4\",\"VOC1\",\"VOC2\",\"VOC3\",\"HC1\",\"HC2\",\"HC3\",\"HC4\",\"HC5\",\"HC6\",\"HC7\",\"HC8\",\"HC9\",\"HC10\",\"HC11\",\"HC12\",\"HC13\",\"HC14\",\"HC15\",\"HC16\",\"HC17\",\"HC18\",\"HC19\",\"HC20\",\"HC21\",\"MHUC1\",\"MHUC2\",\"AC1\",\"AC2\",\"ADATE_2\",\"ADATE_3\",\"ADATE_4\",\"ADATE_5\",\"ADATE_6\",\"ADATE_7\",\"ADATE_8\",\"ADATE_9\",\"ADATE_10\",\"ADATE_11\",\"ADATE_12\",\"ADATE_13\",\"ADATE_14\",\"ADATE_15\",\"ADATE_16\",\"ADATE_17\",\"ADATE_18\",\"ADATE_19\",\"ADATE_20\",\"ADATE_21\",\"ADATE_22\",\"ADATE_23\",\"ADATE_24\",\"RFA_2\",\"RFA_3\",\"RFA_4\",\"RFA_5\",\"RFA_6\",\"RFA_7\",\"RFA_8\",\"RFA_9\",\"RFA_10\",\"RFA_11\",\"RFA_12\",\"RFA_13\",\"RFA_14\",\"RFA_15\",\"RFA_16\",\"RFA_17\",\"RFA_18\",\"RFA_19\",\"RFA_20\",\"RFA_21\",\"RFA_22\",\"RFA_23\",\"RFA_24\",\"CARDPROM\",\"MAXADATE\",\"NUMPROM\",\"CARDPM12\",\"NUMPRM12\",\"RDATE_3\",\"RDATE_4\",\"RDATE_5\",\"RDATE_6\",\"RDATE_7\",\"RDATE_8\",\"RDATE_9\",\"RDATE_10\",\"RDATE_11\",\"RDATE_12\",\"RDATE_13\",\"RDATE_14\",\"RDATE_15\",\"RDATE_16\",\"RDATE_17\",\"RDATE_18\",\"RDATE_19\",\"RDATE_20\",\"RDATE_21\",\"RDATE_22\",\"RDATE_23\",\"RDATE_24\",\"RAMNT_3\",\"RAMNT_4\",\"RAMNT_5\",\"RAMNT_6\",\"RAMNT_7\",\"RAMNT_8\",\"RAMNT_9\",\"RAMNT_10\",\"RAMNT_11\",\"RAMNT_12\",\"RAMNT_13\",\"RAMNT_14\",\"RAMNT_15\",\"RAMNT_16\",\"RAMNT_17\",\"RAMNT_18\",\"RAMNT_19\",\"RAMNT_20\",\"RAMNT_21\",\"RAMNT_22\",\"RAMNT_23\",\"RAMNT_24\",\"RAMNTALL\",\"NGIFTALL\",\"CARDGIFT\",\"MINRAMNT\",\"MINRDATE\",\"MAXRAMNT\",\"MAXRDATE\",\"LASTGIFT\",\"LASTDATE\",\"FISTDATE\",\"NEXTDATE\",\"TIMELAG\",\"AVGGIFT\",\"CONTROLN\",\"TARGET_B\",\"TARGET_D\",\"HPHONE_D\",\"RFA_2R\",\"RFA_2F\",\"RFA_2A\",\"MDMAUD_R\",\"MDMAUD_F\",\"MDMAUD_A\",\"CLUSTER2\",\"GEOCODE2\",\"STATE\"]","response_column":"INCOME","do_classification":true,"hidden":"[200,200]","seed":153145013547026780,"autoencoder":true}

Unknown error

Stack trace: FlowError@http://localhost:54321/flow/js/flow.js:2767:34 http://localhost:54321/flow/js/flow.js:4153:425 fire@http://localhost:54321/flow/js/flow-lib.js:3852:35 fireWith@http://localhost:54321/flow/js/flow-lib.js:3964:11 done@http://localhost:54321/flow/js/flow-lib.js:9019:24 http://localhost:54321/flow/js/flow-lib.js:9358:17

exalate-issue-sync[bot] commented 1 year ago

Prithvi Prabhu commented: Autoencoder works if you set the loss function to MeanSquare.

The latest Flow 0.2.38 displays proper validation messages. The validation message for this one should be "Must use MeanSquare loss function for auto-encoder."

hasithjp commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-331 Assignee: Prithvi Prabhu Reporter: J State: Resolved Fix Version: N/A Attachments: N/A Development PRs: N/A