Visualizing Cross-validation Code

Visualizing Cross-validation Code  #MachineLearning #dataviz

  • Let us say, you are writing a nice and clean Machine Learning code (e.g. Linear Regression).
  • As the name of the suggests, cross-validation is the next fun thing after learning Linear Regression because it helps to improve your prediction using the K-Fold strategy.
  • But we divide the dataset into equal K parts (K-Folds or cv).
  • Then train the model on the bigger dataset and test on the smaller dataset.
  • This graph represents the k- folds Cross Validation for the Boston dataset with Linear Regression model.


Cross-validation helps to improve your prediction using the K-Fold strategy. What is K-Fold you asked? Check out this post for a visualized explanation.

Continue reading “Visualizing Cross-validation Code”

This interactive map uses machine learning to arrange visually similar fonts

This interactive map uses machine learning to arrange visually similar fonts

  • Typography enthusiasts likely already know how to identify fonts by name, but it’s always useful to explore visually similar fonts when you feel like changing up your options.
  • Design consultant firm IDEO’s Font Map helps you do exactly that, with an interactive tool that lets you browse through fonts by clicking on them and seeing ones nearby that look similar, or by specifically searching for fonts by name.
  • IDEO software designer Kevin Ho built the map using a machine learning algorithm that can sort fonts by visual characteristics, like weight, serif or san-serif, and cursive or non-cursive.
  • “Designers need an easier way to discover alternative fonts with the same aesthetic — so I decided to see if a machine learning algorithm could sort fonts by visual characteristics, and enabling designers to explore type in a new way,” he wrote in a blog post.
  • Services that compare and suggest visually similar fonts already exist, like Identifont and the blog Typewolf, but IDEO’s tool makes it easy to quickly browse and at the very least, appreciate all the options out there that help make the web more beautiful.

Typography enthusiasts likely already know how to identify fonts by name, but it’s always useful to explore visually similar fonts when you feel like changing up your options. Design consultant…
Continue reading “This interactive map uses machine learning to arrange visually similar fonts”