Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/temp/docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
montebhoover committed Oct 30, 2018
2 parents 2350069 + 9337320 commit 93c7347
Show file tree
Hide file tree
Showing 187 changed files with 355 additions and 334 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Project Docs
- [API](https://docs.microsoft.com/en-us/nimbusml/overview)
- [Tutorials](https://docs.microsoft.com/en-us/nimbusml/tutorials)
- [Developer Guide](developers/developer-guide.md)
- [Contributing to ML.NET](project-docs/contributing.md)
- [Contributing to ML.NET](project-docs/contributing.md)
316 changes: 158 additions & 158 deletions src/python/nimbusml.pyproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/python/nimbusml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from .internal.utils.data_stream import BinaryDataStream
from .internal.utils.data_stream import FileDataStream
from .internal.utils.utils import run_tests
from .pipeline import Pipeline
from ._pipeline import Pipeline

if sys.platform.lower() == "linux":
pkg_path = os.path.dirname(os.path.realpath(__file__))
Expand Down
2 changes: 1 addition & 1 deletion src/python/nimbusml/__init__.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ from .internal.utils.data_schema import DataSchema
from .internal.utils.data_stream import BinaryDataStream
from .internal.utils.data_stream import FileDataStream
from .internal.utils.utils import run_tests
from .pipeline import Pipeline
from ._pipeline import Pipeline

if sys.platform.lower() == "linux":
pkg_path = os.path.dirname(os.path.realpath(__file__))
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/python/nimbusml/cluster/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .kmeansplusplus import KMeansPlusPlus
from ._kmeansplusplus import KMeansPlusPlus

__all__ = [
'KMeansPlusPlus'
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClusterMixin

from ..base_predictor import BasePredictor
from ..internal.core.cluster.kmeansplusplus import KMeansPlusPlus as core
from ..internal.core.cluster._kmeansplusplus import KMeansPlusPlus as core
from ..internal.utils.utils import trace


Expand Down
36 changes: 18 additions & 18 deletions src/python/nimbusml/datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def load(self):
# pooled.stratum
this = os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"gplv2",
"infert.csv")
self.__dict__['_data'] = pandas.read_csv(this)
Expand Down Expand Up @@ -231,7 +231,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"gplv2",
"infert.csv")

Expand Down Expand Up @@ -264,7 +264,7 @@ def load(self):
# pooled.stratum
this = os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"gplv2",
"airquality.csv")
self.__dict__['_data'] = pandas.read_csv(this)
Expand Down Expand Up @@ -296,7 +296,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"gplv2",
"airquality.csv")

Expand Down Expand Up @@ -324,7 +324,7 @@ def as_filepath(self):
"""
Return file name.
"""
return os.path.join(os.path.dirname(__file__), "data",
return os.path.join(os.path.dirname(__file__), "_data",
"topics.csv")


Expand Down Expand Up @@ -353,7 +353,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"timeseries.csv")


Expand Down Expand Up @@ -381,7 +381,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"train-250.wikipedia.sample.tsv")


Expand Down Expand Up @@ -409,7 +409,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"test.wikipedia.sample.tsv")


Expand Down Expand Up @@ -437,7 +437,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"train_fs.csv")


Expand Down Expand Up @@ -465,7 +465,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"test_fs.csv")


Expand Down Expand Up @@ -494,7 +494,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"train-msltr.sample.csv")


Expand Down Expand Up @@ -523,7 +523,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"test-msltr.sample.csv")


Expand All @@ -550,7 +550,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"train-500.uciadult.sample.csv")


Expand All @@ -577,7 +577,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"test-100.uciadult.sample.csv")


Expand Down Expand Up @@ -605,7 +605,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"train-twitter.gen-sample.tsv")


Expand Down Expand Up @@ -633,7 +633,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"test-twitter.gen-sample.tsv")


Expand Down Expand Up @@ -661,7 +661,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"train-ticketchoice.csv")


Expand Down Expand Up @@ -689,7 +689,7 @@ def as_filepath(self):
"""
return os.path.join(
os.path.dirname(__file__),
"data",
"_data",
"test-ticketchoice.csv")


Expand Down
7 changes: 3 additions & 4 deletions src/python/nimbusml/decomposition/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from .factorizationmachinebinaryclassifier import \
FactorizationMachineBinaryClassifier
from .pcaanomalydetector import PcaAnomalyDetector
from .pcatransformer import PcaTransformer
from ._factorizationmachinebinaryclassifier import FactorizationMachineBinaryClassifier
from ._pcaanomalydetector import PcaAnomalyDetector
from ._pcatransformer import PcaTransformer

__all__ = [
'FactorizationMachineBinaryClassifier',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.decomposition.factorizationmachinebinaryclassifier \
import FactorizationMachineBinaryClassifier as core
from ..internal.core.decomposition._factorizationmachinebinaryclassifier import \
FactorizationMachineBinaryClassifier as core
from ..internal.utils.utils import trace


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.decomposition.pcaanomalydetector import \
from ..internal.core.decomposition._pcaanomalydetector import \
PcaAnomalyDetector as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
from sklearn.base import TransformerMixin

from ..base_transform import BaseTransform
from ..internal.core.decomposition.pcatransformer import PcaTransformer as core
from ..internal.core.decomposition._pcatransformer import \
PcaTransformer as core
from ..internal.utils.utils import trace


Expand Down
24 changes: 13 additions & 11 deletions src/python/nimbusml/ensemble/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from .fastforestbinaryclassifier import FastForestBinaryClassifier
from .fastforestregressor import FastForestRegressor
from .fasttreesbinaryclassifier import FastTreesBinaryClassifier
from .fasttreesregressor import FastTreesRegressor
from .fasttreestweedieregressor import FastTreesTweedieRegressor
from .gambinaryclassifier import GamBinaryClassifier
from .gamregressor import GamRegressor
from .lightgbmbinaryclassifier import LightGbmBinaryClassifier
from .lightgbmclassifier import LightGbmClassifier
from .lightgbmranker import LightGbmRanker
from .lightgbmregressor import LightGbmRegressor
from ._fastforestbinaryclassifier import FastForestBinaryClassifier
from ._fastforestregressor import FastForestRegressor
from ._fasttreesbinaryclassifier import FastTreesBinaryClassifier
from ._fasttreesregressor import FastTreesRegressor
from ._fasttreestweedieregressor import FastTreesTweedieRegressor
from ._gambinaryclassifier import GamBinaryClassifier
from ._gamregressor import GamRegressor
from ._lightgbmbinaryclassifier import LightGbmBinaryClassifier
from ._lightgbmclassifier import LightGbmClassifier
from ._lightgbmranker import LightGbmRanker
from ._lightgbmregressor import LightGbmRegressor

__all__ = [
'FastForestBinaryClassifier',
Expand All @@ -23,3 +23,5 @@
'LightGbmRanker',
'LightGbmRegressor'
]


Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.fastforestbinaryclassifier import \
from ..internal.core.ensemble._fastforestbinaryclassifier import \
FastForestBinaryClassifier as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import RegressorMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.fastforestregressor import \
from ..internal.core.ensemble._fastforestregressor import \
FastForestRegressor as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.fasttreesbinaryclassifier import \
from ..internal.core.ensemble._fasttreesbinaryclassifier import \
FastTreesBinaryClassifier as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import RegressorMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.fasttreesregressor import \
from ..internal.core.ensemble._fasttreesregressor import \
FastTreesRegressor as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import RegressorMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.fasttreestweedieregressor import \
from ..internal.core.ensemble._fasttreestweedieregressor import \
FastTreesTweedieRegressor as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.gambinaryclassifier import \
from ..internal.core.ensemble._gambinaryclassifier import \
GamBinaryClassifier as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import RegressorMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.gamregressor import GamRegressor as core
from ..internal.core.ensemble._gamregressor import GamRegressor as core
from ..internal.utils.utils import trace


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.lightgbmbinaryclassifier import \
from ..internal.core.ensemble._lightgbmbinaryclassifier import \
LightGbmBinaryClassifier as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.lightgbmclassifier import \
from ..internal.core.ensemble._lightgbmclassifier import \
LightGbmClassifier as core
from ..internal.utils.utils import trace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import ClassifierMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.lightgbmranker import LightGbmRanker as core
from ..internal.core.ensemble._lightgbmranker import LightGbmRanker as core
from ..internal.utils.utils import trace


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from sklearn.base import RegressorMixin

from ..base_predictor import BasePredictor
from ..internal.core.ensemble.lightgbmregressor import \
from ..internal.core.ensemble._lightgbmregressor import \
LightGbmRegressor as core
from ..internal.utils.utils import trace

Expand Down
7 changes: 4 additions & 3 deletions src/python/nimbusml/ensemble/booster/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from .dart import Dart
from .gbdt import Gbdt
from .goss import Goss
from ._dart import Dart
from ._gbdt import Gbdt
from ._goss import Goss

__all__ = [
'Dart',
'Gbdt',
'Goss'
]

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__all__ = ["Dart"]


from ...internal.core.ensemble.booster.dart import Dart as core
from ...internal.core.ensemble.booster._dart import Dart as core
from ...internal.utils.utils import trace


Expand Down
Loading

0 comments on commit 93c7347

Please sign in to comment.