repo stringlengths 1 99 | file stringlengths 13 215 | code stringlengths 12 59.2M | file_length int64 12 59.2M | avg_line_length float64 3.82 1.48M | max_line_length int64 12 2.51M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
delora | delora-main/bin/visualize_pointcloud_normals.py | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import numpy as np
import torch
import yaml
import ros_utils.publish_... | 1,863 | 35.54902 | 89 | py |
delora | delora-main/bin/preprocess_data.py | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import os
import numpy as np
import torch
import yaml
import preproc... | 2,781 | 33.345679 | 104 | py |
delora | delora-main/bin/run_testing.py | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import click
import numpy as np
import torch
import yaml
import deplo... | 3,958 | 39.397959 | 106 | py |
delora | delora-main/scripts/convert_kitti_to_rosbag.py | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import numpy as np
import torch
import yaml
import ros_utils.convert_... | 1,588 | 31.428571 | 104 | py |
delora | delora-main/scripts/time_network.py | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import click
import numpy as np
import torch
import yaml
import model... | 3,103 | 32.021277 | 105 | py |
delora | delora-main/scripts/convert_pytorch_models.py | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import click
import torch
@click.command()
@click.option('--checkpoi... | 732 | 33.904762 | 114 | py |
rankpredictor | rankpredictor-master/src/indycar/sl-lstm.py | from pandas import DataFrame
from pandas import Series
from pandas import concat
from pandas import read_csv
from pandas import datetime
from sklearn.metrics import mean_squared_error
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense
from keras.layers impo... | 4,071 | 29.848485 | 113 | py |
rankpredictor | rankpredictor-master/src/indycar/stagedataset.py | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from keras import models, layers
import time
from sklearn.preprocessing import MinMaxScaler
from sklearn.svm import SVR
from sklearn.ensemble import RandomForestRegressor
from sklearn import metrics
import os
def plot_examples(X,y,ypreds=None,nm_yp... | 11,022 | 32.812883 | 106 | py |
rankpredictor | rankpredictor-master/src/indycar/online-lstm.py | from pandas import DataFrame
from pandas import Series
from pandas import concat
from pandas import read_csv
from pandas import datetime
from sklearn.metrics import mean_squared_error
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense
from keras.layers impo... | 5,148 | 33.326667 | 120 | py |
rankpredictor | rankpredictor-master/src/indycar/notebook.py | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from keras import models, layers
import time
from sklearn.preprocessing import MinMaxScaler
from sklearn.svm import SVR
from sklearn.ensemble import RandomForestRegressor
from sklearn import metrics
import os
def plot_examples(X,y,ypreds=None,nm_yp... | 7,791 | 30.546559 | 99 | py |
rankpredictor | rankpredictor-master/src/indycar/model/evaluate-fulltest-fastrun.py | #!/usr/bin/env python
# coding: utf-8
# ## evaluate-fulltest-fastrun
#
# based on: evaluate-fulltest
#
# + support different models and test set
#
# + rank prediction directly
# + rank prediction by laptime2rank
# + laptime prediction
#
#
# support:
# + train/test split by ratio or event
# + incremental training ... | 68,055 | 35.354701 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar_simindy500.py | #!/usr/bin/env python
# coding: utf-8
# # DeepAR on simulation indy500 laptime dataset
#
# laptime dataset
# <eventid, carids, laptime (totalcars x totallaps)>
# Third-party imports
import mxnet as mx
from mxnet import gluon
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import json
import lo... | 5,656 | 30.603352 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/prophet_laptime.py | import mxnet as mx
from mxnet import gluon
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import json
import pickle
with open('sim-indy500-laptime-2018.pickle', 'rb') as f:
# The protocol version used is detected automatically, so we do not
# have to specify it.
laptime_data = pickl... | 1,440 | 32.511628 | 109 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_newfeature.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 158,233 | 36.222771 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/pitmodel.py | #!/usr/bin/env python
# coding: utf-8
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import os,sys
import random
import mxnet as mx
from mxnet import gluon
import pickle
import json
from gluonts.dataset.common import ListDataset
from gluonts.dataset.util import to_pandas
import inspect
from sc... | 7,464 | 30.49789 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_copy1.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 141,581 | 36.465467 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint-predictor-fastrun.py | #!/usr/bin/env python
# coding: utf-8
# ## Stint-Predictor-Fastrun
#
# based on: LongTerm-Predictor
#
# long term predictor by continuously regressive forecasting
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotrack by modeling... | 95,368 | 36.650612 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/gluonts_models_gpuonly.py | #!/usr/bin/env python
# coding: utf-8
"""
Gluonts Models on the Indy dataset
dataset:
freq, prediction_length, cardinality,train_ds, test_ds
models:
1. classical models
naive,
arima, ets, prophet
2. deep models
deepAR, deepstate, deepFactor
deepAR-Oracle
"""
# # DeepAR on simulation indy500 laptime dataset
#
# la... | 18,983 | 34.886578 | 146 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepmodels_indy.py | #!/usr/bin/env python
# coding: utf-8
"""
Deep Models on the Indy dataset
dataset:
laptime&rank dataset <eventid, carids, laptime (totalcars x totallaps), rank (totalcars x totallaps)>; filled with NaN
deep models:
deepAR, deepstate, deepFactor
"""
# # DeepAR on simulation indy500 laptime dataset
#
# laptime da... | 8,731 | 32.328244 | 130 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_strategy.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 138,147 | 36.611762 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_modules_transformerokay.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 99,202 | 32.765487 | 194 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_modules_inctrain.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 103,231 | 32.615109 | 199 | py |
rankpredictor | rankpredictor-master/src/indycar/model/evaluate_fulltest_fastrun_v0.py | #!/usr/bin/env python
# coding: utf-8
# ## evaluate-fulltest-fastrun
#
# based on: evaluate-fulltest
#
# + support different models and test set
#
# + rank prediction directly
# + rank prediction by laptime2rank
# + laptime prediction
#
#
# support:
# + train/test split by ratio or event
# + incremental training ... | 73,154 | 36.210071 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_modules.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 102,604 | 32.640984 | 194 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_savedata.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 154,718 | 36.290672 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_simulator_beforesharegvar.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: stint_simulator_shortterm_pitmodel.py
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtra... | 85,424 | 33.76801 | 196 | py |
rankpredictor | rankpredictor-master/src/indycar/model/ZeroPredictor.py | #!/usr/bin/env python
# coding: utf-8
import mxnet as mx
from mxnet import gluon
import numpy as np
import json
from typing import Callable, Dict, Iterator, NamedTuple, Optional, List
from gluonts.core.component import validated
from gluonts.dataset.common import DataEntry, Dataset
from gluonts.model.predictor import... | 2,187 | 32.151515 | 89 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_beforeaddnewfeature.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 157,786 | 36.284263 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_simulator.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: stint_simulator_shortterm_pitmodel.py
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtra... | 85,855 | 33.929211 | 230 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_newfeatureoraclepass.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 158,233 | 36.222771 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/evaluate_fulltest_fastrun_paper.py | #!/usr/bin/env python
# coding: utf-8
# ## evaluate-fulltest-fastrun
#
# based on: evaluate-fulltest
#
# + support different models and test set
#
# + rank prediction directly
# + rank prediction by laptime2rank
# + laptime prediction
#
#
# support:
# + train/test split by ratio or event
# + incremental training ... | 75,410 | 35.911894 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_v0.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 148,705 | 36.58999 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_basic.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 137,426 | 36.599726 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 138,147 | 36.611762 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepfactor_simindy500.py | #!/usr/bin/env python
# coding: utf-8
# # DeepAR on simulation indy500 laptime dataset
#
# laptime dataset
# <eventid, carids, laptime (totalcars x totallaps)>
# Third-party imports
import mxnet as mx
from mxnet import gluon
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import json
import lo... | 6,554 | 31.939698 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepmodels_simindy500.py | #!/usr/bin/env python
# coding: utf-8
"""
Deep Models on the Indy500 simulation dataset
simulation dataset:
laptime&rank dataset <eventid, carids, laptime (totalcars x totallaps), rank (totalcars x totallaps)>; filled with NaN
deep models:
deepAR, deepstate, deepFactor
"""
# # DeepAR on simulation indy500 laptim... | 8,467 | 32.470356 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_predictor_fastrun.py | #!/usr/bin/env python
# coding: utf-8
# ## Stint-Predictor-Fastrun
#
# based on: LongTerm-Predictor
#
# long term predictor by continuously regressive forecasting
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotrack by modeling... | 95,368 | 36.650612 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/gluonts_models.py | #!/usr/bin/env python
# coding: utf-8
"""
Gluonts Models on the Indy dataset
dataset:
freq, prediction_length, cardinality,train_ds, test_ds
models:
1. classical models
naive,
arima, ets, prophet
2. deep models
deepAR, deepstate, deepFactor
deepAR-Oracle
"""
# # DeepAR on simulation indy500 laptime dataset
#
# la... | 19,095 | 34.560521 | 146 | py |
rankpredictor | rankpredictor-master/src/indycar/model/evaluate_fulltest_fastrun.py | #!/usr/bin/env python
# coding: utf-8
# ## evaluate-fulltest-fastrun
#
# based on: evaluate-fulltest
#
# + support different models and test set
#
# + rank prediction directly
# + rank prediction by laptime2rank
# + laptime prediction
#
#
# support:
# + train/test split by ratio or event
# + incremental training ... | 73,154 | 36.210071 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/prophet_telemetry_tsgluon.py | #!/usr/bin/env python
# coding: utf-8
# # Prophet on telemetry ts dataset
#
# refer to telemetry_dataset_gluonts
# In[1]:
# Third-party imports
import mxnet as mx
from mxnet import gluon
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import json
import os,sys
from optparse import OptionPars... | 6,146 | 22.551724 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_paper.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 130,627 | 34.680961 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_modules_beforeconfig.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 95,655 | 32.539972 | 189 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar_laptime-rank.py | #!/usr/bin/env python
# coding: utf-8
# # DeepAR on laptime&rank dataset
#
# laptime&rank dataset
# <eventid, carids, laptime (totalcars x totallaps), rank (totalcars x totallaps)>; filled with NaN
# In[1]:
# Third-party imports
import mxnet as mx
from mxnet import gluon
import numpy as np
import pandas as pd
impo... | 9,323 | 30.714286 | 428 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_beforeclean.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 154,599 | 36.30695 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 142,364 | 36.484202 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/savedata4deepartf.py | #!/usr/bin/env python
# coding: utf-8
"""
Gluonts Models on the Indy dataset
dataset:
freq, prediction_length, cardinality,train_ds, test_ds
models:
1. classical models
naive,
arima, ets, prophet
2. deep models
deepAR, deepstate, deepFactor
deepAR-Oracle
"""
# # DeepAR on simulation indy500 laptime dataset
#
# la... | 18,872 | 34.744318 | 146 | py |
rankpredictor | rankpredictor-master/src/indycar/model/prophet_laptime-rank-v2.py | #!/usr/bin/env python
# coding: utf-8
# # Prophet on laptime&rank dataset
#
# https://gluon-ts.mxnet.io/api/gluonts/gluonts.model.prophet.html
#
# laptime&rank dataset
# <eventid, carids, laptime (totalcars x totallaps), rank (totalcars x totallaps)>; filled with NaN
# In[1]:
# Third-party imports
get_ipython().r... | 9,548 | 25.090164 | 121 | py |
rankpredictor | rankpredictor-master/src/indycar/model/evaluate-fulltest.py | #!/usr/bin/env python
# coding: utf-8
# ## evaluate-fulltest
#
# based on: Laptime2Rank-evaluate-fulltest-disturbance
#
# + rank prediction directly
# + rank prediction by laptime2rank
# + laptime prediction
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# +... | 65,597 | 35.023064 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepmodels_indy_gluontsdb.py | #!/usr/bin/env python
# coding: utf-8
"""
Deep Models on the Indy dataset
dataset:
freq, prediction_length, cardinality,train_ds, test_ds
deep models:
deepAR, deepstate, deepFactor
"""
# # DeepAR on simulation indy500 laptime dataset
#
# laptime dataset
# <eventid, carids, laptime (totalcars x totallaps)>
# Thi... | 14,005 | 33.412776 | 123 | py |
rankpredictor | rankpredictor-master/src/indycar/model/NaivePredictor.py | #!/usr/bin/env python
# coding: utf-8
import mxnet as mx
from mxnet import gluon
import numpy as np
import json
import pandas as pd
from typing import Callable, Dict, Iterator, NamedTuple, Optional, List
from gluonts.core.component import validated
from gluonts.dataset.common import DataEntry, Dataset
from gluonts.mod... | 2,276 | 32.485294 | 89 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel_joint.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
#
# joint train model
#
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go be... | 149,702 | 36.670609 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_simulator_sota.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: stint_simulator_shortterm_pitmodel.py
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtra... | 84,046 | 33.403193 | 230 | py |
rankpredictor | rankpredictor-master/src/indycar/model/stint_simulator_shortterm_pitmodel.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: Stint-Predictor-Fastrun
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtrack and zerotra... | 161,212 | 36.18012 | 310 | py |
rankpredictor | rankpredictor-master/src/indycar/model/quicktest_modules_sota.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 104,909 | 32.592699 | 199 | py |
rankpredictor | rankpredictor-master/src/indycar/model/save/before_multiple_datasets/RankNet-QuickTest-Slim-beforemultidataset.py | #!/usr/bin/env python
# coding: utf-8
# ## QuickTest Slim
#
# based on : RankNet-QuickTest-Joint
#
# makedb laptime
# makedb gluonts
# train model
# evaluate model
#
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import os,sys
import random
import mxnet as mx
from mxnet impo... | 30,803 | 35.282686 | 185 | py |
rankpredictor | rankpredictor-master/src/indycar/model/save/before_multiple_datasets/quicktest_modules.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 99,564 | 32.808149 | 194 | py |
rankpredictor | rankpredictor-master/src/indycar/model/save/before_multiple_datasets/quicktest_simulator.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: stint_simulator_shortterm_pitmodel.py
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtra... | 83,895 | 33.811618 | 201 | py |
rankpredictor | rankpredictor-master/src/indycar/model/save/before_onelag/quicktest_modules.py | #!/usr/bin/env python
# coding: utf-8
"""
RankNet QuickTest goes through the following steps
makedb laptime
makedb gluonts
train model
evaluate model
draw figures
version 0.4
supported features:
forecast_mode: shortterm, stint
trainmodel : deepAR , deepARW-Oracle, deepAR-multi
... | 107,579 | 33.250239 | 194 | py |
rankpredictor | rankpredictor-master/src/indycar/model/save/before_onelag/quicktest_simulator.py | #!/usr/bin/env python
# coding: utf-8
# ### stint simulator
# based on: stint_simulator_shortterm_pitmodel.py
#
#
# long term predictor by continuously regressive forecasting at each pitstop
#
#
# support:
# + train/test split by ratio or event
# + incremental training evaluation(adjust ratio)
# + go beyond curtra... | 84,929 | 33.950617 | 201 | py |
rankpredictor | rankpredictor-master/src/indycar/model/save/before_onelag/RankNet-QuickTest-Slim.py | #!/usr/bin/env python
# coding: utf-8
# ## QuickTest Slim
#
# based on : RankNet-QuickTest-Joint
#
# makedb laptime
# makedb gluonts
# train model
# evaluate model
#
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import os,sys
import random
import mxnet as mx
from mxnet impo... | 34,588 | 36.393514 | 185 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted-fullloss/trans_encoder.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 3,242 | 33.5 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted-fullloss/layers.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 15,991 | 27.506239 | 112 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted-fullloss/trans_decoder.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 4,259 | 32.543307 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted-fullloss/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 19,509 | 33.168126 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted-fullloss/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,301 | 37.807571 | 100 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deep_factor_oldrnnmodel/RNNModel.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 1,462 | 28.26 | 75 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deep_factor_oldrnnmodel/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 6,537 | 30.892683 | 133 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deep_factor_dropout/RNNModel.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 2,668 | 30.034884 | 79 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deep_factor_dropout/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 6,537 | 30.892683 | 133 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-fullloss/trans_encoder.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 3,242 | 33.5 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-fullloss/layers.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 15,991 | 27.506239 | 112 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-fullloss/trans_decoder.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 4,259 | 32.543307 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-fullloss/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 19,494 | 33.201754 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-fullloss/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,253 | 37.656151 | 100 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-original/predictor.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 23,995 | 30.994667 | 81 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-original/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 21,761 | 34.85173 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-original/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,713 | 37.18018 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deeparw-old/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 22,395 | 34.948636 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deeparw-old/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,653 | 37.114458 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deeparw-new/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 22,048 | 34.969005 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deeparw-new/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,817 | 37.377246 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-inuse/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 21,761 | 34.85173 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-inuse/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,645 | 37.090361 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deep_factor_v0/RNNModel.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 1,462 | 28.26 | 75 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deep_factor_v0/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 6,537 | 30.892683 | 133 | py |
rankpredictor | rankpredictor-master/src/indycar/model/lstmw/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 21,888 | 34.883607 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/lstmw/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,637 | 37.066265 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-savedata/predictor.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 24,040 | 30.969415 | 81 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-savedata/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 22,891 | 34.601866 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-savedata/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,645 | 37.090361 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-savedata/deepar-savedata/predictor.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 24,040 | 30.969415 | 81 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-savedata/deepar-savedata/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 22,891 | 34.601866 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deepar-savedata/deepar-savedata/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,645 | 37.090361 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deeparsavedata-v0/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 22,293 | 34.613419 | 116 | py |
rankpredictor | rankpredictor-master/src/indycar/model/deeparsavedata-v0/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 12,805 | 36.775811 | 94 | py |
rankpredictor | rankpredictor-master/src/indycar/model/mlp-determin/_network.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 7,371 | 31.475771 | 82 | py |
rankpredictor | rankpredictor-master/src/indycar/model/mlp-determin/_estimator.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 7,529 | 36.839196 | 108 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted/trans_encoder.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 3,242 | 33.5 | 118 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted/layers.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 15,991 | 27.506239 | 112 | py |
rankpredictor | rankpredictor-master/src/indycar/model/transformer-weighted/trans_decoder.py | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 4,259 | 32.543307 | 118 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.