Skip to content

Conversation

@harshithapv
Copy link
Contributor

@harshithapv harshithapv commented Oct 30, 2019

Changed EarlyStopping to run by default with ExponentialLR Decay for learning rate scheduling.
This combination seems to give most optimal results with a trade-off balance between the accuracy and training time.

@harshithapv harshithapv requested a review from codemzs October 30, 2019 18:19
Harshitha Parnandi Venkata added 3 commits November 1, 2019 12:04
@harshithapv harshithapv force-pushed the ImageClassificationDefaults branch from 740a6fc to 47ac5cd Compare November 1, 2019 19:09
@codemzs codemzs marked this pull request as ready for review November 1, 2019 20:43
@codemzs codemzs requested a review from a team as a code owner November 1, 2019 20:43
//Download the image set and unzip
string finalImagesFolderName = DownloadImageSet(
imagesDownloadFolderPath);
//string finalImagesFolderName = "flower_photos";
Copy link
Member

@codemzs codemzs Nov 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

//string finalImagesFolderName = "flower_photos"; [](start = 12, length = 49)

remove #Closed


var pipeline = mlContext.MulticlassClassification.Trainers
.ImageClassification(featureColumnName:"Image", validationSet:testDataset)
.ImageClassification(featureColumnName:"Image", validationSet:null)
Copy link
Member

@codemzs codemzs Nov 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

, validationSet:null [](start = 70, length = 20)

no need, default is null. #Resolved

options.ValidationSetBottleneckCachedValuesFileName = _options.ValidationSetBottleneckCachedValuesFileName;
}

if ( options.MetricsCallback == null )
Copy link
Member

@codemzs codemzs Nov 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[](start = 16, length = 1)

space #Closed

options.ValidationSetBottleneckCachedValuesFileName = _options.ValidationSetBottleneckCachedValuesFileName;
}

if ( options.MetricsCallback == null )
Copy link
Member

@codemzs codemzs Nov 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[](start = 48, length = 1)

space #Closed

Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codemzs codemzs merged commit b9c68bf into dotnet:master Nov 1, 2019
frank-dong-ms-zz pushed a commit to frank-dong-ms-zz/machinelearning that referenced this pull request Nov 4, 2019
* Changed some defaults

* Changed metrics callback default

* metricsCallback will write to mlcontext log by default. The sample has been update to show how to get the output to console from the log.

* deleted unnecessary comments

* Addressed comments

* Minor clean up.

* Disable unstable test.
frank-dong-ms-zz pushed a commit to frank-dong-ms-zz/machinelearning that referenced this pull request Nov 4, 2019
* Changed some defaults

* Changed metrics callback default

* metricsCallback will write to mlcontext log by default. The sample has been update to show how to get the output to console from the log.

* deleted unnecessary comments

* Addressed comments

* Minor clean up.

* Disable unstable test.
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants