Skip to content

[Src] Fixed typo: files in Microsoft.ML namespace #59

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 3 commits into from
May 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/Microsoft.ML/Models/BinaryClassificationEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class BinaryClassificationEvaluator
/// The trained PredictionModel to be evaluated.
/// </param>
/// <param name="testData">
/// The test data that will be predicted and used to evaulate the model.
/// The test data that will be predicted and used to evaluate the model.
/// </param>
/// <returns>
/// A BinaryClassificationMetrics instance that describes how well the model performed against the test data.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML/Models/ClassificationEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class ClassificationEvaluator
/// The trained multi-class classification PredictionModel to be evaluated.
/// </param>
/// <param name="testData">
/// The test data that will be predicted and used to evaulate the model.
/// The test data that will be predicted and used to evaluate the model.
/// </param>
/// <returns>
/// A ClassificationMetrics instance that describes how well the model performed against the test data.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML/Models/RegressionEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class RegressionEvaluator
/// The trained PredictionModel to be evaluated.
/// </param>
/// <param name="testData">
/// The test data that will be predicted and used to evaulate the model.
/// The test data that will be predicted and used to evaluate the model.
/// </param>
/// <returns>
/// A RegressionMetrics instance that describes how well the model performed against the test data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ protected override void GenerateContent(IndentingTextWriter writer, string prefi
{
writer.WriteLine("[Module(");
_compName = prefix + component.LoadNames[0];
var name = Name ?? PrettyPrintDiaplayName(component.LoadNames[0]);
var name = Name ?? PrettyPrintDisplayName(component.LoadNames[0]);
using (writer.Nest())
{
writer.WriteLine("Name = \"{0}\",", name);
Expand Down Expand Up @@ -460,15 +460,15 @@ protected override void GenerateParameter(IndentingTextWriter w, string type, st
private void GenerateParameterAttribute(IndentingTextWriter w, string displayName, object defaultValue, string description,
string parent = null, string parentType = null, string parentValue = null)
{
w.WriteLine("[Help(Display = @\"{0}\", ToolTip = \"{1}\")]", PrettyPrintDiaplayName(displayName), description);
w.WriteLine("[Help(Display = @\"{0}\", ToolTip = \"{1}\")]", PrettyPrintDisplayName(displayName), description);
if (parent != null)
w.WriteLine("[Relevancy(Key = \"{0}\", Values = new object[] {{ {1}.{2} }})]", parent, parentType, parentValue);
if (defaultValue != null)
w.WriteLine("[Domain(DefaultValue = {0})]", defaultValue);
w.WriteLine("[ModuleParameter]");
}

private string PrettyPrintDiaplayName(string displayName)
private string PrettyPrintDisplayName(string displayName)
{
var sb = new StringBuilder();
bool first = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public sealed class SubGraphOutput

public sealed class Arguments
{
// This is the data used in the cross validataion. It will be split into k folds
// This is the data used in the cross validation. It will be split into k folds
// and a model will be trained and evaluated for each fold.
[TlcModule.OptionalInput]
[Argument(ArgumentType.Required, HelpText = "The data set", SortOrder = 1)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public sealed class SubGraphOutput

public sealed class Arguments
{
// This is the data used in the cross validataion. It will be split into k folds
// This is the data used in the cross validation. It will be split into k folds
// and a model will be trained and evaluated for each fold.
[TlcModule.OptionalInput]
[Argument(ArgumentType.Required, HelpText = "The data set", SortOrder = 1)]
Expand Down