Skip to content

Conversation

@yaeldekel
Copy link

@yaeldekel yaeldekel commented Oct 12, 2018

{
var span = src.Span;
Contracts.Check(!IsStdMissing(ref span), "Missing text value cannot be converted to unsigned integer type.");
Contracts.Check(span.IsEmpty || !IsStdMissing(ref span), "Missing text value cannot be converted to unsigned integer type.");
Copy link
Contributor

@TomFinley TomFinley Oct 12, 2018

Choose a reason for hiding this comment

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

span.IsEmpty [](start = 28, length = 12)

Heh heh. Whoops! #Resolved

@@ -0,0 +1,7 @@
Wirtschaft 0
Copy link
Contributor

@TomFinley TomFinley Oct 12, 2018

Choose a reason for hiding this comment

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

This is associated with lm.sample.txt, I guess? So I wonder if lm.labels.txt might be a better name, just to make clear the two files are in some way associated -- Mapping.de-de.txt is not entirely clear. #Resolved

Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

:shipit:


[Fact(Skip = "Need CoreTLC specific baseline update")]
//[Fact(Skip = "Need CoreTLC specific baseline update")]
[Fact]
Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka Oct 12, 2018

Choose a reason for hiding this comment

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

make your mind :) #Closed

@@ -0,0 +1 @@
Saving predictor summary
Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka Oct 12, 2018

Choose a reason for hiding this comment

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

summary [](start = 17, length = 7)

with latest Eric changes (#1193) you can just use Common folder if files for Debug and Release are same. #Closed

TestCore(pathData, false,
new[] {
"loader=Text{header+ sep=comma col=Label:14 col=Age:0 col=Gender:TX:9 col=Mar:TX:5 col=Race:TX:8 col=Num:2,4,10-12 col=Txt:TX:~}",
"xf=Cat{col=Race2:Key:Race data={" + pathTerms + "} termCol=Whatever}",
Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka Oct 12, 2018

Choose a reason for hiding this comment

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

Race2:Key:Race [](start = 32, length = 14)

Is this supported? #Closed

Copy link
Author

Choose a reason for hiding this comment

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

Are you referring to the "Race2:Key:Race" syntax? Or to the term data file argument? The first is supported, the second is supported in the latest iteration of this PR :-).


In reply to: 224882266 [](ancestors = 224882266)

string pathData = GetDataPath(@"lm.sample.txt");
string mappingPathData = GetDataPath(@"lm.labels.txt");

// REVIEW shonk: The file doesn't really have a header row. Is it intentional to pretend it does?
Copy link
Member

@sfilipi sfilipi Oct 13, 2018

Choose a reason for hiding this comment

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

shonk [](start = 22, length = 5)

think we don't use aliases here anymore. #Resolved

Copy link
Author

Choose a reason for hiding this comment

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

Oops :-).


In reply to: 224948838 [](ancestors = 224948838)

Copy link
Member

@sfilipi sfilipi left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka left a comment

Choose a reason for hiding this comment

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

:shipit:

}

public CategoricalEstimator(IHostEnvironment env, params ColumnInfo[] columns)
public CategoricalEstimator(IHostEnvironment env, ColumnInfo[] columns,
Copy link
Contributor

Choose a reason for hiding this comment

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

public [](start = 8, length = 6)

out of curiosity can you make this constructor internal? I would prefer to not pollute our public API with these things.
Same for TermEstimator.

@yaeldekel yaeldekel closed this Oct 19, 2018
@yaeldekel yaeldekel reopened this Oct 19, 2018
@yaeldekel yaeldekel merged commit dddb5c1 into dotnet:master Oct 20, 2018
@yaeldekel yaeldekel deleted the bugfixes branch October 20, 2018 03:16
@yaeldekel yaeldekel mentioned this pull request Oct 20, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

5 participants