2 writes to QueryIds
Microsoft.ML.FastTree (2)
Dataset\Dataset.cs (2)
467QueryIds = queryIds; 492QueryIds = buffer.ToULongArray(ref position);
12 references to QueryIds
Microsoft.ML.FastTree (12)
Dataset\Dataset.cs (10)
131public ulong[] QueryIds => _datasetSkeleton.QueryIds; 504Contracts.Check(Ratings != null && Boundaries != null && QueryIds != null && DocIds != null && MaxDcg != null, 508Contracts.Check(Boundaries.Length == QueryIds.Length + 1, "Length of boundaries array does not match length of queryID array"); 509Contracts.Check(Utils.Size(MaxDcg) == 0 || Utils.Size(MaxDcg[0]) == QueryIds.Length, "Length of MaxDCG does not match number of queries"); 535get { return QueryIds.Length; } 545+ QueryIds.SizeInBytes() 561QueryIds.ToByteArray(buffer, ref position); 625val = func.Apply(QueryIds[q]); 664queryIds[p] = queries[p].Select(q => QueryIds[q]).ToArray(); 718Array.Copy(parts[p].QueryIds, 0, concatQueryIds, queryBegin, numQueries);
Dataset\DatasetUtils.cs (2)
49foreach (uint uintQid in skel.QueryIds.Select(qid => (uint)qid).Distinct().OrderBy(x => x)) 55skel.QueryIds.SelectMany((qid, i) =>