Commit Graph

188 Commits

Author SHA1 Message Date
ee0d44e12e
rename bdot to matmul 2022-08-03 18:20:46 +03:00
5402ba47c9
Restrict tensor dot ot vectors and matrices only. Introduce bdot to Double TensorAlgebra for broadcasting operations. 2022-08-03 18:10:44 +03:00
Ivan Kylchik
dda6602ed4 Replace complex access to tensor with faster access to buffer in Jacobi algorithm 2022-02-20 02:51:35 +03:00
Ivan Kylchik
b13765ec19 Implement much faster Jacobi algorithm 2022-02-20 02:51:35 +03:00
Ivan Kylchik
7aff774bc1 Improve Jacobi algorithm readability by extracting some logic into helper fun 2022-02-20 02:51:35 +03:00
Ivan Kylchik
7a72a0b979 Implement Jacobi algorithm to find eigenvalues 2022-02-20 02:51:35 +03:00
ac3adfa644
Fix tf dot 2022-02-17 22:46:17 +03:00
Ivan Kylchik
a78e361b17 Implement much faster dot product algorithm for tensors 2022-02-18 00:13:23 +07:00
41fc6b4dd9
Merge branch 'feature/tensorflow' into dev 2022-01-28 09:46:55 +03:00
Iaroslav Postovalov
d2e3110480 Update gradle-tools, do Kotlin 1.6.0 migrations 2021-11-24 15:32:06 +07:00
Iaroslav Postovalov
7ceb0b69b8 Revert license removal and update copyright 2021-11-16 18:14:34 +07:00
4e16cf1c98 Merge remote-tracking branch 'origin/feature/tensorflow' into feature/tensorflow 2021-11-10 20:04:45 +03:00
c583320051 Merge branch 'dev' into feature/tensorflow
# Conflicts:
#	kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/DoubleTensorAlgebra.kt
2021-11-10 11:52:11 +03:00
0e1e97a3ff Multik integration finished (for now) 2021-11-04 10:58:27 +03:00
726864ed0e Refactoring of power 2021-11-03 12:55:29 +03:00
Roland Grinis
a994b8a50c fix argmax 2021-11-01 17:55:10 +00:00
b65197f577 revert parts of tensor api to tensors 2021-11-01 19:45:02 +03:00
Roland Grinis
db06d10cc2 dot fixed for tensorflow 2021-10-28 19:25:10 +01:00
46e7da9ae0 Tensor algebra generified 2021-10-28 11:18:16 +03:00
0f5f59e175 Merge branch 'dev' into feature/tensorflow 2021-10-28 10:58:53 +03:00
4db7398a28 Tensor algebra generified 2021-10-28 10:58:22 +03:00
7bdc54c818 Merge branch 'dev' into feature/tensorflow
# Conflicts:
#	kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/core/DoubleTensorAlgebra.kt
2021-10-28 09:55:43 +03:00
29a90efca5 Tensor algebra generified 2021-10-27 14:48:36 +03:00
4635cd3fb3 Refactor TensorAlgebra to take StructureND and inherit AlgebraND 2021-10-26 16:08:02 +03:00
7e59ec5804 Refactor TensorAlgebra to take StructureND and inherit AlgebraND 2021-10-26 09:16:24 +03:00
cc114041c4 Initial implementation of TensorFlow connector 2021-10-24 18:33:39 +03:00
a81ab474f7 Add multik tensor factories and benchmarks 2021-10-18 11:35:09 +03:00
827f115a92 Multik wrapper 2021-10-17 21:12:14 +03:00
688382eed6 Shapeless ND and Buffer algebras 2021-10-17 12:42:35 +03:00
d0354da80a Shapeless ND and Buffer algebras 2021-10-17 11:12:35 +03:00
30e3e80397 Add nd add benchmarks 2021-10-06 12:25:32 +03:00
abae29bbed DoubleBuffer algebra refactoring 2021-10-02 18:54:45 +03:00
01bbb4bb13 API cleanup 2021-10-02 09:55:52 +03:00
dfd6e0a949 Merge remote-tracking branch 'origin/dev' into feature/advanced-optimization
# Conflicts:
#	kmath-commons/src/main/kotlin/space/kscience/kmath/commons/optimization/CMOptimization.kt
#	kmath-commons/src/main/kotlin/space/kscience/kmath/commons/optimization/cmFit.kt
#	kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/_generated.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/FunctionOptimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/NoDerivFunctionOptimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/Optimization.kt
#	kmath-stat/src/commonMain/kotlin/space/kscience/kmath/optimization/XYFit.kt
2021-08-16 09:56:00 +03:00
Iaroslav Postovalov
da27c2e494 Fix path to LICENSE in the notice 2021-08-08 12:27:16 +07:00
a020d1545c merge dev 2021-08-06 12:23:24 +03:00
Iaroslav Postovalov
afd5908784 Revise grammar of KDoc comments, refresh documentation files 2021-07-29 07:16:26 +07:00
Iaroslav Postovalov
5d2eaaf68a Add contracts to some functions, fix multiple style issues 2021-07-13 00:38:30 +07:00
7f32348e7a Slight adjustment to tensor internals 2021-06-02 21:10:05 +03:00
Iaroslav Postovalov
15a0258b7d Nd4j based TensorAlgebra implementation, drop Nd4jArrayLongStructure 2021-05-20 21:42:36 +07:00
Roland Grinis
e110253d8f remove cov from tensors API 2021-05-13 19:26:18 +01:00
f5289abdc3 Introduce PerformancePitfall annotation 2021-05-13 11:09:49 +03:00
97c4b81717 Introduce PerformancePitfall annotation 2021-05-13 11:02:20 +03:00
Andrei Kislitsyn
33e27cd992 fixed 2021-05-07 23:07:02 +03:00
Andrei Kislitsyn
11a1624e64 fixes 2021-05-07 23:06:41 +03:00
Andrei Kislitsyn
dde1db7b0a fixes 2021-05-07 23:05:37 +03:00
Roland Grinis
75ef241be3 Merge commit 'refs/pull/322/head' of ssh://git.jetbrains.space/mipt-npm/sci/kmath into feature/tensor-algebra 2021-05-07 14:19:37 +01:00
Roland Grinis
a5b72f2016 Doc typo 2021-05-07 14:15:48 +01:00
Roland Grinis
21b5d45b96 Throwable value method 2021-05-07 14:13:07 +01:00
Andrei Kislitsyn
5b725a087b new cast 2021-05-07 15:53:09 +03:00
Roland Grinis
d73d03c055 valueOrNull added 2021-05-07 13:36:15 +01:00
Roland Grinis
e80eefa90f typo corrected 2021-05-07 13:12:55 +01:00
Roland Grinis
d31726a0d9 produce routine 2021-05-07 13:12:18 +01:00
Roland Grinis
0ef64130ae TensorLinearStructure made internal 2021-05-07 13:00:30 +01:00
Roland Grinis
0920e21d62 Merging implementations together 2021-05-07 12:52:17 +01:00
Andrei Kislitsyn
14ca7cdd31 fixes 2021-05-07 13:00:20 +03:00
Andrei Kislitsyn
1b1a078dea neural network! 2021-05-07 03:22:34 +03:00
Roland Grinis
febe526325 Update stack docs 2021-05-06 14:50:05 +01:00
Roland Grinis
5fe1320855 minor corrections 2021-05-06 12:59:21 +01:00
AlyaNovikova
90149e3965 add documentation to map and randomNormal function 2021-05-06 14:42:15 +03:00
AlyaNovikova
56cadbd9ef Merge branch 'feature/tensor-algebra' of https://github.com/mipt-npm/kmath into feature/tensor-algebra 2021-05-06 14:24:06 +03:00
AlyaNovikova
dc22bd8498 add documentation to DoubleTensorAlgebra 2021-05-06 14:23:57 +03:00
Andrei Kislitsyn
8ac253b9fe cov + docs 2021-05-06 14:09:47 +03:00
Roland Grinis
35928e7960 minor corrections 2021-05-06 10:52:37 +01:00
Andrei Kislitsyn
0e793eba26 Merge remote-tracking branch 'ups/feature/tensor-algebra' into andrew 2021-05-06 12:30:23 +03:00
Andrei Kislitsyn
499cf85ff0 refactor BT + docs 2021-05-06 12:30:13 +03:00
Roland Grinis
16bed53997 Drop unused functionality in TensorLinearStructure 2021-05-06 09:59:58 +01:00
Roland Grinis
477e64e4d3 Typos corrected 2021-05-06 09:51:59 +01:00
Roland Grinis
a1cbd7a457 TensorLinearStructure doc 2021-05-06 09:48:43 +01:00
Roland Grinis
0680a3a1cb Merge commit 'refs/pull/315/head' of ssh://git.jetbrains.space/mipt-npm/sci/kmath into feature/tensor-algebra 2021-05-06 09:04:01 +01:00
AlyaNovikova
229c1b57da add documentation to DoubleLinearOpsTensorAlgebra 2021-05-06 10:27:47 +03:00
Roland Grinis
b7cc4e4b1b merge dev 2021-05-06 07:45:53 +01:00
Roland Grinis
431db00f1a refactor tests 2021-05-05 16:35:26 +01:00
Roland Grinis
218b81a242 Min max refactor 2021-05-05 16:11:46 +01:00
Andrei Kislitsyn
d0281871fa analytic tests and examples 2021-05-05 14:27:01 +03:00
Roland Grinis
b59e48410f More basic functionality, tests to come 2021-05-03 19:49:23 +01:00
Andrei Kislitsyn
7f8914d8ea fixes 2021-05-03 20:42:18 +03:00
Andrei Kislitsyn
8898f908ef statistic algebra 2021-05-03 18:45:18 +03:00
Roland Grinis
5aaba0dae4 TensorStructure to Tensor 2021-05-02 16:19:05 +01:00
Roland Grinis
48d86fac56 invoke refactor 2021-05-01 19:55:48 +01:00
Andrei Kislitsyn
ac6608b5b4 refactor 2021-05-01 20:45:23 +03:00
Andrei Kislitsyn
bfba653904 refactor 2021-05-01 17:47:12 +03:00
Andrei Kislitsyn
fe81dea243 stack 2021-05-01 14:22:05 +03:00
Andrei Kislitsyn
b7cac3a015 fix sequences + array casting 2021-05-01 13:32:50 +03:00
Roland Grinis
74773686b4 toDoubleTensor and toIntTensor renaming 2021-04-30 19:49:43 +01:00
Roland Grinis
8a039326d4 Minor corrections 2021-04-30 19:47:05 +01:00
Andrei Kislitsyn
f0cdb9b657 refactor utils and remove inline 2021-04-30 20:07:59 +03:00
Andrei Kislitsyn
e2c7751c7e refactor linops 2021-04-30 19:45:31 +03:00
Roland Grinis
86c2816cfd Fixed strides code duplication 2021-04-30 14:53:02 +01:00
Roland Grinis
6be5caa93f No secondary constructors 2021-04-30 14:44:42 +01:00
Roland Grinis
e5e62bc544 Extending from Algebra 2021-04-30 14:38:03 +01:00
Roland Grinis
bd068b2c14 Smaller SVD test 2021-04-30 09:54:25 +01:00
Roland Grinis
b546f3f78b Merge PR 2021-04-30 09:19:30 +01:00
Andrei Kislitsyn
09f0a2879e refactor lu + docs 2021-04-30 11:08:22 +03:00
Roland Grinis
432f404d7c More descriptions 2021-04-29 18:45:46 +01:00
AlyaNovikova
b9f1f0e525 fixes 2021-04-29 20:00:05 +03:00
AlyaNovikova
64c6cbf860 change tuple to pair/triple 2021-04-29 17:21:29 +03:00
AlyaNovikova
6f5b0f0a03 add README and documentation for the main functions of tensor algebra 2021-04-29 17:09:50 +03:00
Roland Grinis
b65a673173 Fix format for 0.0 2021-04-28 14:16:57 +01:00
Roland Grinis
23ea4a95a1 Fixed strides flipping 2021-04-27 19:01:54 +01:00