Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/m/o/mozsci-HEAD/test/test_inputs.py   mozsci(Download)
        exp_samples = np.exp(samples) - offset
 
        transformer = inputs.LogScaledTransformer(offset=offset)
 
        # check fit

src/m/o/mozsci-HEAD/test/test_variables.py   mozsci(Download)
 
from mozsci.evaluation import classification_error
from mozsci.inputs import IdentityTransformer, LogScaledTransformer
from mozsci import variables
from sklearn.linear_model import LogisticRegression
    def test_model_driver(self):
        independents = [
            variables.Variable('x0', IdentityTransformer()),
            variables.Variable('x1', LogScaledTransformer())
        ]