h2oai / steam

DEPRECATED Build, manage and deploy H2O's high-speed machine learning models.
http://www.h2o.ai/download/
GNU Affero General Public License v3.0
61 stars 30 forks source link

added string catching to strMapToRowData #375

Closed mattmills49 closed 7 years ago

mattmills49 commented 7 years ago

Recently I asked a question on Stack Overflow detailing an error I'm receiving while trying to use steam with a python pre-processing script. @mstensmo was kind of enough to fix the error but only in the sparseToRowData function. This PR simply adds the string catching to the strMapToRowData function as well. The model I am using (GBM) defaults to strMapToRowData so this uses it in both locations.