tkgowtham
d49fea0cc6
Changed typing accordingly
2024-10-02 20:03:34 +05:30
tkgowtham
7c76e5c992
full final update of dbscan
2024-10-02 19:53:08 +05:30
pre-commit-ci[bot]
5e148f524d
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 14:12:57 +00:00
tkgowtham
cd539e378d
Final Update of DBSCAN
2024-10-02 19:42:19 +05:30
tkgowtham
59f4a0e046
Delete machine_learning/dbscan.py
2024-10-02 19:41:32 +05:30
pre-commit-ci[bot]
d2dbdc1136
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 11:07:02 +00:00
tkgowtham
0708d4b851
Update final5 dbscan.py
2024-10-02 16:36:03 +05:30
pre-commit-ci[bot]
61beb79437
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 11:03:29 +00:00
tkgowtham
e13b9d9ef2
Update final3 dbscan.py
2024-10-02 16:33:05 +05:30
pre-commit-ci[bot]
0b6579460e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 10:55:14 +00:00
tkgowtham
8b4d5e8338
Update final2 dbscan.py
2024-10-02 16:24:52 +05:30
pre-commit-ci[bot]
67ccda1f0e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 10:41:26 +00:00
tkgowtham
ab2822788e
Update Final dbscan.py
2024-10-02 16:10:40 +05:30
pre-commit-ci[bot]
4d76e8236b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 10:33:31 +00:00
tkgowtham
249b0e8871
Update dbscan.py
2024-10-02 16:03:06 +05:30
pre-commit-ci[bot]
b7e5e9c112
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-02 10:18:49 +00:00
tkgowtham
254854e832
Update dbscan.py
2024-10-02 15:43:16 +05:30
pre-commit-ci[bot]
a393075ede
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-01 15:51:04 +00:00
tkgowtham
12ac966b63
Update dbscan.py
2024-10-01 21:20:12 +05:30
pre-commit-ci[bot]
d61809015b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-01 15:44:15 +00:00
tkgowtham
49e9f614f5
Update dbscan.py
2024-10-01 21:13:40 +05:30
pre-commit-ci[bot]
b526b4d4eb
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-01 15:27:03 +00:00
tkgowtham
da81c073eb
Update and rename DBSCAN.py to dbscan.py
2024-10-01 20:49:14 +05:30
tkgowtham
e107d6d5d0
Implementation of DBSCAN from Scratch
2024-10-01 20:06:58 +05:30
Christian Clauss
0177ae1cd5
Upgrade to Python 3.13 ( #11588 )
2024-09-30 23:01:15 +02:00
Tianyi Zheng
446742387e
Fix grammar and spelling mistakes in sequential_minimum_optimization.py ( #11427 )
2024-06-13 17:47:29 -04:00
AtomicVar
c919579869
Add KL divergence loss algorithm ( #11238 )
...
* Add KL divergence loss algorithm
* Apply suggestions from code review
---------
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
2024-06-02 20:15:01 -07:00
Mandeep Singh
2f1704dae5
issue #11150 Ensure explicit column selection and data type setting in data reading process. ( #11302 )
...
* issue #11150 Ensure explicit column selection and data type setting in data reading process.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-02 18:27:35 -07:00
Maxim Smolskiy
c599f6c910
Fix some SIM114 per file ignores ( #11395 )
...
* updating DIRECTORY.md
* Fix some SIM114 per file ignores
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix review issue
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-10 21:59:53 +02:00
Maxim Smolskiy
3925b8155b
Fix ARG005 per file ignore ( #11383 )
2024-04-24 06:32:25 +02:00
Maxim Smolskiy
d016fda51c
Enable ruff RUF003 rule ( #11376 )
...
* Enable ruff RUF003 rule
* Update pyproject.toml
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-22 21:56:14 +02:00
Maxim Smolskiy
4700297b3e
Enable ruff RUF002 rule ( #11377 )
...
* Enable ruff RUF002 rule
* Fix
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-22 21:51:47 +02:00
pre-commit-ci[bot]
dbfa21813f
[pre-commit.ci] pre-commit autoupdate ( #11380 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1 )
- [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](https://github.com/tox-dev/pyproject-fmt/compare/1.7.0...1.8.0 )
* from keras import layers, models
* Update lstm_prediction.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-22 21:43:19 +02:00
Maxim Smolskiy
2702bf9400
Enable ruff S113 rule ( #11375 )
...
* Enable ruff S113 rule
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-21 19:34:18 +02:00
Maxim Smolskiy
a42eb35702
Enable ruff E741 rule ( #11370 )
...
* Enable ruff E741 rule
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-19 21:30:22 +02:00
Maxim Smolskiy
f8a948914b
Enable ruff NPY002 rule ( #11336 )
2024-04-01 21:39:31 +02:00
Maxim Smolskiy
f2246ce7fd
Enable ruff ICN001 rule ( #11329 )
...
* Enable ruff ICN001 rule
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-28 18:03:23 +00:00
Maxim Smolskiy
516a3028d1
Enable ruff PLR5501 rule ( #11332 )
...
* Enable ruff PLR5501 rule
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-28 18:25:41 +01:00
Maxim Smolskiy
a936e94704
Enable ruff ARG001 rule ( #11321 )
...
* Enable ruff ARG001 rule
* Fix dynamic_programming/combination_sum_iv.py
* Fix machine_learning/frequent_pattern_growth.py
* Fix other/davis_putnam_logemann_loveland.py
* Fix other/password.py
* Fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix physics/n_body_simulation.py
* Fix project_euler/problem_145/sol1.py
* Fix project_euler/problem_174/sol1.py
* Fix scheduling/highest_response_ratio_next.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix
* Fix
* Fix scheduling/job_sequencing_with_deadline.py
* Fix scheduling/job_sequencing_with_deadline.py
* Fix
* Fix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-20 15:00:17 +01:00
pre-commit-ci[bot]
bc8df6de31
[pre-commit.ci] pre-commit autoupdate ( #11322 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2 )
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-13 07:52:41 +01:00
guangwu
5f95d6f805
fix: function name typo ( #11319 )
...
* fix: function name typo
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
* lfu_cache.py: Use f-strings
* rsa_cipher.py: Use f-strings
---------
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-03-12 09:40:32 +01:00
Maxim Smolskiy
fd27953d44
Reenable files when TensorFlow supports the current Python ( #11318 )
...
* Remove python_version < '3.12' for tensorflow
* Reenable dynamic_programming/k_means_clustering_tensorflow.py
* updating DIRECTORY.md
* Try to fix ruff
* Try to fix ruff
* Try to fix ruff
* Try to fix ruff
* Try to fix ruff
* Reenable machine_learning/lstm/lstm_prediction.py
* updating DIRECTORY.md
* Try to fix ruff
* Reenable computer_vision/cnn_classification.py
* updating DIRECTORY.md
* Reenable neural_network/input_data.py
* updating DIRECTORY.md
* Try to fix ruff
* Try to fix ruff
* Try to fix mypy
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Try to fix ruff
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-12 09:35:49 +01:00
pre-commit-ci[bot]
ed8d9209da
[pre-commit.ci] pre-commit autoupdate ( #11275 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.2.0 )
* Upgrade pyproject.toml
* Revert sudoku_solver.py RUF017 Avoid quadratic list summation
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-02-05 20:48:10 +01:00
AtomicVar
c1d29ba459
Add smooth l1 loss algorithm ( #11239 )
2024-01-30 09:18:56 +01:00
AtomicVar
3952ba703a
Add categorical focal cross-entropy loss algorithm ( #11248 )
2024-01-18 13:41:29 +01:00
Suyash Dongre
257cfbdf6e
Added doctest to decision_tree.py ( #11143 )
...
* Added doctest to decision_tree.py
* Update decision_tree.py
* Update machine_learning/decision_tree.py
* Update machine_learning/decision_tree.py
* raise ValueError()
* Update decision_tree.py
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-11-05 14:01:00 +05:45
Sanket Nikam
a0e80a74c8
Added Gradient Boosting Classifier ( #10944 )
...
* Added Gradient Boosting Classifier
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update gradient_boosting_classifier.py
* Update gradient_boosting_classifier.py
* Update gradient_boosting_classifier.py
* Update gradient_boosting_classifier.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-27 23:17:58 +02:00
Poojan Smart
e4eda14583
Add perplexity loss algorithm ( #11028 )
2023-10-27 10:44:33 -04:00
Poojan Smart
5987f86192
Add automatic differentiation algorithm ( #10977 )
...
* Added automatic differentiation algorithm
* file name changed
* Resolved pre commit errors
* updated dependency
* added noqa for ignoring check
* adding typing_extension for adding Self type in __new__
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* sorted requirement.text dependency
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* resolved ruff
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-27 10:47:24 +02:00
Suyash Dongre
dd7d18d49e
Added doctest, docstring and typehint for sigmoid_function & cost_function ( #10828 )
...
* Added doctest for sigmoid_function & cost_function
* Update logistic_regression.py
* Update logistic_regression.py
* Minor formatting changes in doctests
* Apply suggestions from code review
* Made requested changes in logistic_regression.py
* Apply suggestions from code review
---------
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
2023-10-26 03:55:56 -04:00