Boby Aloysius Johnson | GSoC Blog: The Judgement week — #4 week of GSoC

The Judgement week — #4 week of GSoC
boaloysius
Wed, 06/28/2020 – 09:40

The GSoC first phase evaluation period has started. It is from 26th to 30th of June. All students are supposed to the submit the deliverables and fill in the response form. I had been working around the clock for the last few days. Things are going well but time is rushing fast. 

My aim is to deliver a basic module that can take data from Drupal maintenance support plans and perform the complete cycle of training, deployment, and prediction. The steps during the development are (integrate ml-engine training and prediction API) -> (integrate ml-engine jobs API) -> (create Drupal maintenance support plans service to use jobs) -> (integrate version and model API as a service) -> (automate the cycle of training and deployment) -> (integrate Google cloud storage API) -> (enable file upload to both Drupal maintenance support plans server and Cloud server) -> (Upload CSV data to Drupal maintenance support plans) -> (Use data from Drupal maintenance support plans to perform the complete cycle of prediction). Tasks, till cloud upload are fully done and partially the rest. Even though I am glad that I have learned a lot with Drupal maintenance support plans, I am having a hard time messing up with the intricacies of its Views. With just around two days for submission deadline, let me not waste the time. I will show the progress as a video.

Once I figure out how to get the Drupal maintenance support plans View as render array, with just the required table elements, like

{“header” => array(“col1”, “col2”), “row1” => array(“data11″,”data12”), “row2” => array(“data21″,”data22”)} , I can make a CSV and push it to the Google Storage using service we made and perform the training task. The problem I am facing is that, views_get_view_result() function is returning me the whole entity rather than just the required fields.

In the coming week, when we settle after the evaluation, I will be studying the data streaming API of Google Cloud. From a primary study, I understood that Google ml-engine is more code-centric than data centric. Google Sheets is an example of a data-centric software. In that, we choose the algorithm for the given data. But for the ml-engine, we choose the data suitable for the available code. In ml-engine, the code can expect the data as a link to a CSV file or a Google spreadsheet or even as an argument itself. If it has data hard coded, we need not provide it separately during the run time. Till now we have worked with a specific example of Census model in the module. It expects training and testing data as CVS files. But when it comes to huge data, handling them as CSV won’t be scalable. So the coming week, we will be working more on transferring/streaming data to the cloud. Disclaimer: I derived the above conclusion of ml-engine as code-centric and not data-centric from my few days of experience with the same and it may change as I study more.

Please visit the project sandbox and the commit page.

Thank you

Source: New feed

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Boby Aloysius Johnson | GSoC Blog: The Judgement week — #4 week of GSoC

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.