Python

Enable Auto Completion for pip in Zsh

Pip is a package management system for installing and managing Python software packages. To enable auto completion for pip in zsh, the documentation of pip suggests adding the following line to ~/.zshrc: eval “`pip completion –zsh`” However, merely having this line would not enable auto completion for pip3. To enable auto completion for pip3 as

Enable Auto Completion for pip in Zsh Read More »

Swap Training and Test Data During Cross-Validation in scikit-learn

Last updated on October 11, 2018 Scikit-learn is a well known Python machine learning library. It provides various utilities for machine learning, including those for cross-validation. In a standard (K)-fold cross-validation, the data are split into (K) subsets (with equal size). There are (K) rounds of training and testing. In each round, one subset is

Swap Training and Test Data During Cross-Validation in scikit-learn Read More »

Data Science: A Hot Job Opportunity

May 10, 2019 Posted by Brian Njoroge in Head Scratch | 4 comments Every decade, has its hottest job opportunity. During the early 1980s and early 1990s, people were in a rush to apply investment and banking jobs. In the late 90s and early 2000s, with the growth of the internet, and most Tech graduate

Data Science: A Hot Job Opportunity Read More »

Nikola: How to Deploy Compiled Webpages to a Different Git Repository

Last updated on November 18, 2018 Nikola is one of the most popular static website generators. It compiles source files into final publishable webpages offline and then uploads those files to a web host. Compared to dynamic websites such as those powered by PHP or Ruby on Rails, static websites offer better security and faster

Nikola: How to Deploy Compiled Webpages to a Different Git Repository Read More »

Automatic Python Linters and Formatters for Arcanist

Linting code is important when working in a team, code written by others starts becoming familiar and easier to understand. Your team will possibly be divided on a big set of important aspects(tabs or spaces duh), but it is important to decide something that works for everyone and move towards one implementation quickly. We use

Automatic Python Linters and Formatters for Arcanist Read More »

Python Regular Expression or Regex Tutorial With Examples

182 Views | Read Time 3 minutes | A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern.RegEx can be used to check if a string contains the specified search pattern. Regular Expression are symbols in python that make your job in extracting much easy  Before you can use regular

Python Regular Expression or Regex Tutorial With Examples Read More »

Using Python to recover SEO site traffic (Part three)

When you incorporate machine learning techniques to speed up SEO recovery, the results can be amazing. This is the third and last installment from our series on using Python to speed SEO traffic recovery. In part one, I explained how our unique approach, that we call “winners vs losers” helps us quickly narrow down the

Using Python to recover SEO site traffic (Part three) Read More »

Using Python to recover SEO site traffic (Part two)

Automating the process of narrowing down site traffic issues with Python gives you the opportunity to help your clients recover fast. This is the second part of a three-part series. In part one, I introduced our approach to nail down the pages losing traffic. We call it the “winners vs losers” analysis. If you have

Using Python to recover SEO site traffic (Part two) Read More »

WP Twitter Auto Publish Powered By : XYZScripts.com
Exit mobile version