4 implementations of GetSlotType
Microsoft.ML.Data (4)
DataLoadSave\LegacyCompositeDataLoader.cs (1)
601VectorDataViewType ITransposeDataView.GetSlotType(int col) => _tview?.GetSlotType(col);
DataLoadSave\Transpose\TransposeLoader.cs (1)
611VectorDataViewType ITransposeDataView.GetSlotType(int col)
DataView\Transposer.cs (1)
260VectorDataViewType ITransposeDataView.GetSlotType(int col)
Transforms\TransformBase.cs (1)
655VectorDataViewType ITransposeDataView.GetSlotType(int col) => _bindings.GetSlotType(col);
29 references to GetSlotType
Microsoft.ML.Data (21)
Commands\ShowSchemaCommand.cs (1)
141var slotType = transposeDataView?.GetSlotType(col);
Data\ITransposeDataView.cs (3)
23/// is accessible in this fashion iff <see cref="GetSlotType"/> with col=i doesn't return <see langword="null"/>. 35/// <see cref="GetSlotType"/> (input argument is named col) specifies the type of all values at the col-th column of 37/// <see cref="GetSlotType"/> with col=i may return a <see cref="VectorDataViewType"/> whose <see cref="VectorDataViewType.ItemType"/>
Data\SlotCursor.cs (2)
50/// <see cref="ITransposeDataView.GetSlotType"/> for the column from which this slot cursor 57/// to the item type from <see cref="ITransposeDataView.GetSlotType"/>.
DataLoadSave\LegacyCompositeDataLoader.cs (2)
601VectorDataViewType ITransposeDataView.GetSlotType(int col) => _tview?.GetSlotType(col); 606if (_tview?.GetSlotType(col) == null)
DataLoadSave\Transpose\TransposeLoader.cs (3)
649DataViewType cursorType = ((ITransposeDataView)this).GetSlotType(col).ItemType; 738_host.Assert((trans as ITransposeDataView)?.GetSlotType(0).GetValueCount() == Schema[col].Type.GetValueCount()); 799Ch.Assert(((ITransposeDataView)_parent).GetSlotType(col).Size == _parent._header.RowCount);
DataLoadSave\Transpose\TransposeSaver.cs (1)
114var slotType = data.GetSlotType(cols[0]);
DataView\Transposer.cs (6)
102columnSet = columnSet.Where(c => _tview.GetSlotType(c) == null); 239if (_tview?.GetSlotType(col) != null) 244var type = ((ITransposeDataView)this).GetSlotType(col).ItemType.RawType; 265return _tview?.GetSlotType(col); 328return ((ITransposeDataView)_parent).GetSlotType(_col); 1430_type = data.GetSlotType(col);
Transforms\TransformBase.cs (3)
310return tidv?.GetSlotType(col); 357var slotType = transposedInput?.GetSlotType(i); 405var slotType = transposeInput?.GetSlotType(i);
Microsoft.ML.FastTree (3)
FastTree.cs (2)
211return itdv?.GetSlotType(data.Schema.Feature.Value.Index) != null; 1379var hasMissingPred = Conversions.DefaultInstance.GetHasMissingPredicate<float>(((ITransposeDataView)trans).GetSlotType(featIdx));
GamTrainer.cs (1)
274return (data.Data as ITransposeDataView)?.GetSlotType(data.Schema.Feature.Value.Index) != null;
Microsoft.ML.Predictor.Tests (5)
TestTransposer.cs (5)
71VectorDataViewType type = trans.GetSlotType(col); 191Assert.Null(((ITransposeDataView)trans).GetSlotType(2)); // C check to see that it's not transposable. 207Assert.Null(itdv.GetSlotType(0)); 208Assert.Null(itdv.GetSlotType(1)); 209Assert.Null(itdv.GetSlotType(2));