Data Science Solutions with Python by Tshepo Chris Nokeri

Data Science Solutions with Python by Tshepo Chris Nokeri

Author:Tshepo Chris Nokeri
Language: eng
Format: epub
ISBN: 9781484277621
Publisher: Apress


Listing 5-27Precision-Recall Curve for the PySpark Logistic Regression Method

Figure 5-6Precision-recall curve for the PySpark logistic regression method

H2O in Action

This section executes and assesses the logistic regression method using the H2O framework. Listing 5-28 prepares the H2O framework.import h2o as initialize_h2o

initialize_h2o.init()

Listing 5-28Prepare the H2O Framework

Listing 5-29 changes the pandas dataframe to the H2O dataframe.h2o_data = initialize_h2o.H2OFrame(initial_data)



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.