{ "cells": [ { "cell_type": "code", "execution_count": 29, "metadata": {}, "outputs": [], "source": [ "data = read.csv(\"new_repr_no_outlier.csv\")\n", "data[\"SQRTIME\"] <- apply(data[\"TIME\"],2, sqrt)\n", "data[\"LNTIME\"] <-apply(data[\"TIME\"],2, log)\n", "data[\"LOG2TIME\"] <-apply(data[\"TIME\"],2, log2)\n", "tests = list(\n", "\"int_delete\",\n", "\"int_insert\",\n", "\"int_nosucc_lookup\",\n", "\"int_succ_lookup\",\n", "\"string_delete\",\n", "\"string_insert\",\n", "\"string_nosucc_lookup\",\n", "\"string_succ_lookup\"\n", ")\n", "\n", "maps = list(\n", "\"absl::flat_hash_map\",\n", "\"absl::node_hash_map\",\n", "\"boost::unordered::unordered_map\",\n", "\"emilib::HashMap\",\n", "\"google::dense_hash_map\",\n", "\"google::sparse_hash_map\",\n", "\"phmap::parallel_flat_hash_map\",\n", "\"phmap::parallel_node_hash_map\",\n", "\"robin_hood::unordered_flat_map\",\n", "\"robin_hood::unordered_node_map\",\n", "\"ska::bytell_hash_map\",\n", "\"ska::flat_hash_map\",\n", "\"ska::unordered_map\",\n", "\"std::unordered_map\",\n", "\"tsl::hopscotch_map\",\n", "\"tsl::robin_map\",\n", "\"tsl::sparse_map\" )\n" ] }, { "cell_type": "code", "execution_count": 34, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[1] \"int_delete\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8983268\n", "\n", "[1] \"int_insert\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.846827\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.7925503\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.793804\n", "\n", "[1] \"string_delete\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9636119\n", "\n", "[1] \"string_insert\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8815644\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8264142\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.892875\n", "\n", "[1] \"int_delete\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9196117\n", "\n", "[1] \"int_insert\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9096905\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8576768\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9453438\n", "\n", "[1] \"string_delete\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9689642\n", "\n", "[1] \"string_insert\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9586425\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9476649\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9127461\n", "\n", "[1] \"int_delete\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.8901596\n", "\n", "[1] \"int_insert\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7076987\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.6987886\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7345624\n", "\n", "[1] \"string_delete\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.8377184\n", "\n", "[1] \"string_insert\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.6648682\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7049881\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9069237\n", "\n", "[1] \"int_delete\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.7572595\n", "\n", "[1] \"int_insert\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.4199685\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.4177698\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.5875779\n", "\n", "[1] \"string_delete\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.4212078\n", "\n", "[1] \"string_insert\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.848186\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.9147244\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.892306\n", "\n", "[1] \"int_delete\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4079782\n", "\n", "[1] \"int_insert\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4186519\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.405795\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4339703\n", "\n", "[1] \"string_delete\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3810376\n", "\n", "[1] \"string_insert\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.7263214\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9300976\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9009406\n", "\n", "[1] \"int_delete\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.6561293\n", "\n", "[1] \"int_insert\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.545677\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3704349\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8042662\n", "\n", "[1] \"string_delete\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9370902\n", "\n", "[1] \"string_insert\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4562894\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.2135441\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9421012\n", "\n", "[1] \"int_delete\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8693853\n", "\n", "[1] \"int_insert\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8007863\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.706862\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9286919\n", "\n", "[1] \"string_delete\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8710601\n", "\n", "[1] \"string_insert\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8240802\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9574773\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8783351\n", "\n", "[1] \"int_delete\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.757098\n", "\n", "[1] \"int_insert\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8632385\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8595887\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9313489\n", "\n", "[1] \"string_delete\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8289395\n", "\n", "[1] \"string_insert\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8040584\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8634171\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9195751\n", "\n", "[1] \"int_delete\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3386514\n", "\n", "[1] \"int_insert\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.4776956\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3166032\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.7023769\n", "\n", "[1] \"string_delete\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3249174\n", "\n", "[1] \"string_insert\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.4975646\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3211725\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.9142466\n", "\n", "[1] \"int_delete\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.4516777\n", "\n", "[1] \"int_insert\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.5488319\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.3199305\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.8757593\n", "\n", "[1] \"string_delete\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.6842687\n", "\n", "[1] \"string_insert\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.6972048\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.5391128\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.9570433\n", "\n", "[1] \"int_delete\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3448315\n", "\n", "[1] \"int_insert\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4992321\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4954099\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.6594642\n", "\n", "[1] \"string_delete\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.712502\n", "\n", "[1] \"string_insert\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4647026\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.5741025\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9186759\n", "\n", "[1] \"int_delete\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.1478805\n", "\n", "[1] \"int_insert\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.2901637\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3854264\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4208054\n", "\n", "[1] \"string_delete\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3515788\n", "\n", "[1] \"string_insert\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.7681774\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9113427\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8603994\n", "\n", "[1] \"int_delete\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.4742274\n", "\n", "[1] \"int_insert\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.529828\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.5374982\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7738706\n", "\n", "[1] \"string_delete\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.8749056\n", "\n", "[1] \"string_insert\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7615409\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7571094\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9373415\n", "\n", "[1] \"int_delete\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.5551932\n", "\n", "[1] \"int_insert\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.792038\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.1685661\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.796052\n", "\n", "[1] \"string_delete\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9418974\n", "\n", "[1] \"string_insert\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.954121\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.2808927\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9564568\n", "\n", "[1] \"int_delete\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.2292175\n", "\n", "[1] \"int_insert\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.4492408\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.378055\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.5328279\n", "\n", "[1] \"string_delete\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.5375745\n", "\n", "[1] \"string_insert\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.5818077\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.4678251\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.8894541\n", "\n", "[1] \"int_delete\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.1351438\n", "\n", "[1] \"int_insert\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.2857977\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.297073\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.6921538\n", "\n", "[1] \"string_delete\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.3270068\n", "\n", "[1] \"string_insert\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.7677725\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.9016314\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.8605267\n", "\n", "[1] \"int_delete\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.7026044\n", "\n", "[1] \"int_insert\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.8152591\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.5888382\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.7962225\n", "\n", "[1] \"string_delete\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.7007159\n", "\n", "[1] \"string_insert\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.6287887\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.6508464\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.8940555\n", "\n" ] }, { "data": { "text/html": [ "$adj.r.squared = 0.894055478227228" ], "text/latex": [ "\\textbf{\\$adj.r.squared} = 0.894055478227228" ], "text/markdown": [ "**$adj.r.squared** = 0.894055478227228" ], "text/plain": [ "$adj.r.squared\n", "[1] 0.8940555\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "\n", "for (map in maps){\n", " for (test in tests){\n", " print(test)\n", " print(map)\n", "\n", " temp = subset(x = data, subset = TEST == test & MAP == map)\n", " lm.fit = lm(SIZE~TIME+SQRTIME+LNTIME+LOG2TIME, data=temp)\n", " rsq = summary(lm.fit)[\"adj.r.squared\"]\n", "# print(map)\n", "# print(test)\n", " print(rsq)\n", "\n", " }\n", "}\n", "rsq" ] }, { "cell_type": "code", "execution_count": 33, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
X | TEST | MAP | SIZE | TIME | SQRTIME | LNTIME | LOG2TIME | |
---|---|---|---|---|---|---|---|---|
<int> | <fct> | <fct> | <int> | <dbl> | <dbl[,1]> | <dbl[,1]> | <dbl[,1]> | |
121467 | 125551 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
121468 | 125552 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121469 | 125553 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |
121470 | 125554 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121471 | 125555 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
121472 | 125556 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121473 | 125557 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |
121474 | 125558 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121475 | 125559 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121476 | 125560 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121477 | 125561 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121478 | 125562 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121479 | 125563 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121480 | 125564 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
121481 | 125565 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
121482 | 125566 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
121483 | 125567 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121484 | 125568 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
121485 | 125569 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121486 | 125570 | string_succ_lookup | tsl::sparse_map | 50000 | 19 | 4.358899 | 2.944439 | 4.247928 |
121487 | 125571 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121488 | 125572 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121489 | 125573 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |
121490 | 125574 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121491 | 125575 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121492 | 125576 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121493 | 125577 | string_succ_lookup | tsl::sparse_map | 50000 | 19 | 4.358899 | 2.944439 | 4.247928 |
121494 | 125578 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |
121495 | 125579 | string_succ_lookup | tsl::sparse_map | 50000 | 26 | 5.099020 | 3.258097 | 4.700440 |
121496 | 125580 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |
... | ... | ... | ... | ... | ... | ... | ... | ... |
122308 | 126451 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122309 | 126452 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122310 | 126453 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |
122311 | 126454 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |
122312 | 126455 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122313 | 126456 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122314 | 126457 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122315 | 126458 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122316 | 126459 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122317 | 126460 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |
122318 | 126461 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |
122319 | 126462 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |
122320 | 126463 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122321 | 126464 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122322 | 126465 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122323 | 126466 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122324 | 126467 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |
122325 | 126468 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122326 | 126469 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |
122327 | 126470 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122328 | 126471 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122329 | 126472 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |
122330 | 126473 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |
122331 | 126474 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |
122332 | 126475 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |
122333 | 126476 | string_succ_lookup | tsl::sparse_map | 50000000 | 266 | 16.30951 | 5.583496 | 8.055282 |
122334 | 126477 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122335 | 126478 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |
122336 | 126479 | string_succ_lookup | tsl::sparse_map | 50000000 | 272 | 16.49242 | 5.605802 | 8.087463 |
122337 | 126480 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |