Python

Showing 19-27 of 73 results
EngineeringIcon ChevronTechnology

HorusLP-Gurobi: High-level Optimization Architecture for Gurobi

By Shanglun Wang

Commercial solvers such as Gurobi are playing an increasingly important role in optimization, and they tend to boast more features than open-source solutions. In this article, Toptal Python Developer Sean Wang explains how you can integrate the HorusLP package with Gurobi’s API to harness its most advanced features.

9 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Adversarial Machine Learning: How to Attack and Defend ML Models

By Pau Labarta Bajo

The increasing accuracy of machine learning systems has resulted in a flood of applications using them. As machine learning models matured and improved, so did ways of attacking them. In this article, Toptal Python Developer Pau Labarta Bajo examines the world of adversarial machine learning, explains how ML models can be attacked, and what you can do to safeguard them against attack.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Zero to Hero: Flask Production Recipes

By Ivan Poleschyuk

Flask is a great way to get up and running quickly with a Python applications, but what if you wanted to make something a bit more robust? In this article, Toptal Freelance Python Developer Ivan PoleschyuI shares some tips and useful recipes for building a complete production-ready Flask application.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

Ensuring Clean Code: A Look at Python, Parameterized

By Luke Plant

We’ll explore the application of parameterization and how it relates to mainstream design patterns such as dependency injection, strategy, template method, and others. In Python, many of these are made unnecessary by the fact that parameters can be callable objects or classes.

12 minute readContinue Reading
EngineeringIcon ChevronTechnology

Architecting Optimization Algorithms with HorusLP

By Shanglun Wang

HorusLP is a new Python tool designed to help with the architecture of algorithm development workflows. It provides an architectural framework for the development of optimization algorithms. In this article, Toptal Freelance Software Engineer Shanglun Wang explains how HorusLP came to be and demonstrates its capabilities with a few example algorithms.

22 minute readContinue Reading
EngineeringIcon ChevronBack-end

Option/Maybe, Either, and Future Monads in JavaScript, Python, Ruby, Swift, and Scala

By Alexey Karasev

If you're searching for the holy grail of bug-free code in JavaScript, Python, Ruby, Swift, and/or Scala, look no further! This monad tutorial by Toptal Freelance Functional Programmer Alexey Karasev takes you from category theory to the practical implementations of the Option/Maybe, Either, and Future monads, plus a sample program—in all five languages.

23 minute readContinue Reading
EngineeringIcon ChevronTechnology

An Introductory Robot Programming Tutorial

By Nick McCrea

Let's face it, robots are cool. In this post, Toptal Engineer Nick McCrea provides a step-by-step, easy-to-follow tutorial (with code samples) that walks you through the process of building a basic autonomous mobile robot.

24 minute readContinue Reading
EngineeringIcon ChevronBack-end

Schooling Flappy Bird: A Reinforcement Learning Tutorial

By Neven Pičuljan

Leveraging DeepMind's breakthrough AI approaches takes some work, but the results are astounding. In this article, Toptal Freelance Deep Learning Engineer Neven Pičuljan guides us through the building blocks of reinforcement learning, training a neural network to play Flappy Bird using the PyTorch framework.

17 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Python Machine Learning Prediction With a Flask REST API

By Guillaume Ferry

Employing Python to make machine learning predictions can be a daunting task, especially if your goal is to create a real-time solution. However, Tensorflow and Scikit-Learn can significantly speed up implementation. In this article, Toptal Python Developer Guillaume Ferry outlines a simple architecture that should help you progress from a basic proof of concept to a minimal viable product without much hassle.

7 minute readContinue Reading

Join the Toptal® community.