Microsoft contributing libraries, tools, recipes, sample codes and workshop contents for machine learning & deep learning.

Overview

Machine Learning Collection

Microsoft contributing libraries, tools, recipes, sample codes and workshop contents for machine learning & deep learning.

Table of Contents


Boosting

  • LightGBM - A fast, distributed, high performance gradient boosting framework
  • Explainable Boosting Machines - interpretable model developed in Microsoft Research using bagging, gradient boosting, and automatic interaction detection to estimated generalized additive models.

AutoML

  • Neural Network Intelligence - An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
  • Archai - Reproducible Rapid Research for Neural Architecture Search (NAS).
  • FLAML - A fast and lightweight AutoML library.
  • Azure Automated Machine Learning - Automated Machine Learning for Tabular data (regression, classification and forecasting) by Azure Machine Learning

Neural Network

  • bayesianize - A Bayesian neural network wrapper in pytorch.
  • O-CNN - Octree-based convolutional neural networks for 3D shape analysis.
  • ResNet - deep residual network.
  • CNTK - microsoft cognitive toolkit (CNTK), open source deep-learning toolkit.
  • InfiniBatch - Efficient, check-pointed data loading for deep learning with massive data sets.

Graph & Network

  • graspologic - utilities and algorithms designed for the processing and analysis of graphs with specialized graph statistical algorithms.
  • TF Graph Neural Network Samples - tensorFlow implementations of graph neural networks.
  • ptgnn - PyTorch Graph Neural Network Library
  • StemGNN - spectral temporal graph neural network (StemGNN) for multivariate time-series forecasting.
  • SPTAG - a distributed approximate nearest neighborhood search (ANN) library.

Vision

  • Microsoft Vision Model ResNet50 - a large pretrained vision ResNet-50 model using search engine's web-scale image data.
  • Oscar - Object-Semantics Aligned Pre-training for Vision-Language Tasks.

Time Series

  • luminol - anomaly detection and correlation library.
  • Greykite - flexible, intuitive and fast forecasts through its flagship algorithm, Silverkite.

NLP

  • T-ULRv2 - Turing multilingual language model.
  • Turing-NLG - Turing Natural Language Generation, 17 billion-parameter language model.
  • DeBERTa - Decoding-enhanced BERT with Disentangled Attention
  • UniLM - Unified Language Model Pre-training / Pre-training for NLP and Beyond
  • Unicoder - Unicoder model for understanding and generation.
  • NeuronBlocks - building your nlp dnn models like playing lego
  • Multilingual Model Transfer - new deep learning models for bootstrapping language understanding models for languages with no labeled data using labeled data from other languages.
  • MT-DNN - multi-task deep neural networks for natural language understanding.
  • inmt - interactive neural machine trainslation-lite
  • OpenKP - automatically extracting keyphrases that are salient to the document meanings is an essential step in semantic document understanding.
  • DeText - a deep neural text understanding framework for ranking and classification tasks.

Online Machine Learning

  • Vowpal Wabbit - fast, efficient, and flexible online machine learning techniques for reinforcement learning, supervised learning, and more.

Recommendation

  • Recommenders - examples and best practics for building recommendation systems (A2SVD, DKN, xDeepFM, LightGBM, LSTUR, NAML, NPA, NRMS, RLRMC, SAR, Vowpal Wabbit are invented/contributed by Microsoft).
  • GDMIX - A deep ranking personalization framework

Distributed

  • DeepSpeed - DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.
  • MMLSpark - machine learning library on spark.
  • pyton-ml - a scalable machine learning library on apache spark.
  • TonY - framwork to natively run deep learning frameworks on apache hadoop.

Casual Inference

  • EconML - Python package for estimating heterogeneous treatment effects from observational data via machine learning.
  • DoWhy - Python library for causal inference that supports explicit modeling and testing of causal assumptions.

Responsible AI

  • InterpretML - a toolkit to help understand models and enable responsbile machine learning.
    • Interpret Community - extends interpret repo with additional interpretability techniques and utility functions.
    • DiCE - diverse counterfactual explanations.
    • Interpret-Text - state-of-the-art explainers for text-based ml models and visualize with dashboard.
  • fairlearn - python package to assess and improve fairness of machine learning models.
  • LiFT - linkedin fairness toolkit.
  • RobustDG - Toolkit for building machine learning models that generalize to unseen domains and are robust to privacy and other attacks.
  • SHAP - a game theoretic approach to explain the output of any machine learning model (scott lundbert, Microsoft Research).
  • LIME - explaining the predictions of any machine learning classifier (Marco, Microsoft Research).
  • BackwardCompatibilityML - Project for open sourcing research efforts on Backward Compatibility in Machine Learning
  • confidential-ml-utils - Python utilities for training and deploying ML models against data you can't see.
  • presidio - context aware, pluggable and customizable data protection and anonymization service for text and images.
  • Confidential ONNX Inference Server - An Open Enclave port of the ONNX inference server with data encryption and attestation capabilities to enable confidential inference on Azure Confidential Computing.
  • Responsible-AI-Widgets - responsible AI user interfaces for Fairlearn, interpret-community, and Error Analysis, as well as foundational building blocks that they rely on.
  • Error Analysis - A toolkit to help analyze and improve model accuracy.
  • Secure Data Sandbox - A toolkit for conducting machine learning trials against confidential data.

Optimization

  • ONNXRuntime - cross-platfom, high performance ML inference and training accelerator.
  • Hummingbird - compile trained ml model into tensor computation for faster inference.
  • EdgeML -
  • DirectML - high-performance, hardware-accelerated DirectX 12 library for machine learning.
  • MMdnn - MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization.
  • inifinibatch - Efficient, check-pointed data loading for deep learning with massive data sets.
  • InferenceSchema - Schema decoration for inference code
  • nnfusion - flexible and efficient deep neural network compiler.

Reinforcement Learning

  • AirSim - open source simulator for autonomous vehicles build on unreal engine / unity from microsoft research.
  • TextWorld - TextWorld is a sandbox learning environment for the training and evaluation of reinforcement learning (RL) agents on text-based games.
  • Moab - Project Moab, a new open-source balancing robot to help engineers and developers learn how to build real-world autonomous control systems with Project Bonsai.
  • MARO - multi-agent resource optimization (MARO) platfom.
  • Training Data-Driven or Surrogate Simulators - build simulation from data for use in RL and Bonsai platform for machine teaching.
  • Bonsai - low code industrial machine teaching platform.
    • Bonsai Python SDK - A python library for integrating data sources with Bonsai BRAIN.

Security

  • counterfit - a CLI that provides a generic automation layer for assessing the security of ML models.

Windows

Datasets

Debug & Benchmark

  • tensorwatch - debugging, monitoring and visualization for python machine learning and data science.
  • PYRIGHT - static type checker for python.
  • Bench ML - Python library to benchmark popular pre-built cloud AI APIs.
  • debugpy - An implementation of the Debug Adapter Protocol for Python
  • kineto - A CPU+GPU Profiling library that provides access to timeline traces and hardware performance counters contributed by Azure AI Platform team.
  • SuperBenchmark - a benchmarking and diagnosis tool for AI infrastructure (software & hardware).

Pipeline

  • GitHub Actions - Automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub.
  • Azure Pipelines - Automate your builds and deployments with Pipelines so you spend less time with the nuts and bolts and more time being creative.
  • Dagli - framework for defining machine learning models, including feature generation and transformations as DAG.

Platform

  • AI for Earth API Platform - distributed infrastructure designed to provide a secure, scalable, and customizable API hosting, designed to handle the needs of long-running/asynchronous machine learning model inference.
  • HivedDScheduler - Kubernetes Scheduler for Deep Learning.
  • Open Platfom for AI (OpenPAI - resource scheduling and cluster management for AI.
  • OpenPAI Runtime - Runtime for deep learning workload.
  • MLOS - Data Science powered infrastructure and methodology to democratize and automate Performance Engineering.
  • Platform for Situated Intelligence - an open-source framework for multimodal, integrative AI.
  • Qlib - an AI-oriented quantitative investment platform.

Tagging

  • TagAnomaly - Anomaly detection analysis and labeling tool, specifically for multiple time series (one time series per category)
  • VoTT - Visual object tagging tool

Developer tool

  • Visual Studio Code - Code editor redefined and optimized for building and debugging modern web and cloud applications.
  • Gather - adds gather functionality in the Python language to the Jupyter Extension.
  • Pylance - an extension that works alongside Python in Visual Studio Code to provide performant language support.
  • Azure ML Snippets - VSCode snippets for Azure Machine Learning

Sample Code

Workshop

🏃 coming soon

Competition

Book

Learning

Blog, News & Webinar



Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Owner
Microsoft
Open source projects and samples from Microsoft
Microsoft
A Python implementation of FastDTW

fastdtw Python implementation of FastDTW [1], which is an approximate Dynamic Time Warping (DTW) algorithm that provides optimal or near-optimal align

tanitter 651 Jan 04, 2023
TensorFlow implementation of an arbitrary order Factorization Machine

This is a TensorFlow implementation of an arbitrary order (=2) Factorization Machine based on paper Factorization Machines with libFM. It supports: d

Mikhail Trofimov 785 Dec 21, 2022
Lightweight Machine Learning Experiment Logging 📖

Simple logging of statistics, model checkpoints, plots and other objects for your Machine Learning Experiments (MLE). Furthermore, the MLELogger comes with smooth multi-seed result aggregation and co

Robert Lange 65 Dec 08, 2022
MooGBT is a library for Multi-objective optimization in Gradient Boosted Trees.

MooGBT is a library for Multi-objective optimization in Gradient Boosted Trees. MooGBT optimizes for multiple objectives by defining constraints on sub-objective(s) along with a primary objective. Th

Swiggy 66 Dec 06, 2022
PyTorch extensions for high performance and large scale training.

Description FairScale is a PyTorch extension library for high performance and large scale training on one or multiple machines/nodes. This library ext

Facebook Research 2k Dec 28, 2022
Highly interpretable classifiers for scikit learn, producing easily understood decision rules instead of black box models

Highly interpretable, sklearn-compatible classifier based on decision rules This is a scikit-learn compatible wrapper for the Bayesian Rule List class

Tamas Madl 482 Nov 19, 2022
This is my implementation on the K-nearest neighbors algorithm from scratch using Python

K Nearest Neighbors (KNN) algorithm In this Machine Learning world, there are various algorithms designed for classification problems such as Logistic

sonny1902 1 Jan 08, 2022
A machine learning toolkit dedicated to time-series data

tslearn The machine learning toolkit for time series analysis in Python Section Description Installation Installing the dependencies and tslearn Getti

2.3k Jan 05, 2023
A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function.

pmdarima Pmdarima (originally pyramid-arima, for the anagram of 'py' + 'arima') is a statistical library designed to fill the void in Python's time se

alkaline-ml 1.3k Dec 22, 2022
决策树分类与回归模型的实现和可视化

DecisionTree 决策树分类与回归模型,以及可视化 DecisionTree ID3 C4.5 CART 分类 回归 决策树绘制 分类树 回归树 调参 剪枝 ID3 ID3决策树是最朴素的决策树分类器: 无剪枝 只支持离散属性 采用信息增益准则 在data.py中,我们记录了一个小的西瓜数据

Welt Xing 10 Oct 22, 2022
Used Logistic Regression, Random Forest, and XGBoost to predict the outcome of Search & Destroy games from the Call of Duty World League for the 2018 and 2019 seasons.

Call of Duty World League: Search & Destroy Outcome Predictions Growing up as an avid Call of Duty player, I was always curious about what factors led

Brett Vogelsang 2 Jan 18, 2022
Code for the TCAV ML interpretability project

Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV) Been Kim, Martin Wattenberg, Justin Gilmer, C

552 Dec 27, 2022
A handy tool for common machine learning models' hyper-parameter tuning.

Common machine learning models' hyperparameter tuning This repo is for a collection of hyper-parameter tuning for "common" machine learning models, in

Kevin Hu 2 Jan 27, 2022
Tribuo - A Java machine learning library

Tribuo - A Java prediction library (v4.1) Tribuo is a machine learning library in Java that provides multi-class classification, regression, clusterin

Oracle 1.1k Dec 28, 2022
Python implementation of Weng-Lin Bayesian ranking, a better, license-free alternative to TrueSkill

Python implementation of Weng-Lin Bayesian ranking, a better, license-free alternative to TrueSkill This is a port of the amazing openskill.js package

Open Debates Project 156 Dec 14, 2022
Greykite: A flexible, intuitive and fast forecasting library

The Greykite library provides flexible, intuitive and fast forecasts through its flagship algorithm, Silverkite.

LinkedIn 1.7k Jan 04, 2023
Using Logistic Regression and classifiers of the dataset to produce an accurate recall, f-1 and precision score

Using Logistic Regression and classifiers of the dataset to produce an accurate recall, f-1 and precision score

Thines Kumar 1 Jan 31, 2022
This project impelemented for midterm of the Machine Learning #Zoomcamp #Alexey Grigorev

MLProject_01 This project impelemented for midterm of the Machine Learning #Zoomcamp #Alexey Grigorev Context Dataset English question data set file F

Hadi Nakhi 1 Dec 18, 2021
Made in collaboration with Chris George for Art + ML Spring 2019.

Deepdream Eyes Made in collaboration with Chris George for Art + ML Spring 2019.

Francisco Cabrera 1 Jan 12, 2022
NCVX (NonConVeX): A User-Friendly and Scalable Package for Nonconvex Optimization in Machine Learning.

NCVX (NonConVeX): A User-Friendly and Scalable Package for Nonconvex Optimization in Machine Learning.

SUN Group @ UMN 28 Aug 03, 2022