Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix imports #885

Merged
merged 2 commits into from
Jun 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/gp_synthetic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import math

# First-party imports
from gluonts.kernels import RBFKernel
from gluonts.mx.kernels import RBFKernel
from gluonts.model.gp_forecaster.gaussian_process import GaussianProcess

# Third-party imports
Expand Down
2 changes: 1 addition & 1 deletion test/dataset/test_multiprocessing_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

from gluonts.model.deepar import DeepAREstimator
from gluonts.evaluation.backtest import backtest_metrics
from gluonts.trainer import Trainer
from gluonts.mx.trainer import Trainer
from gluonts.dataset.artificial import constant_dataset
from gluonts.evaluation import Evaluator

Expand Down
2 changes: 1 addition & 1 deletion test/kernels/test_periodic_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from mxnet import nd

# First-party imports
from gluonts.kernels import PeriodicKernel
from gluonts.mx.kernels import PeriodicKernel

test_cases = [
# This tests the simple case where the amplitude and length scale parameters are constant
Expand Down
2 changes: 1 addition & 1 deletion test/kernels/test_rbf_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import pytest

# First-party imports
from gluonts.kernels import RBFKernel
from gluonts.mx.kernels import RBFKernel


test_cases = [
Expand Down
2 changes: 1 addition & 1 deletion test/model/gp_forecaster/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import numpy as np

# First-party imports
from gluonts.kernels import RBFKernel
from gluonts.mx.kernels import RBFKernel
from gluonts.model.gp_forecaster.gaussian_process import GaussianProcess

# Relative imports
Expand Down
2 changes: 1 addition & 1 deletion test/representation/test_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mxnet as mx
import numpy as np

from gluonts.representation import CustomBinning
from gluonts.mx.representation import CustomBinning


binning_cases = [
Expand Down
2 changes: 1 addition & 1 deletion test/representation/test_grb.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mxnet as mx
import numpy as np

from gluonts.representation import GlobalRelativeBinning
from gluonts.mx.representation import GlobalRelativeBinning


gr_binning_cases = [
Expand Down
2 changes: 1 addition & 1 deletion test/representation/test_hyb.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mxnet as mx
import numpy as np

from gluonts.representation import (
from gluonts.mx.representation import (
HybridRepresentation,
CustomBinning,
LocalAbsoluteBinning,
Expand Down
2 changes: 1 addition & 1 deletion test/representation/test_lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mxnet as mx
import numpy as np

from gluonts.representation import LocalAbsoluteBinning
from gluonts.mx.representation import LocalAbsoluteBinning


la_binning_cases = [
Expand Down
2 changes: 1 addition & 1 deletion test/representation/test_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mxnet as mx
import numpy as np

from gluonts.representation import MeanScaling
from gluonts.mx.representation import MeanScaling


mean_cases = [
Expand Down
2 changes: 1 addition & 1 deletion test/representation/test_rep.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mxnet as mx
import numpy as np

from gluonts.representation import Representation
from gluonts.mx.representation import Representation


cases = [
Expand Down
2 changes: 1 addition & 1 deletion test/support/test_jitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# First-party imports
from gluonts.core.component import check_gpu_support
from gluonts.kernels import RBFKernel
from gluonts.mx.kernels import RBFKernel
from gluonts.model.gp_forecaster.gaussian_process import GaussianProcess
from gluonts.support.linalg_util import jitter_cholesky, jitter_cholesky_eig

Expand Down
2 changes: 1 addition & 1 deletion test/trainer/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import pytest

# First-party imports
from gluonts.trainer import Trainer
from gluonts.mx.trainer import Trainer


def test_epochs() -> None:
Expand Down