master
Commits on Nov 25, 2020
-
Add a divide and conquer method in finding the maximum difference pair (
#3692) * A divide and conquer method in finding the maximum difference pair * fix formatting issues * fix formatting issues * add doctest runner
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 24, 2020
-
* Create instagram_pic * Update instagram_pic * Update instagram_pic * isort * Update instagram_pic.py Co-authored-by: Christian Clauss <cclauss@me.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
* Upgrade to Python 3.9 * pip install wheel for faster builds * updating DIRECTORY.md * requirements.txt: tensorflow; python_version < '3.9' * keras requires tensorflow * Rename lstm_prediction.py to lstm_prediction.py_tf * Update requirements.txt * updating DIRECTORY.md * Update requirements.txt Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 23, 2020
-
Improve Base16 Codebase (#3534)
* Add doctest and remove input() usage * Apply suggestions from code review Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Renamed octal_to_decimal to octal_to_decimal.py (#3420)
* Renamed octal_to_decimal to octal_to_decimal.py * Updated octal_to_decimal.py * modified doctests * updated octal_to_decimal.py
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
[mypy] math/sieve_of_eratosthenes: Add type hints (#2627)
* add type hints to math/sieve * add doctest * math/sieve: remove manual doctest * add check for negative * Update maths/sieve_of_eratosthenes.py * Update sieve_of_eratosthenes.py Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 21, 2020
-
1
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Web programming contribution (#2436)
* Currency Converter * currency converter * Currency Converter * currency converter * implemented changes * Implemented changes requested * TESTING = os.getenv("CONTINUOUS_INTEGRATION", False) * Update currency_converter.py * Update currency_converter.py Co-authored-by: Christian Clauss <cclauss@me.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Changed how the Visited nodes are tracked (#3811)
Updated the code to track visited Nodes with Set data structure instead of Lists to bring down the lookup time in visited from O(N) to O(1) as doing O(N) lookup each time in the visited List will become significantly slow when the graph grows
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add solution for Project Euler: Problem 89 (#2948)
* add solution for euler problem 89 * updates to accommodate euler solution guideline updates * use more descriptive vars * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Added solution for Project Euler problem 129. (#3113)
* Added solution for Project Euler problem 129. * Added doctest for solution() in project_euler/problem_129/sol1.py * Update formatting. Reference: #3256 * More descriptive function and variable names, more doctests.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Project Euler 70 Solution (#3041)
* Add solution for Project Euler 70, Fixes: #2695 * Remove parameter from solution() * Add tests for all functions, add fstring and positional arg for solution() * Rename directory to 070 * Move up explanation to module code block * Move solution() below helper functions, rename variables * Remove whitespace from defining min_numerator * Add whitespace * Improve type hints with typing.List Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add solution for Project Euler problem 188 (#2880)
* Project Euler problem 188 solution * fix superscript notation * split out modexpt() function, and rename parameters * Add some more doctest, and add type hints * Add some reference links * Update docstrings and mark helper function private * Fix doctests and remove/improve redundant comments * fix as per style guide
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 20, 2020
-
Try the stale bot instead of stale action (#3906)
* Try the stale bot instead * Add config file for the stale bot
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Fixes: #3869: Optimize CI runtime of Project Euler's Problem 74's Solβ¦
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 19, 2020
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Update related to the change in CI testing (#3903)
* Update README badge for GitHub CI * Run GitHub CI everyday as was done in Travis
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Delete Travis_CI_tests_are_failing.md (#3902)
* Delete Travis_CI_tests_are_failing.md * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Move CI tests from Travis to GitHub (#3889)
* Add initial support for moving tests to GitHub * Add setup Python step in the workflow * Remove Travis CI config file * Fix GitHub action file for build to trigger on PR * Use Python 3.8 as tensorflow is not yet supported * Fix ciphers.hill_cipher doctest error * Fix: instagram crawler tests failing on GitHub actions * Fix floating point errors in doctest * Small change to test cache * Apply suggestions from code review Co-authored-by: Christian Clauss <cclauss@me.com> * Update instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 18, 2020
-
add method "area_ellipse" - Calculate the area of a ellipse Co-authored-by: 201502029 <tnehd158@naver.com>
1Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Modified comments on upper.py (#3884)
* Modified comments on upper.py ,made it more clean * Update strings/upper.py Co-authored-by: xcodz-dot <71920621+xcodz-dot@users.noreply.github.com> * Update upper.py * Update upper.py Co-authored-by: xcodz-dot <71920621+xcodz-dot@users.noreply.github.com> Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 15, 2020
-
Add Maths / Sigmoid Function (#3880)
* Add Maths / Sigmoid Function * Update Sigmoid Function * Add doctest and type hints * Fix Trim Trailing Whitespace * Fix Error * Modified Black * Update sigmoid.py Co-authored-by: sukyung99 <tnrudsla413@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 14, 2020
-
Add type hints and tests. (#2461)
* Add type hints, documentation and tests. * Update searches/ternary_search.py Sort collection and remove the assertion logic. Co-authored-by: Christian Clauss <cclauss@me.com> * Remove assert sorted logic. * Add assertion list is ordered. * updating DIRECTORY.md * updating DIRECTORY.md * Format with black. * Change names of variables to descriptive names * Remove print in doctests * Fix variables to snake_case notation. Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 13, 2020
-
add similarity_search.py in machine_learning (#3864)
* add similarity_search.py in machine_learning adding similarity_search algorithm in machine_learning * fix pre-commit test, apply feedback isort, codespell changed. applied feedback(np -> np.ndarray) * apply feedback add type hints to euclidean method * apply feedback - changed euclidean's type hints - changed few TypeError to ValueError - changed range(len()) to enumerate() - changed error's strings to f-string - implemented without type() - add euclidean's explanation * apply feedback - deleted try/catch in euclidean - added error tests - name change(value -> value_array) * # doctest: +NORMALIZE_WHITESPACE * Update machine_learning/similarity_search.py * placate flake8 Co-authored-by: Christian Clauss <cclauss@me.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
add crawl_google_scholar_citation.py (#3879)
* add crawl_google_scholar_citation.py * pass flack8 * pass isort * pass isort * change comment in main * modify main code * delete file * change how to build url * add a key 'hl' in params dict * Update crawl_google_scholar_citation.py * Create crawl_google_results.py * codespell: Mater Co-authored-by: Christian Clauss <cclauss@me.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 11, 2020
-
Add Quantum Full Adder circuit for classical integers (#2954)
* requirements: add qiskit major library required for quantum computing * quantum: add quantum ripple adder implementation right now we are essentially performing the same task as a classic ripple adder Signed-off-by: rupansh-arch <rupanshsekar@hotmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Peak of unimodal list DNC algorithm (#3691)
* Peak of unimodal list DNC algorithm * fix black formatting issues * add doctest testing * make file black compliant
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Reduce complexity linear_discriminant_analysis. (#2452)
* Reduce complexity linear_discriminant_analysis. * Fix whitespace * Update machine_learning/linear_discriminant_analysis.py Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> * fixup! Format Python code with psf/black push * Fix format to surpass pre-commit tests * updating DIRECTORY.md * Update machine_learning/linear_discriminant_analysis.py Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> * fixup! Format Python code with psf/black push Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 10, 2020
-
Add molecular_chemistry.py (#2944)
* Create molecular_chemistry.py * round up outputs * Remove floating point * Add Wikipedia references * fixup! Format Python code with psf/black push * Add Conversions/Molecular Chemistry * updating DIRECTORY.md * Update molecular_chemistry.py Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 8, 2020
-
* DPLL algorithm * Corrections complete * Formatting * Codespell hook * Corrections part 2 * Corrections v2 * Corrections v3 * Update and rename dpll.py to davisβputnamβlogemannβloveland.py Co-authored-by: Christian Clauss <cclauss@me.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Update graphs/graph_list.py (#3813)
- update naming style to snake_case - add type hints
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add project euler problem 50 (#3016)
* Add project euler problem 50 * Apply format changes * Descriptive function/parameter name and type hints Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 6, 2020
-
Fix handling of non ascii characters in swap case (fixes: #3847) (#3848)
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits