A library of cross-platform, cross-framework, cross-programming language featurizers (operations in a data processing pipeline) that can be used during Machine Learning training and prediction activities.
Перейти к файлу
David Brownell 006df6bff4
Downgraded to C++11 in support of a wider variety of compilers (#33)
* Downgraded to C++11 in support of a wider variety of compilers

* Removed extra configurations
2019-12-12 16:33:22 -08:00
CI Fixed regressions in Publish pipeline (#31) 2019-12-12 09:45:26 -08:00
Libraries/Python/DataPipelines/v1.0/DataPipelines Using custom Linux agent pool (#13) 2019-12-03 17:25:47 -08:00
Scripts Merged PR 4717: Moved CppToJson python code to its own directory 2019-07-12 20:32:44 +00:00
Tools/Nuget/v5.2.0/Windows Merged PR 5115: Building nuget packages 2019-09-17 18:04:29 +00:00
src Downgraded to C++11 in support of a wider variety of compilers (#33) 2019-12-12 16:33:22 -08:00
.gitignore Refactored ML.Net code generation in preparation for ONNX export (#6) 2019-11-25 15:33:16 -08:00
Activate_custom.py Merged PR 5397: Updated incorrect copyrights 2019-11-18 20:45:06 +00:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2019-11-19 10:38:36 -08:00
LICENSE Initial LICENSE commit 2019-11-19 10:38:37 -08:00
README.md Post migration updates (#4) 2019-11-23 17:09:26 -08:00
SECURITY.md Initial SECURITY.md commit 2019-11-19 10:38:38 -08:00
ScmHook_custom.py Merged PR 5397: Updated incorrect copyrights 2019-11-18 20:45:06 +00:00
Setup.cmd Merged PR 5397: Updated incorrect copyrights 2019-11-18 20:45:06 +00:00
Setup.sh Merged PR 5397: Updated incorrect copyrights 2019-11-18 20:45:06 +00:00
Setup_custom.py Added MSVC 2017 builds (#29) 2019-12-12 08:08:48 -08:00
__RepositoryId__ Initial checkin 2019-05-22 10:10:31 -07:00
bootstrap.cmd Merged PR 5397: Updated incorrect copyrights 2019-11-18 20:45:06 +00:00
bootstrap.sh Merged PR 5397: Updated incorrect copyrights 2019-11-18 20:45:06 +00:00

README.md

Data Pipelines

Data Pipelines are used to convert from arbitrary data into a matrix/tensor that can be consumed by machine learning algorithms.

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 opencode@microsoft.com with any additional questions or comments.

Developer Quick Start

Note that these commands should be invoked within the root of the repository.

Linux

  1. Run sudo bootstrap.sh ..

    This will need to happen once per machine or after a repository has moved to a different directory. Note that sudo is not necessary when running within a Docker container.

  2. Run source ./Activate.sh x64

    This will need to happen each time a new terminal window is opened.

Windows

  1. Run bootstrap.cmd ..

    This will need to happen once per machine or after a repository has moved to a different directory.

  2. Run Activate.cmd x64

    This will need to happen each time a new terminal window is opened.

Useful Development Commands

The following commands are available within an activated terminal window.

Name Command Description
DevEnvScripts `DevEnvScripts.sh .cmd`
Builder `Builder.sh .cmd`
Tester `Tester.sh .cmd`
Formatter `Formatter.sh .cmd`

Invoking CMake

Native code is built via CMake. The following commands can be used to build any folder that contains a CMakeLists.txt file. In each example, create a build directory that will contain the generated CMake content and eventual binaries.

Assumed directory structure:

| - <Workspace dir>
    | - CMakeLists.txt
    | - ...
    | - build
        | - <Initially empty>

Within <Workspace Dir>/build run...

  • [Debug] cmake -G Ninja ..
  • [Debug with Code Coverage] cmake -G Ninja -D CppCommon_CODE_COVERAGE=ON ..
  • [Release] cmake -G Ninja -D CMAKE_BUILD_TYPE=Release ..

Once CMake has generated the build files, within <WorkSpace Dir>/build run...

  • [Build] cmake --build . or ninja -v (if the build generator was Ninja)
  • [Test] ctest --parallel

Featurizers

Information for setup/configuration of the Featurizers library can be found here