Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
1e3c5dd
Skeleton framework for OneDAL build
Oct 6, 2021
64fd218
Missing files from previous commit
rgesteve Oct 6, 2021
37c1a9d
The basic linear regression code of Alexander's first push
rgesteve Oct 27, 2021
3937b81
Propagate references to OneDAL so that they can be used in tests
rgesteve Oct 27, 2021
ec15f79
Merge branch 'new_native' into adding_native
rgesteve Oct 27, 2021
95b8b82
Updated name of library to match build system
rgesteve Oct 27, 2021
b2a18a4
Updating the actual function call
rgesteve Oct 27, 2021
7f0cbd9
Have the linear regression return a LinearRegressionModelParameters s…
rgesteve Oct 27, 2021
18e69ac
Beginning unit tests for OneDAL integration
rgesteve Oct 27, 2021
349cd22
Adding the OneDALNative middleware as a dependency to tests
rgesteve Oct 27, 2021
256c9a6
Cleaning up the tests somewhat -- still need to figure out how to tes…
rgesteve Oct 27, 2021
0f3b05f
Small cleaning up of commented code
rgesteve Oct 28, 2021
cfec077
Elide debug output
rgesteve Oct 28, 2021
cd58896
Make dll resolution cross-plat
rgesteve Nov 3, 2021
c8c62cd
Initial integration for oneDAL LinearRegression
Alexsandruss Sep 1, 2021
edfe8ca
Infrastructure for integrated build of OneDAL components (1/n)
rgesteve Sep 29, 2021
094c1f7
Missed this from previous commit
rgesteve Sep 29, 2021
f9fba71
Using same macros than rest of native libs
rgesteve Oct 6, 2021
3bcd445
Add dispatching to oneDAL inside default OLS
Alexsandruss Sep 21, 2021
1d0651e
Fixed windows build with logs
clairiky Oct 20, 2021
a7ba8a5
Fix Windows build; removed build logs
clairiky Oct 20, 2021
bc9ddf3
Needs oneDAL already installed in the system
clairiky Oct 27, 2021
7199c32
Modify export api parameter
weilinwa Oct 29, 2021
9e73b85
Fix rebase merge conflit error
weilinwa Nov 6, 2021
f8cae23
Initial integration for oneDAL LinearRegression
Alexsandruss Sep 1, 2021
cba99eb
Add batch size parameter
Alexsandruss Oct 6, 2021
29017cb
Refactor OLS to use common code
Alexsandruss Oct 7, 2021
9f0fa9c
Remove separate Linear trainer and rename OneDAL to OneDal namespace
Alexsandruss Oct 8, 2021
fdf321e
Infrastructure for integrated build of OneDAL components (1/n)
rgesteve Sep 29, 2021
f17cc0d
Missed this from previous commit
rgesteve Sep 29, 2021
9cb42c5
Copy target to a place the C# can find it
rgesteve Sep 30, 2021
5e181a8
Using same macros than rest of native libs
rgesteve Oct 6, 2021
8f270c5
Fixed windows build with logs
clairiky Oct 20, 2021
c92e9b8
Fix Windows build; removed build logs
clairiky Oct 20, 2021
c864f8a
Initial Lbfgs-LogReg
Alexsandruss Oct 25, 2021
ab6ad68
Fix build and namespaces
Alexsandruss Oct 25, 2021
2c30c3b
Comment debug prints
Alexsandruss Oct 25, 2021
6647544
LBFGS LogReg parameters alignment - step1
Alexsandruss Oct 27, 2021
183f9f8
LogReg wrapper update
Alexsandruss Nov 18, 2021
29cd088
Resolve errors caused by merge
weilinwa Nov 21, 2021
8faa938
Fix VS IDE build errors
JEduCB Jan 7, 2022
6f95ca6
Merge branch 'main' into mine_with_ed_updated
rgesteve Feb 1, 2022
ba69cb3
Adding an OneDAL sample for easier benchmarking
rgesteve Feb 2, 2022
a990df4
Checking for environment variables
rgesteve Feb 2, 2022
b2d54d0
Fixed dependencies
rgesteve Feb 2, 2022
cfb13e2
Merge branch 'main' into mine_with_ed
rgesteve Feb 4, 2022
75e2337
fixes #40
JEduCB Feb 4, 2022
e8c2273
Merge branch 'main' into onedal-integration
rgesteve Feb 15, 2022
01274c4
Merge branch 'main' into onedal-integration
rgesteve Feb 16, 2022
e4b4e18
OneDAL integration documentation and general cleanup
rgesteve Feb 16, 2022
009b747
Added note on cmake on Windows
rgesteve Feb 16, 2022
681fb92
Cleaned up some debug messages and use test/data/externals for datasets
rgesteve Feb 16, 2022
6865d5e
Merge branch 'dotnet' into onedal-integration
rgesteve Feb 16, 2022
f014ac6
Merge branch 'main' into onedal-integration
rgesteve May 18, 2022
75758cf
Merge branch 'main' into onedal-integration
rgesteve Jun 24, 2022
42032f5
DRAFT implementation of K-nearest neighbors classifier, basic archite…
rgesteve Jun 24, 2022
7840c11
Pulling nugets from local source
rgesteve Jun 29, 2022
ea9eebe
Expose Knn trainer through multiclass catalog
rgesteve Jun 29, 2022
0a1f72b
[main] Update dependencies from dotnet/arcade (#6234)
dotnet-maestro[bot] Jun 30, 2022
10f68a3
Fixes Onnx Export for Column Copy Transformer. (#6242)
michaelgsharp Jun 30, 2022
924ae7a
Add AutoML Interactive Extension (#6243)
JakeRadMSFT Jul 6, 2022
4aad15b
[main] Update dependencies from dotnet/arcade (#6245)
dotnet-maestro[bot] Jul 6, 2022
da2df59
Proposal: Experiment API (#6118)
LittleLittleCloud Jul 13, 2022
24df355
reimplement binary experiment using AutoMLExperiment (#6246)
LittleLittleCloud Jul 18, 2022
de9afb5
fix Dead link in FastTreeRegressionTrainerClass Documentation (#6255)
feiyun0112 Jul 22, 2022
9f26edd
Don't need label column for inference TextClassification. (#6259)
michaelgsharp Jul 28, 2022
837e4dd
Minor refactoring in BaseTestClassAnalyzer (#6267)
Youssef1313 Aug 2, 2022
cd84abe
Simplify ParameterVariableNameAnalyzer (#6266)
Youssef1313 Aug 2, 2022
a486a75
Simplify NameFixProvider (#6268)
Youssef1313 Aug 2, 2022
c30a63e
add image featurizer to AutoFeaturizer (#6261)
LittleLittleCloud Aug 2, 2022
61c347c
Add in support for 1 unknown dimension for ONNX runtime. (#6265)
michaelgsharp Aug 2, 2022
c0d449f
FUNCTIONAL BREAKING CHANGE. Transform chooses score scope by default.…
michaelgsharp Aug 3, 2022
f117cd8
Update Newtonsoft.Json to 13.0.1 (#6276)
ericstj Aug 5, 2022
e8073ad
Tokenizers Support (#6272)
tarekgh Aug 10, 2022
d75dd60
improve multiclassification using AutoMLExperiment (#6270)
LittleLittleCloud Aug 17, 2022
0287d34
Merge branch 'main' into xgboost-integration
rgesteve Aug 18, 2022
11b1819
Basic infra for XGBoost wrapper
rgesteve Aug 18, 2022
8589d25
transform boolean to numeric when column is numeric feature while is …
LittleLittleCloud Aug 21, 2022
9652e59
Use SweepablePipeline (#6285)
LittleLittleCloud Aug 25, 2022
74347d7
Rebase to dotnet/machinelearning
rgesteve Aug 25, 2022
8ccd3eb
Compilation fixes
rgesteve Aug 25, 2022
26e7592
Fixed formatting and disabled some functionality to fix build
rgesteve Aug 25, 2022
bf4aefa
Simple (one file) version of XGBoost binary classifier
rgesteve Aug 25, 2022
3bff9a1
Exposed several options -- eventually to AutoML
rgesteve Aug 25, 2022
3fb4228
Building against XGBoost from repo, not Debian/Ubuntu packages
rgesteve Sep 1, 2022
6dbbc25
Adding unit tests for xgboost integration
rgesteve Sep 6, 2022
5b40e5f
Use MacOS-12 (#6315)
LittleLittleCloud Sep 7, 2022
9db8318
use parameter to save choice object (#6300)
LittleLittleCloud Sep 7, 2022
e99dfd4
Add SetMaximumMemoryUsageInMegaByte in AutoMLExperiment (#6305)
LittleLittleCloud Sep 8, 2022
4749923
Template for estimator/transformer pair
rgesteve Sep 9, 2022
bca5736
remove microsoft.ml.core dependency from microsoft.ml.searchspace (#6…
LittleLittleCloud Sep 10, 2022
a8583e3
A mirror image of the LightGBM interface for XGBoost
rgesteve Sep 12, 2022
a3b9144
A one-to-one mapper interface for XGBoost
rgesteve Sep 12, 2022
ed8c7ed
Merge branch 'xgb_test' of https://github.com/rgesteve/machinelearnin…
rgesteve Sep 12, 2022
7f7b2be
Moved from TrivialEstimator to IEstimator
rgesteve Sep 12, 2022
366b906
Mirror of LightGBM integration for XGBoost
rgesteve Sep 13, 2022
5b3612a
Exposing supporting infrastructure for XGBoost: exceptions and versio…
rgesteve Sep 13, 2022
2fa7d12
add loss to TrialResult (#6323)
LittleLittleCloud Sep 19, 2022
50e5068
DataFrame: Add DateTime column type (#6302)
Sep 20, 2022
999b4d9
Build infra for inteldal.devel-reduced
Alexsandruss Sep 27, 2022
09bbb19
Fix problems with DataFrame WriteCsv (#6303)
dakersnar Sep 27, 2022
3a10d1e
oneDAL Decision Forest training
Alexsandruss Sep 28, 2022
5ea2914
Fix for DF classifier ensemble initialization
Alexsandruss Sep 28, 2022
e85c7da
Beginning to expose the estimators through a catalog
rgesteve Sep 29, 2022
a35110e
Merge branch 'xgb_test' of https://github.com/rgesteve/machinelearnin…
rgesteve Sep 29, 2022
7e82484
Beginnings of the p/invoke infra
rgesteve Sep 29, 2022
51b155c
Merge branch 'xgb_test' of https://github.com/rgesteve/machinelearnin…
rgesteve Sep 29, 2022
3140098
Merge branch 'microsoft' into onedal-integration
rgesteve Sep 29, 2022
72e014e
Merge branch 'fleshed_out_knn' into onedal-integration
rgesteve Sep 29, 2022
d826dec
Temporarily disable KNN to update to OneDAL 'daal.h' interface
rgesteve Sep 29, 2022
b97588f
Merge branch 'xgb_test' into onedal-integration
rgesteve Sep 29, 2022
30cd48d
Infrastructure for XGBoost 1.7
rgesteve Sep 29, 2022
1905f83
Missed some dependencies
rgesteve Sep 29, 2022
685e112
Initial Decision Forest classification inference
Alexsandruss Sep 29, 2022
73fefca
Merge branch Alexander's random forest work
rgesteve Sep 30, 2022
9932d73
Decision Forest classification update
Alexsandruss Sep 30, 2022
0b6f341
A few stability changes to RandomForest
rgesteve Sep 30, 2022
1518c58
Get the version from eng/
rgesteve Oct 4, 2022
e341130
Added version from eng/ prop files
rgesteve Oct 4, 2022
8cc9458
Change booster representation to populate InternalRegressionTrees
rgesteve Oct 5, 2022
9588895
Added dependency to System.Text.Json
rgesteve Oct 6, 2022
61091d1
Mkl variable needs to be defined
rgesteve Oct 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 46 additions & 2 deletions Microsoft.ML.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32120.378
MinimumVisualStudioVersion = 10.0.40219.1
Expand Down Expand Up @@ -123,6 +123,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoML", "src\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoML.Samples", "docs\samples\Microsoft.ML.AutoML.Samples\Microsoft.ML.AutoML.Samples.csproj", "{A6924919-9E37-4023-8B7F-E85C8E3CC9B3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoML.Interactive", "src\Microsoft.ML.AutoML.Interactive\Microsoft.ML.AutoML.Interactive.csproj", "{3B00090A-B5E4-4570-BCD0-B4CD5D499394}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.Samples.GPU", "docs\samples\Microsoft.ML.Samples.GPU\Microsoft.ML.Samples.GPU.csproj", "{3C8F910B-7F23-4D25-B521-6D5AC9570ADD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.Featurizers", "src\Microsoft.ML.Featurizers\Microsoft.ML.Featurizers.csproj", "{E2DD0721-5B0F-4606-8182-4C7EFB834518}"
Expand Down Expand Up @@ -157,7 +159,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.SearchSpace.Te
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoML.SourceGenerator", "tools-local\Microsoft.ML.AutoML.SourceGenerator\Microsoft.ML.AutoML.SourceGenerator.csproj", "{C804B990-390E-41D7-8FF1-6774495D70E2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.ML.TorchSharp", "src\Microsoft.ML.TorchSharp\Microsoft.ML.TorchSharp.csproj", "{FF0BD187-4451-4A3B-934B-2AE3454896E2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.TorchSharp", "src\Microsoft.ML.TorchSharp\Microsoft.ML.TorchSharp.csproj", "{FF0BD187-4451-4A3B-934B-2AE3454896E2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.Tokenizers", "src\Microsoft.ML.Tokenizers\Microsoft.ML.Tokenizers.csproj", "{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.Tokenizers.Tests", "test\Microsoft.ML.Tokenizers.Tests\Microsoft.ML.Tokenizers.Tests.csproj", "{C3D82402-F207-4F19-8C57-5AF0FBAF9682}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.ML.XGBoost", "src\Microsoft.ML.XGBoost\Microsoft.ML.XGBoost.csproj", "{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -607,6 +615,14 @@ Global
{A6924919-9E37-4023-8B7F-E85C8E3CC9B3}.Release|Any CPU.Build.0 = Release|Any CPU
{A6924919-9E37-4023-8B7F-E85C8E3CC9B3}.Release|x64.ActiveCfg = Release|Any CPU
{A6924919-9E37-4023-8B7F-E85C8E3CC9B3}.Release|x64.Build.0 = Release|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Debug|x64.ActiveCfg = Debug|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Debug|x64.Build.0 = Debug|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Release|Any CPU.Build.0 = Release|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Release|x64.ActiveCfg = Release|Any CPU
{3B00090A-B5E4-4570-BCD0-B4CD5D499394}.Release|x64.Build.0 = Release|Any CPU
{3C8F910B-7F23-4D25-B521-6D5AC9570ADD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C8F910B-7F23-4D25-B521-6D5AC9570ADD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C8F910B-7F23-4D25-B521-6D5AC9570ADD}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand Down Expand Up @@ -747,6 +763,30 @@ Global
{FF0BD187-4451-4A3B-934B-2AE3454896E2}.Release|Any CPU.Build.0 = Release|Any CPU
{FF0BD187-4451-4A3B-934B-2AE3454896E2}.Release|x64.ActiveCfg = Release|Any CPU
{FF0BD187-4451-4A3B-934B-2AE3454896E2}.Release|x64.Build.0 = Release|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Debug|x64.ActiveCfg = Debug|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Debug|x64.Build.0 = Debug|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Release|Any CPU.Build.0 = Release|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Release|x64.ActiveCfg = Release|Any CPU
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745}.Release|x64.Build.0 = Release|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Debug|x64.ActiveCfg = Debug|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Debug|x64.Build.0 = Debug|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Release|Any CPU.Build.0 = Release|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Release|x64.ActiveCfg = Release|Any CPU
{C3D82402-F207-4F19-8C57-5AF0FBAF9682}.Release|x64.Build.0 = Release|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Debug|x64.ActiveCfg = Debug|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Debug|x64.Build.0 = Debug|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Release|Any CPU.Build.0 = Release|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Release|x64.ActiveCfg = Release|Any CPU
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -806,6 +846,7 @@ Global
{C2652287-CD6D-40FB-B042-95FB56D09DB8} = {AED9C836-31E3-4F3F-8ABC-929555D3F3C4}
{E48285BF-F49A-4EA3-AED0-1BDDBF77EB80} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{A6924919-9E37-4023-8B7F-E85C8E3CC9B3} = {DA452A53-2E94-4433-B08C-041EDEC729E6}
{3B00090A-B5E4-4570-BCD0-B4CD5D499394} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{3C8F910B-7F23-4D25-B521-6D5AC9570ADD} = {DA452A53-2E94-4433-B08C-041EDEC729E6}
{E2DD0721-5B0F-4606-8182-4C7EFB834518} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{56CB0850-7341-4D71-9AE4-9EFC472D93DD} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
Expand All @@ -824,6 +865,9 @@ Global
{A3E9F25F-2718-4FF9-A35A-54C232A847AB} = {AED9C836-31E3-4F3F-8ABC-929555D3F3C4}
{C804B990-390E-41D7-8FF1-6774495D70E2} = {7F13E156-3EBA-4021-84A5-CD56BA72F99E}
{FF0BD187-4451-4A3B-934B-2AE3454896E2} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{BBC3A950-BD68-45AC-9DBD-A8F4D8847745} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{C3D82402-F207-4F19-8C57-5AF0FBAF9682} = {AED9C836-31E3-4F3F-8ABC-929555D3F3C4}
{9CF22D6B-3094-4F42-9CBF-1B07087CF1EE} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {41165AF1-35BB-4832-A189-73060F82B01D}
Expand Down
2 changes: 2 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</solution>
<packageSources>
<clear />
<add key="LocalPackages" value="/home/rgesteve/projects/onedal_simple/Native" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
Expand All @@ -13,6 +14,7 @@
<add key="dotnet5-roslyn" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
<add key="mlnet-daily" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/MachineLearning/nuget/v3/index.json" />
<add key="mlnet-assets" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/machinelearning-assets/nuget/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<disabledPackageSources>
<clear />
Expand Down
21 changes: 20 additions & 1 deletion THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,23 @@ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PA
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
DEALINGS IN THE SOFTWARE.

License notice for HuggingFace Tokenizers
------------------------------------------

https://github.com/huggingface/tokenizers/blob/main/LICENSE

Copyright 2004 HuggingFace Tokenizers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
4 changes: 2 additions & 2 deletions build/.night-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
buildScript: ./build.sh
nightlyBuild: true
pool:
vmImage: macOS-10.15
vmImage: macOS-12

- template: /build/ci/job-template.yml
parameters:
Expand Down Expand Up @@ -117,4 +117,4 @@ jobs:
buildScript: build.cmd
nightlyBuild: true
pool:
vmImage: windows-2019
vmImage: windows-2019
4 changes: 2 additions & 2 deletions build/ci/job-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
${{ if eq(parameters.nightlyBuild, 'true') }}:
timeoutInMinutes: 30
${{ if and(eq(parameters.nightlyBuild, 'false'), eq(parameters.codeCoverage, 'false')) }}:
timeoutInMinutes: 90
timeoutInMinutes: 120
${{ if eq(parameters.codeCoverage, 'true') }}:
timeoutInMinutes: 120
cancelTimeoutInMinutes: 10
Expand Down Expand Up @@ -239,4 +239,4 @@ jobs:
displayName: Clean up runtime folder for package (Unix)
- ${{ if eq(parameters.nightlyBuild, 'false') }}:
- script: ${{ parameters.buildScript }} /p:Build=false -pack -ci -configuration $(_configuration) /p:TargetArchitecture=${{ parameters.architecture }} /p:TestArchitectures=${{ parameters.architecture }} $(testTargetFramework)
displayName: Build Packages
displayName: Build Packages
9 changes: 2 additions & 7 deletions build/vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,8 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
pool:
vmImage: macOS-10.15
vmImage: macOS-12
steps:
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
- script: |
rm -rf /usr/local/bin/2to3
displayName: MacOS Homebrew bug Workaround
continueOnError: true
- script: brew update && brew unlink [email protected] && brew install mono-libgdiplus && brew install $(Build.SourcesDirectory)/build/libomp.rb --build-from-source --formula && brew link libomp --force
displayName: Install build dependencies
- script: ./restore.sh
Expand Down Expand Up @@ -155,7 +150,7 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
pool:
vmImage: macOS-10.15
vmImage: macOS-12
steps:
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
- script: |
Expand Down
4 changes: 2 additions & 2 deletions docs/api-reference/algo-details-fasttree.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ For more information see:
* [Wikipedia: Gradient boosting (Gradient tree
boosting).](https://en.wikipedia.org/wiki/Gradient_boosting#Gradient_tree_boosting)
* [Greedy function approximation: A gradient boosting
machine.](https://projecteuclid.org/DPubS?service=UI&amp;version=1.0&amp;verb=Display&amp;handle=euclid.aos/1013203451)
machine.](https://projecteuclid.org/journals/annals-of-statistics/volume-29/issue-5/Greedy-function-approximation-A-gradient-boostingmachine/10.1214/aos/1013203451.full)

Check the See Also section for links to examples of the usage.
Check the See Also section for links to examples of the usage.
56 changes: 56 additions & 0 deletions docs/samples/Microsoft.ML.AutoML.Samples/Cifar10.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace Microsoft.ML.AutoML.Samples
{
public static class Cifar10
{
public static string cifar10FolderPath = Path.Combine(Path.GetTempPath(), "cifar10");
public static string cifar10ZipPath = Path.Combine(Path.GetTempPath(), "cifar10.zip");
public static string cifar10Url = @"https://github.com/YoongiKim/CIFAR-10-images/archive/refs/heads/master.zip";
public static string directory = "CIFAR-10-images-master";

public static void Run()
{
var imageInputs = Directory.GetFiles(cifar10FolderPath)
.Where(p => Path.GetExtension(p) == ".jpg")
.Select(p => new ModelInput
{
ImagePath = p,
Label = p.Split("\\").SkipLast(1).Last(),
});

var testImages = imageInputs.Where(f => f.ImagePath.Contains("test"));
var trainImages = imageInputs.Where(f => f.ImagePath.Contains("train"));
var context = new MLContext();
context.Log += (e, o) =>
{
if (o.Source.StartsWith("AutoMLExperiment"))
Console.WriteLine(o.Message);
};

var trainDataset = context.Data.LoadFromEnumerable(trainImages);
var testDataset = context.Data.LoadFromEnumerable(testImages);
var experiment = context.Auto().CreateExperiment();
var pipeline = context.Auto().Featurizer(trainDataset)
.Append(context.Auto().MultiClassification());

experiment.SetDataset(trainDataset, testDataset)
.SetPipeline(pipeline)
.SetMulticlassClassificationMetric(MulticlassClassificationMetric.MicroAccuracy)
.SetTrainingTimeInSeconds(200);

var result = experiment.Run();
}

class ModelInput
{
public string ImagePath { get; set; }

public string Label { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<ProjectReference Include="..\..\..\src\Microsoft.Data.Analysis\Microsoft.Data.Analysis.csproj" />
<ProjectReference Include="..\..\..\src\Microsoft.ML.AutoML\Microsoft.ML.AutoML.csproj" />
<ProjectReference Include="..\..\..\src\Microsoft.ML.Core\Microsoft.ML.Core.csproj" />
<ProjectReference Include="..\..\..\src\Microsoft.ML.SearchSpace\Microsoft.ML.SearchSpace.csproj" />
<ProjectReference Include="..\..\..\src\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj" />
<NativeAssemblyReference Include="MatrixFactorizationNative" />
<NativeAssemblyReference Include="FastTreeNative" />
Expand Down
3 changes: 3 additions & 0 deletions docs/samples/Microsoft.ML.AutoML.Samples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void Main(string[] args)
RankingExperiment.Run();
Console.Clear();

Cifar10.Run();
Console.Clear();

Console.WriteLine("Done");
}
catch (Exception ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,27 @@ public static void Example()
// Run the model on test data set.
var transformedTestData = model.Transform(testData);


#if true
var predLabelColumn = transformedTestData.Schema["PredictedLabel"];
var scoreColumn = transformedTestData.Schema["Score"];
var probColumn = transformedTestData.Schema["Probability"];

bool predLabelVal = default(bool);
float scoreVal = default(float);
using (var cursor = transformedTestData.GetRowCursor(new[] { predLabelColumn, scoreColumn, probColumn }))
{
var predLabelGetter = cursor.GetGetter<bool>(predLabelColumn);
var scoreGetter = cursor.GetGetter<float>(scoreColumn);
while (cursor.MoveNext())
{
predLabelGetter(ref predLabelVal);
scoreGetter(ref scoreVal);
Console.WriteLine(($"Got a score {scoreVal} with label {predLabelVal}"));
}
}
#else

// Convert IDataView object to a list.
var predictions = mlContext.Data
.CreateEnumerable<Prediction>(transformedTestData,
Expand All @@ -60,6 +81,7 @@ public static void Example()
.Evaluate(transformedTestData);

PrintMetrics(metrics);
#endif

// Expected output:
// Accuracy: 0.68
Expand Down
Loading