ubalklen
ubalklen
**Describe the bug** The current template for google docstring's `Returns` section is as follows: ``` Returns: _type_: _description_ ``` The [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html#doc-function-returns) suggests a sentence like `A dict...
### Proposed change Adding an authenticator class for [AD FS](https://docs.microsoft.com/en-us/windows-server/identity/active-directory-federation-services). ### Suggest a solution I believe only small changes to [AzureAdOAuthenticator](https://github.com/jupyterhub/oauthenticator/blob/master/oauthenticator/azuread.py) are necessary (see this [post](https://discourse.jupyter.org/t/error-403-when-trying-to-authenticate-through-ad-fs/10475) on Jupyter Discourse Forum).
I'm getting a `AttributeError: 'NoneType' object has no attribute 'raw'` when trying to record tests that access sites that use NTLM authentication via the requests plugin [`requests-ntlm`](https://github.com/requests/requests-ntlm). I don't know...
Node2vec and DeepWalk original proposals are built upon the skip-gram model. By default, nodevectors does not set the parameter ```w2vparams["sg"]``` to 1, therefore the underlying Word2Vec model uses the default...
``` from nodevectors import Node2Vec import networkx as nx G = nx.Graph() G.add_edge("1", "2") n2v = Node2Vec(n_components=128) n2v.fit_transform(G) ``` Output: ``` Making walks... Done, T=3.98 Mapping Walk Names... Done, T=0.07...
The `Node2Vec` class constructor sets the default value of `w2vparams["batch_words"]` to 128. The [default value](https://radimrehurek.com/gensim/models/word2vec.html#gensim.models.word2vec.Word2Vec) in gensim's lib is 10000. According to their docs: > batch_words (int, optional) – Target...
```python import requests import vcr url = "http://www.iana.org/domains/reserved" # Password will be visible in the cassette with vcr.use_cassette("bugged_vcr.yaml", filter_post_data_parameters=["api:key"]): requests.post(url, data={"api:key": "SuperSecretP@ssword"}) # Works if I preemptively do the percentage...
I have a fixture and I want it to act differently depending on whether a cassete is playing back or not. Is there a way to check for this? My...
The ```Y``` matrix in ```fastrp_projection``` doesn't seem to affect the output. This also means that ```alpha``` is not being used either. https://github.com/GTmac/FastRP/blob/3a6a71c02a47b131445ed091db6d4ad9aed47d7d/fastrp.py#L42
While Rewrap can preserve linebreaks by adding two spaces before them, there are instances where you simply don't want linebreaks to be removed at all. As an example of a...