Dataset Viewer
Auto-converted to Parquet Duplicate
query_id
stringlengths
32
32
query
stringlengths
9
4.01k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
1ad8b2bda71c27dd30959fac0f57aaa8
Finds the shortest path through a weighted graph using a heuristic. Used for planning & pathfinding in low dimension spaces.
[ { "docid": "337086241106fd93d954e33e0b7111a4", "score": "0.6438782", "text": "def a_star(start_vertex, adjacent, cost, heuristic, goal, max_depth=None):\n if max_depth is not None and max_depth <= 0:\n raise ValueError(\"Argument max_depth must be greater than zero\")\n\n class InternalNode...
[ { "docid": "5478766196043feca0d87a016cf5f766", "score": "0.7408174", "text": "def shortest_path(graph, distances, visited_set, use_heuristic=False):\n n_list = []\n h = 0\n for name, dist in distances.items():\n if name not in visited_set and dist != float('inf'):\n if use_heu...
0de9fca772bfb65735c5d9615ad30b7f
store decoded instruction, prepare for next one
[{"docid":"32f9f6ffb70ceefd08ea42257e2ae3c0","score":"0.57765085","text":"def _save_instruction(self(...TRUNCATED)
[{"docid":"251672139dd55cedcb073d1046e8b9c9","score":"0.66286063","text":"def _decode(self):\n tr(...TRUNCATED)
45a4339872939e50f1b9f5e7efc859c3
Return the metadata of the requested table
[{"docid":"587eaf079abab28e435c2b2b70d0eb05","score":"0.67164326","text":"def table_info(request, na(...TRUNCATED)
[{"docid":"3fb576fc72d1a4763e97ad9a7ca78b31","score":"0.7701821","text":"def _metadata_table(self):\(...TRUNCATED)
4a18047a82e15e9da2c85135e680c633
Get the best ARIMA model.
[{"docid":"0282a9f33bdc11ac5c8b5843ba0d9963","score":"0.7164151","text":"def get_best_model(self):\n(...TRUNCATED)
[{"docid":"d8842cd0d2022b7bbda5c575f8abd437","score":"0.6984959","text":"def ARIMA_model(training_da(...TRUNCATED)
ac4a70a179548769a54b4e8bcda2a33e
max Informationbased Nonparametric Exploration.
[{"docid":"e66a409de6378bd34be549f1e3ec9e89","score":"0.0","text":"def mic_test(self, inputs):\n (...TRUNCATED)
[{"docid":"b1786dfbdc9d9be4ed12f80d58b1acee","score":"0.6003945","text":"def _argmax(self, params, *(...TRUNCATED)
e27c418436ca52894e43d72ed2eed4f1
Computes the accuracy over the k top predictions for the specified values of k
[{"docid":"1fb344a00114e8ceae403851687e0b81","score":"0.7847017","text":"def accuracy(output, target(...TRUNCATED)
[{"docid":"092b204d6f194e96b85acc310eb7d8eb","score":"0.8249487","text":"def accuracy(output, target(...TRUNCATED)
264d245dad9dd026a02a3524d8c95b3e
Kill the previously started Quixote server.
[{"docid":"ae941954f9eabbecaef43c4c42270d0b","score":"0.0","text":"def kill_server():\n global _s(...TRUNCATED)
[{"docid":"271d9573d0475ee33c60157648dadab6","score":"0.7437033","text":"def kill():\n return Ser(...TRUNCATED)
870b64780dfa182edf12e4df39653c90
Smooth the data with von Mises functions
[{"docid":"fdf5009c7e87693ef95b73de8a36878e","score":"0.632402","text":"def vonmises_smoothing(self,(...TRUNCATED)
[{"docid":"5babe5be0badb185409d0cd539883ea3","score":"0.5696802","text":"def smooth(values, dt, tau)(...TRUNCATED)
e7b7cfb0d91468ec87cc607502d3d264
Parse specification in the specification YAML file.
[{"docid":"1ddd55b5916bf21eab1a67ee8e2b71de","score":"0.7328811","text":"def read_specification(self(...TRUNCATED)
[{"docid":"427c032eef2b4c90af30cbfcb501e46f","score":"0.65131885","text":"def fileToSpec(file):\n\n (...TRUNCATED)
cb0ddeca3dc7638e06e9b469917ee008
Returns the string representation of the model
[{"docid":"0f283634439620e9ecd215d87804ec00","score":"0.0","text":"def to_str(self):\n return(...TRUNCATED)
[{"docid":"aa510b1d67cd504f00d31d7600881756","score":"0.8602374","text":"def _repr_model_(self):\n (...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
52