Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We integrate ml-engine API model and version functions to Drupal. Video. Refer to the v1.projects.models section of the page for job method details.
Comments
Comment #2
boaloysius CreditAttribution: boaloysius as a volunteer and at Google Summer of Code commentedComment #3
boaloysius CreditAttribution: boaloysius as a volunteer and at Google Summer of Code commentedThis week was kick-started by working on the basic architecture of the module. We have created six Drupal services and an MLEngineBase class. As any request to the Google cloud server should be for a service like CloudNaturalLanguage, CloudSpeechAPI, Compute, Freebase, YouTube etc, we have created a Drupal service to provide CloudMachineLearningEngineService for every request we make to the cloud server. We have created APIs for Training Job, Models and its Version. They have create, get, list, and cancel functions. They are designed to give a similar format for the response.
array( ['success]=> 1, ['response']=>$response )
andarray( ['success]=> 0, ['response']=> json_decode(($ex->getMessage(), true)['error']))
. They work with forms to send requests to the server. These services extend MLEngineBase class which provides global variables and functions like project name and create_service(). We have Prediction and Project services that verify the project credential and make predictions. Please check the commit 3564195 to see the major design improvement.Beside this, we have some minor design changes. I feel it easy to explain the progress through a video than text.
Youtube link