Skip to content
python logo

Python

Python is a dynamically typed programming language designed by Guido van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.

Here are 120,364 public repositories matching this topic...

fchouteau
fchouteau commented Oct 17, 2019

URL(s) with the issue:

In the 1.15 changelog:

https://github.com/tensorflow/tensorflow/releases/tag/v1.15.0

tf.keras.model.save_model and model.save now defaults to saving a TensorFlow SavedModel.

In the 1.15 docstring:
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/keras/Model#save

filepath: String, path to SavedModel or H5 file to save the model. overwrite: Whe

janwendt
janwendt commented Oct 16, 2019

I could not find anything in the docs about how to handle different frequencies of time series. I have a Dataset A with monthly data that i want to use to predict the values from Dataset B that contains quarterly based data. So the target value e.g. quarter 1 is based on the values from month 1-3.

Dataset A (Features):

| Month | Value1 | Value2 | Value3 |
| ------------- | ------------- |

httpie
rshurts
rshurts commented Mar 8, 2017

Brew is listed as the recommended way of installing httpie on macOS. However, it doesn't work with auth plugins.

For example, if you pip3 install requests-hawk and then run http --help hawk will not show as an auth type. If you pip3 install httpie-oauth it will install httpie via pip as a dependency and overwrite the brew installed link in /usr/local/bin/http and now all the plugins wil

requests
rabbbit
rabbbit commented Oct 2, 2017

tldr; in multi-process environment (Celery) sessions might lead to request/responses being mixed up.

It is unsafe to use Session in a multi-process environment - if the fork happens after Session initialisation the underlying connection pool will be shared across both processes, leading to potentially dangerous and hard to debug issues.

I'm not sure what should happen - whather a code change

amueller
amueller commented Sep 20, 2019

I think this example should use multimetric scoring:
https://scikit-learn.org/dev/auto_examples/model_selection/plot_grid_search_digits.html#sphx-glr-auto-examples-model-selection-plot-grid-search-digits-py

That would mean that we have to specify "refit" though, and we would refit only based on one of them. We could technically reuse the same grid-search results and refit another time as an al

yf225
yf225 commented Sep 30, 2019

Context

We would like to add torch::nn::functional::normalize to the C++ API, so that C++ users can easily find the equivalent of Python API torch.nn.functional.normalize.

Steps

  • Add torch::nn::NormalizeOptions to torch/csrc/api/include/torch/nn/options/normalization.h (add this file if it doesn’t exist), which should include the following parameters (based on https://pytorch.
simonjayhawkins
simonjayhawkins commented Oct 11, 2019

For a full list, expand details.

pandas\tests\tseries\offsets\test_offsets_properties.py:54: error: Argument "min_value" to "datetimes" has incompatible type "Tuple[Any]"; expected "datetime"
pandas\tests\tseries\offsets\test_offsets_properties.py:54: error: Argument "max_value" to "datetimes" has incompatible type "Tuple[Any]"; expected "datetime"
pandas\tests\io\parser\con
azl397985856
azl397985856 commented Sep 2, 2019

下面的问题,可以用小学三年级的方法解决,也可以使用初中方程式的方法解决,还可以使用大学的高级编程语言解决。请尝试使用所有方法解决,并进行比较。

有这样一个乘法算式:

人过大佛寺 * 我 = 寺佛大过人

这里的每一个字代表一个数字,不同的字代表不同的数字,你能把这些数字都找出来么?

You can’t perform that action at this time.