code
stringlengths
3
6.57k
max()
min()
max()
np.meshgrid(np.linspace(x_min, x_max, 100)
np.linspace(y_min, y_max, 100)
knn.predict(np.c_[xx.ravel()
yy.ravel()
Z.reshape(xx.shape)
pl.figure()
pl.pcolormesh(xx, yy, Z, cmap=cmap_light)
pl.scatter(X[:, 0], X[:, 1], c=y, cmap=cmap_bold)
pl.xlabel('sepal length (cm)
pl.ylabel('sepal width (cm)
pl.axis('tight')
plot_polynomial_regression()
np.random.RandomState(0)
rng.rand(100)
f(x)
rng.normal(size=100)
np.linspace(-1, 1, 100)
pl.figure()
pl.scatter(x, y, s=4)
np.array([x**i for i in range(5)
np.array([x_test**i for i in range(5)
linear_model.LinearRegression()
regr.fit(X, y)
pl.plot(x_test, regr.predict(X_test)
np.array([x**i for i in range(10)
np.array([x_test**i for i in range(10)
linear_model.LinearRegression()
regr.fit(X, y)
pl.plot(x_test, regr.predict(X_test)
pl.legend(loc='best')
pl.axis('tight')
pl.title('Fitting a 4th and a 9th order polynomial')
pl.figure()
pl.scatter(x, y, s=4)
pl.plot(x_test, f(x_test)
pl.axis('tight')
pl.title('Ground truth (9th order polynomial)
yourself (and your website)
iwata (+http://www.yourdomain.com)
Scrapy (default: 16)
website (default: 0)
cookies (enabled by default)
Console (enabled by default)
extension (disabled by default)
caching (disabled by default)
Networks (USA)
GenericFormTemplate(GatewayForm)
PlainHTML("<hr>")
CustomStringField(label="New Host Name", required=True)
Address (multiple IPv4 addresses must be separated by a comma)
CustomBooleanField(label="Deploy Now")
SubmitField(label="Update")
Copyright (c)
I(namespace_id)
Oracle (@oracle)
L(RFC3339,https://tools.ietf.org/html/rfc3339)
L(RFC3339,https://tools.ietf.org/html/rfc3339)
L(RFC3339,https://tools.ietf.org/html/rfc3339)
L(RFC3339,https://tools.ietf.org/html/rfc3339)
DataCatalogNamespaceFactsHelperGen(OCIResourceFactsHelperBase)
get_required_params_for_get(self)
get_required_params_for_list(self)
get_resource(self)
self.module.params.get(param)
self.module.params.get("catalog_id")
self.module.params.get("namespace_id")
list_resources(self)
self.module.params.get(param)
self.module.params.get("catalog_id")
main()
oci_common_utils.get_common_arg_spec()
dict(type="str", required=True)
dict(aliases=["id"], type="str")
dict(aliases=["name"], type="str")
dict(type="str")
dict(type="str")
dict(type="str")
dict(type="str")
dict(type="str")
dict(type="str", choices=["TIMECREATED", "DISPLAYNAME"])
dict(type="str", choices=["ASC", "DESC"])
AnsibleModule(argument_spec=module_args)
module.fail_json(msg="oci python sdk required for this module.")
resource_facts_helper.is_get()
resource_facts_helper.get()
resource_facts_helper.is_list()
resource_facts_helper.list()
resource_facts_helper.fail()
module.exit_json(namespaces=result)
main()
app.run(app.config['HOST'], app.config['PORT'], app.config['DEBUG'])
load_module("tests.unit_tests.modules.s3.s3gis")
test_KMLLayer()
datetime.datetime.now()
datetime.datetime.now()
datetime.datetime.now()
test_KMLCaching_not_possible()