You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This structure is quite useful -- oftentimes we want to have names and types and indices of columns, all bundled together. We used this hundreds of places. In fact it was so useful we decided to build something Schema.Column that looked a little something like this:
/// Whether this column is hidden (accessible only by index).
/// </summary>
publicboolIsHidden{get;}
/// <summary>
/// The type of the column.
/// </summary>
publicColumnTypeType{get;}
Clearly this new more fundamental structure and the older legacy structure have some things in common. In fact, the newer structure is what we are going with for our public API, so we should probably remove that older legacy structure.
We will shift usage of ColumnInfo to use Schema.Column instead (nullables where appropriate, where things can be null), and then remove ColumnInfo.
The text was updated successfully, but these errors were encountered:
We have a fun class called
RoleMappedSchema
. It operates over a class calledColumnInfo
that looks like this:machinelearning/src/Microsoft.ML.Core/Data/RoleMappedSchema.cs
Lines 18 to 22 in 98163f9
This structure is quite useful -- oftentimes we want to have names and types and indices of columns, all bundled together. We used this hundreds of places. In fact it was so useful we decided to build something
Schema.Column
that looked a little something like this:machinelearning/src/Microsoft.ML.Core/Data/Schema.cs
Lines 86 to 106 in 98163f9
Clearly this new more fundamental structure and the older legacy structure have some things in common. In fact, the newer structure is what we are going with for our public API, so we should probably remove that older legacy structure.
We will shift usage of
ColumnInfo
to useSchema.Column
instead (nullables where appropriate, where things can be null), and then removeColumnInfo
.The text was updated successfully, but these errors were encountered: