Skip to content

AutoML Add Recommendation Task #4246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Oct 17, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
6f3d26c
[AutoML] Pull out Code Gen as separate library plus some changes in C…
LittleLittleCloud Aug 25, 2019
7e0f6d0
pack codegen into mlnet
LittleLittleCloud Sep 5, 2019
22edabb
pack codegen into mlnet (#4179)
LittleLittleCloud Sep 9, 2019
50e0dcd
Merge branch 'features/automl' of https://github.com/dotnet/machinele…
LittleLittleCloud Sep 23, 2019
09c56f7
add MatrixFactorization Trainer
LittleLittleCloud Sep 23, 2019
15c58f1
add RecommendationExperiment and other functions
LittleLittleCloud Sep 23, 2019
ac57d9a
some refactor in MatrixFactorization, plus fix small bugs
LittleLittleCloud Sep 24, 2019
c07948f
add LabelFeautre ColumnPurpose and some update
LittleLittleCloud Sep 25, 2019
f182a20
Merge branch 'u/xiaoyun/recommendation'
LittleLittleCloud Sep 25, 2019
9695ffe
add missing Native dll
LittleLittleCloud Sep 25, 2019
b54de14
remove mlnet project
LittleLittleCloud Sep 25, 2019
913b4af
update based on comment
LittleLittleCloud Sep 25, 2019
3fc520c
update example
LittleLittleCloud Sep 26, 2019
2f47c02
Merge branch 'master' into u/xiaoyun/recommendation
maryamariyan Sep 26, 2019
c78efbf
nit: code style
maryamariyan Sep 26, 2019
5864b78
- Rename RecommendationExperimentScenario.MF to RecommendationExperim…
maryamariyan Sep 26, 2019
4010d90
nit: code style/ add space between if and (
maryamariyan Sep 26, 2019
fef926e
Fix compile error
maryamariyan Sep 26, 2019
9c4852c
minor fixes
maryamariyan Oct 7, 2019
74cbc5c
First stage changes
maryamariyan Oct 14, 2019
7e7c272
change signature for ITrainerEstimator
maryamariyan Oct 15, 2019
17500cf
Adding tests, checking code coverage
maryamariyan Oct 16, 2019
b882ee1
cleanup + improve SweepParams, taken from MatrixFactorizationTrainer
maryamariyan Oct 16, 2019
d7a272d
Address PR feedback - part1
maryamariyan Oct 16, 2019
b69d9c3
Apply PR feedbacks - Part 2
maryamariyan Oct 16, 2019
f9c6abb
Update test to reflect change made to sweep params
maryamariyan Oct 16, 2019
7d856c8
Apply PR feedbacks: Part 3
maryamariyan Oct 16, 2019
7852c5e
Adds more sweepable params and test
maryamariyan Oct 16, 2019
f889fa5
Rename to UserId/ItemId
maryamariyan Oct 16, 2019
2ec0649
Rename User/Item ID: part 2
maryamariyan Oct 16, 2019
c39ae94
- Removing SamplingKey for first iteration
maryamariyan Oct 16, 2019
7186280
Apply review comments
maryamariyan Oct 17, 2019
d3d6b4a
Minor rename
maryamariyan Oct 17, 2019
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
Prev Previous commit
Next Next commit
- Rename RecommendationExperimentScenario.MF to RecommendationExperim…
…entScenario.MatrixFactorization

- Add copyright header to new files
- Remove and sort usings
  • Loading branch information
maryamariyan committed Sep 26, 2019
commit 5864b78670435c80382aa33a4c62e389164db8a7
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.ML.Data;

namespace Microsoft.ML.AutoML.Samples.DataStructures
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using Microsoft.ML.Data;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.ML.Data;

namespace Microsoft.ML.AutoML.Samples
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
using System;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.IO;
using System.Linq;
using Microsoft.ML.AutoML;
using Microsoft.ML.AutoML.Samples.DataStructures;
using Microsoft.ML.Data;

Expand Down
12 changes: 7 additions & 5 deletions src/Microsoft.ML.AutoML/API/RecommendationExperiment.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
using System;
using System.Collections;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.ML.Data;
using Microsoft.ML.Trainers;

namespace Microsoft.ML.AutoML
{
public enum RecommendationExperimentScenario
{
MF,
MatrixFactorization = 0,
}

public sealed class RecommendationExperimentSettings : ExperimentSettings
Expand All @@ -29,7 +31,7 @@ public sealed class RecommendationExperimentSettings : ExperimentSettings
public RecommendationExperimentSettings(RecommendationExperimentScenario scenario, string columnIndexName, string rowIndexName)
: this()
{
if(scenario == RecommendationExperimentScenario.MF)
if(scenario == RecommendationExperimentScenario.MatrixFactorization)
{
AutoCatalog.ValuePairs[nameof(MatrixFactorizationTrainer.Options.MatrixColumnIndexColumnName)] = columnIndexName;
AutoCatalog.ValuePairs[nameof(MatrixFactorizationTrainer.Options.MatrixRowIndexColumnName)] = rowIndexName;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Collections.Generic;
using System.Text;
using Microsoft.ML.Data;
using Microsoft.ML.Trainers;
using Microsoft.ML.Trainers.Recommender;

namespace Microsoft.ML.AutoML
{
Expand Down