-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentation docstrings etc #107
Update documentation docstrings etc #107
Conversation
Co-authored-by: Maximilian Krahn <[email protected]>
We can safely skip these doctests as they're only a wrapper around other modules. the doctests give rounding errors in travis CI anyway
That's sounds amazing! Thank you, Henri and Max!! 🎉 Review:
What are your valuable opinions on that? Thank you again, I'm impressed!! 👍 |
also expand "See Also" in representation.py
As we discussed, we'll do this in the future! 🙃
We only added arguments to functions from sklearn (CountVectorizer, PCA, Kmeans, ...) where the code calls the sklearn function with exactly the same arguments, so the only errors can come if sklearn is wrong. The only other function where arguments were added is Soon Max and I will go through the code and the getting-started and README again to test out whether everything really works, and then I'll write here and convert this from a draft to a PR to be merged 🥅 |
…com/SummerOfCode-NoHate/texthero into Update_Documentation_Docstrings_etc
Just did this, fixed some typos, went through the whole code and the getting-started and REAMDE, added a nice 3d-plot to the getting-started 🦅 . We don't see any further issues 🤞 |
We're now wondering why we can't see our changes in "view deployment" in vercel above (the getting-started and the README which we both edited)? |
Good question. I don't really know ... :S
|
It looks like your changes are visible: Getting Started |
They're not visible there, and they don't appear locally with |
Hey Henri!
That's why if you look carefully you will see that actually the changes are there. Example: "we createdThis" => "we created this". And, if you look at the source code(right-click "view source code" in Chrome), you will see that the image is there too! The updated file is "scatterplot_bbcsport_3d.png" and not "scatterplot_bccsport_3d.png", that's why you don't see the images appear both locally and online. But the HTML code is there. Review:
|
…com/SummerOfCode-NoHate/texthero into Update_Documentation_Docstrings_etc
Wow, thanks, we would probably still wonder what's wrong without your help! 🥴 🤦♂️ We fixed this.
Just pushed changes to fix this. We now show in the README/getting-started how to use |
Hey Henri and Max! I'm very sorry but I cannot accept this PR as it is. Although your work is super good, this is too much for a single PR. There are too many different things going on and without caution, I would lose control over the codebase. Initially, I thought we would be able to merge it all together, but by looking carefully I believe we will need to split in into self-contained and shorter PRs. For example, we might split this PR into this sub-PRs:
Overall review:
For instance, for the
Having "Parameters": Pandas Series and "Return": Pandas Series do not add anything.
I'm sorry that this review is quite strict, I'm sure you will understand that this is for the good of ours community. If you believe the CONTRIBUTING.md was not clear enough, feel free to tell me and I will try to update the document according to your feedback! 👍 Thank you for your help!! :) |
No worries 🤓
We completely understand! We'll split everything into small, self-contained PRs over the next days!
That makes sense, we'll take a close look at what parameters are really needed for most users to keep things simple!
Yes, we just saw that in the documentation you can see the types (e.g.
Makes sense, we'll leave it out. It might make sense to leave it out completely from the getting-started as we'll write tutorials etc. later on anyways that showcase this in more detail, and it's not really "needed" to get started. Also, I'll close this PR. |
So this is quite a big PR that will finish the first part of #85 . We went through all docstrings and added examples/tests, added other arguments, and fixed some stuff along the way. We also updated the README.md and the getting-started.md
Besides the docstrings updates, some small code changes are:
I just went through some other issues and think that additionally this fixes
After this, in line with #85 , a new version should be deployed / published.