The enterprise platform to build, deliver, and govern AI
Watch the 15 minute on-demand demo to get an overview of the Domino Enterprise AI Platform.
Machine learning (ML) frameworks are interfaces that allow data scientists and developers to build and deploy machine learning models faster and easier. Machine learning is used in almost every industry, notably finance, insurance, healthcare, and marketing. Using these tools, businesses can scale their machine learning efforts while maintaining an efficient ML lifecycle.
Companies can choose to build their own custom machine learning framework, but most organizations choose an existing framework that fits their needs. In this article, we’ll show key considerations for selecting the right machine learning framework for your project and briefly review four popular ML frameworks.
Here are several key considerations you should take into account when selecting a machine learning framework for your project.
When you start your search for a machine learning framework, ask these three questions:
Python and R are languages that are widely used in machine learning, but other languages such as C, Java, and Scala are also available. Most machine learning applications today are written in Python and are transitioning away from R because R was designed by statisticians, and is somewhat awkward to work with. Python is a more modern programming language, it offers a simple and concise syntax, and is easier to use.
Machine learning algorithms use different methods to analyze training data and apply what they learn to new examples.
Algorithms have parameters, which you can think of as a dashboard with switches and dials that control how the algorithm operates. They adjust the weights of variables to be considered, define how much to consider outliers, and make other adjustments to the algorithm. When choosing a machine learning framework, it is important to consider whether this adjustment should be automatic or manual.
In the training phase of AI algorithm development, scalability is the amount of data that can be analyzed and the speed of analysis. Performance can be improved through distributed algorithms and processing, and through the use of hardware acceleration, primarily graphical processing units (GPUs).
In the deployment phase of an AI project, scalability is related to the number of concurrent users or applications that can access the model simultaneously.
Because there are different requirements in the training and deployment phase, organizations tend to develop models in one type of environment (e.g. Python-based machine learning frameworks running in the cloud) and run them in a different environment with stringent requirements for performance and high availability—for example, in an on-premises data center.
When choosing a framework, it is important to consider whether it supports both types of scalability, and see if it supports your planned development and production environments.
Let’s take a look at some of the most popular machine learning frameworks in use today:
TensorFlow was created by Google and released as an open-source project. It is a versatile and powerful machine learning tool with a comprehensive library of extensive and flexible functions, and allows you to build classification models, regression models, neural networks, and most other types of machine learning models. This also includes the ability to customize machine learning algorithms to your specific requirements. TensorFlow runs on both CPUs and GPUs. The primary challenge with TensorFlow is that it is not easy to use for beginners.
Main features of TensorFlow:
With the release of TensorFlow 2.0, TensorFlow has added several important new features:
PyTorch is a machine learning framework based on Torch and Caffe2, which is ideal for neural network design. PyTorch is open-source and supports cloud-based software development. It supports Lua language for user interface development. It is integrated with Python and compatible with popular libraries like Numba and Cython. Unlike Tensorflow, PyTorch is more intuitive and quicker for beginners to pick up.
Main features of PyTorch:
SciKit Learn is open-source, is very user-friendly for those new to machine learning, and comes with detailed documentation. It allows the developer to change the algorithm's preset parameters either in use or at runtime, making it easy to tune and troubleshoot models.
SciKit-Learn supports machine learning development with an extensive Python library. It is one of the best tools available for data mining and analysis. Sci-Kit Learn has extensive pre-processing capabilities, and enables algorithm and model design for clustering, classification, regression, dimensionality reduction, and model selection.
Main features of Scikit-Learn:
H2O is an open-source ML framework developed to solve the organizational problems of decision support system processes. It integrates with other frameworks, including the ones we reviewed above, to handle actual model development and training. H2O is widely used in risk and fraud trend analysis, insurance customer analysis, patient analysis in healthcare, advertising costs and ROI, and customer intelligence.
H2O components include:
Through the environment management feature of Domino, it's easier than ever to choose the right ML framework for your use case. You're able to easily build environments and have them run on the best compute source, be it CPU, GPU, or APU.
Environments in Domino are easily configured and include these main features
For examples of how Machine Learning frameworks operate in Domino, check out some of our articles below showcasing PyTorch, Tensorflow, and Ludwig.

Domino Data Lab empowers the largest AI-driven enterprises to build and operate AI at scale. Domino’s Enterprise AI Platform provides an integrated experience encompassing model development, MLOps, collaboration, and governance. With Domino, global enterprises can develop better medicines, grow more productive crops, develop more competitive products, and more. Founded in 2013, Domino is backed by Sequoia Capital, Coatue Management, NVIDIA, Snowflake, and other leading investors.
Watch the 15 minute on-demand demo to get an overview of the Domino Enterprise AI Platform.
Watch the 15 minute on-demand demo to get an overview of the Domino Enterprise AI Platform.