This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import predictionio | |
# In the beginning of your application, you need to instantiate the PredictionIO client object. | |
# You need this client object to import data into PredictionIO and retrieve prediction results. | |
# Add this line to the place where you do initialization: | |
client = predictionio.Client("your App Key") | |
# Then add the following lines to your codes which handle the corresponding application logic: | |
# When a new user registers: |