pyfylr 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyfylr-0.1.0/.github/workflows/ci.yml +36 -0
- pyfylr-0.1.0/.github/workflows/release-pypi.yml +127 -0
- pyfylr-0.1.0/CMakeLists.txt +46 -0
- pyfylr-0.1.0/LICENSE +21 -0
- pyfylr-0.1.0/PKG-INFO +102 -0
- pyfylr-0.1.0/README.md +66 -0
- pyfylr-0.1.0/RELEASING.md +31 -0
- pyfylr-0.1.0/THIRD_PARTY_NOTICES +83 -0
- pyfylr-0.1.0/_staged_core/include/lta/lta.hpp +1120 -0
- pyfylr-0.1.0/_staged_core/src/describe.cpp +587 -0
- pyfylr-0.1.0/_staged_core/src/lta.cpp +6521 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/COPYING.APACHE +203 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/COPYING.BSD +26 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/COPYING.LGPL +502 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/COPYING.MPL2 +373 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/COPYING.README +18 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Cholesky +45 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Core +384 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Dense +7 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Eigen +2 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Eigenvalues +60 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Geometry +59 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Householder +29 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/IterativeLinearSolvers +48 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Jacobi +32 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/KLUSupport +41 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/LU +47 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/MetisSupport +35 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/OrderingMethods +70 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/PaStiXSupport +49 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/PardisoSupport +35 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/QR +50 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/QtAlignedMalloc +39 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SPQRSupport +34 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SVD +50 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/Sparse +34 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SparseCholesky +37 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SparseCore +69 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SparseLU +50 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SparseQR +36 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/StdDeque +27 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/StdList +26 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/StdVector +27 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/SuperLUSupport +64 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/UmfPackSupport +40 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Cholesky/LDLT.h +688 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Cholesky/LLT.h +558 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ArithmeticSequence.h +413 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Array.h +417 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ArrayBase.h +226 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ArrayWrapper.h +209 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Assign.h +90 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/AssignEvaluator.h +1010 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Assign_MKL.h +178 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/BandMatrix.h +353 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Block.h +448 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/BooleanRedux.h +162 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CommaInitializer.h +164 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ConditionEstimator.h +175 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CoreEvaluators.h +1741 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CoreIterators.h +132 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/CwiseUnaryView.h +132 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/DenseBase.h +701 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/DenseStorage.h +652 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Diagonal.h +258 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/DiagonalMatrix.h +391 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/DiagonalProduct.h +28 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Dot.h +318 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/EigenBase.h +160 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Fuzzy.h +155 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/GeneralProduct.h +465 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/GenericPacketMath.h +1040 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/GlobalFunctions.h +194 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/IO.h +258 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/IndexedView.h +237 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Inverse.h +117 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Map.h +171 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/MapBase.h +310 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/MathFunctions.h +2057 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Matrix.h +565 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/MatrixBase.h +547 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/NestByValue.h +85 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/NoAlias.h +109 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/NumTraits.h +335 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/PermutationMatrix.h +605 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/PlainObjectBase.h +1128 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Product.h +191 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ProductEvaluators.h +1179 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Random.h +218 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Redux.h +515 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Ref.h +381 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Replicate.h +142 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Reshaped.h +454 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/ReturnByValue.h +119 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Reverse.h +217 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Select.h +164 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/SelfAdjointView.h +365 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Solve.h +188 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/SolveTriangular.h +235 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/SolverBase.h +168 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/StableNorm.h +251 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/StlIterators.h +463 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Stride.h +116 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Swap.h +68 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Transpose.h +464 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Transpositions.h +386 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/TriangularMatrix.h +1001 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/VectorBlock.h +96 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/VectorwiseOp.h +784 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/Visitor.h +381 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/Half.h +942 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/Settings.h +49 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/functors/StlFunctors.h +166 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/Parallelizer.h +180 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/BlasUtil.h +583 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/Constants.h +563 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/IntegralConstant.h +272 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/MKL_support.h +137 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/Macros.h +1464 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/Memory.h +1163 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/Meta.h +812 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/NonMPL2.h +3 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/StaticAssert.h +221 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Core/util/XprHelper.h +856 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/AlignedBox.h +486 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/AngleAxis.h +247 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/EulerAngles.h +114 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Homogeneous.h +501 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Hyperplane.h +282 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/OrthoMethods.h +235 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Quaternion.h +870 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Rotation2D.h +199 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/RotationBase.h +206 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Scaling.h +188 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Transform.h +1563 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Translation.h +202 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/Umeyama.h +166 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Householder/BlockHouseholder.h +110 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Householder/Householder.h +176 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Householder/HouseholderSequence.h +545 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/Jacobi/Jacobi.h +483 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/LU/Determinant.h +117 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/LU/FullPivLU.h +877 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/LU/InverseImpl.h +432 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/LU/PartialPivLU.h +624 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/LU/arch/InverseSize4.h +351 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/OrderingMethods/Amd.h +435 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/OrderingMethods/Ordering.h +153 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/QR/HouseholderQR.h +434 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SVD/BDCSVD.h +1366 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SVD/JacobiSVD.h +812 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SVD/SVDBase.h +376 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/AmbiVector.h +378 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseAssign.h +270 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseBlock.h +571 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseDot.h +98 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseMap.h +305 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseProduct.h +181 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseRedux.h +49 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseRef.h +397 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseUtil.h +186 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseVector.h +478 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/SparseView.h +254 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU.h +923 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SparseQR/SparseQR.h +758 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/StlSupport/StdDeque.h +116 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/StlSupport/StdList.h +106 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/StlSupport/StdVector.h +131 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/StlSupport/details.h +84 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/Image.h +82 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/Kernel.h +79 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/RealSvd2x2.h +55 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/blas.h +444 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/lapack.h +152 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/lapacke.h +16292 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/misc/lapacke_mangling.h +17 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/BlockMethods.h +1442 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- pyfylr-0.1.0/_staged_core/vendor/Eigen/src/plugins/ReshapedMethods.h +149 -0
- pyfylr-0.1.0/pyproject.toml +64 -0
- pyfylr-0.1.0/src/pyfylr/__init__.py +1764 -0
- pyfylr-0.1.0/src/pyfylr/_core.cpp +845 -0
- pyfylr-0.1.0/src/pyfylr/py.typed +0 -0
- pyfylr-0.1.0/src/pyfylr/selection.py +2250 -0
- pyfylr-0.1.0/src/pyfylr/sklearn_api.py +687 -0
- pyfylr-0.1.0/tests/fixture_paths.py +15 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/manifest.csv +37 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lca_bernoulli_k2/draw_023.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lca_bernoulli_k2/draw_042.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_004.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_011.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_017.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_032.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_034.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_037.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_046.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_058.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_059.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_080.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_088.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_089.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_090.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_093.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_097.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/python/lpa_eei_k2/draw_098.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lca_bernoulli_k2/draw_039.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lca_bernoulli_k2/draw_082.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lca_bernoulli_k2/draw_083.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lca_bernoulli_k2/draw_092.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_004.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_007.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_033.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_034.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_046.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_056.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_058.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_060.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_062.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_063.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_067.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_076.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_077.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/blrt-small-class/r/lpa_eei_k2/draw_098.csv +81 -0
- pyfylr-0.1.0/tests/fixtures/mplus/PROVENANCE.md +32 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lca_bernoulli_k2.dat +80 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lca_bernoulli_k2.inp +19 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lca_bernoulli_k2_tech14.csv +2 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lca_bernoulli_k2_tech14.inp +26 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eee_k2.dat +60 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eee_k2.inp +22 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eee_k2_tech14.csv +2 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eee_k2_tech14.inp +28 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eei_k2.dat +80 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eei_k2.inp +25 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eei_k2_tech14.csv +2 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_eei_k2_tech14.inp +31 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_vvv_k2_missing.dat +50 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_vvv_k2_missing.inp +26 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_vvv_k2_missing_starts500.inp +24 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lpa_vvv_k2_missing_userstart_131.inp +32 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lta_bernoulli_k2_t2.dat +160 -0
- pyfylr-0.1.0/tests/fixtures/mplus/lta_bernoulli_k2_t2.inp +33 -0
- pyfylr-0.1.0/tests/fixtures/mplus/mplus_results.json +214 -0
- pyfylr-0.1.0/tests/fixtures/mplus/package_estimates.json +809 -0
- pyfylr-0.1.0/tests/fixtures/mplus/profylr_side.json +82 -0
- pyfylr-0.1.0/tests/fixtures/parity/shared.txt +10 -0
- pyfylr-0.1.0/tests/test_alignment.py +62 -0
- pyfylr-0.1.0/tests/test_blrt_threads.py +86 -0
- pyfylr-0.1.0/tests/test_enumeration.py +340 -0
- pyfylr-0.1.0/tests/test_label_groups.py +223 -0
- pyfylr-0.1.0/tests/test_lavaan_reference.py +133 -0
- pyfylr-0.1.0/tests/test_mplus_fixtures.py +169 -0
- pyfylr-0.1.0/tests/test_panel_schema.py +201 -0
- pyfylr-0.1.0/tests/test_pyfylr.py +360 -0
- pyfylr-0.1.0/tests/test_release_wheel.py +36 -0
- pyfylr-0.1.0/tests/test_replication_band.py +148 -0
- pyfylr-0.1.0/tests/test_round4.py +209 -0
- pyfylr-0.1.0/tests/test_selection.py +1220 -0
- pyfylr-0.1.0/tests/test_sklearn_api.py +618 -0
- pyfylr-0.1.0/tests/test_small_class_modes.py +51 -0
- pyfylr-0.1.0/tests/unrun_blrt_batch_equivalence.py +336 -0
- pyfylr-0.1.0/tests/unrun_compact_output_equivalence.py +391 -0
- pyfylr-0.1.0/tests/unrun_estep_threads_equivalence.py +252 -0
- pyfylr-0.1.0/tests/unrun_pattern_compression_equivalence.py +513 -0
- pyfylr-0.1.0/tests/unrun_streaming_estep_equivalence.py +324 -0
- pyfylr-0.1.0/tests/wheel_check.py +11 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: [main]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
timeout-minutes: 45
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.12"
|
|
19
|
+
- name: Install the build frontend
|
|
20
|
+
run: python -m pip install --upgrade pip build
|
|
21
|
+
- name: Build the sdist
|
|
22
|
+
run: python -m build --sdist --outdir "${RUNNER_TEMP}/sdist" .
|
|
23
|
+
- name: Build a wheel from the unpacked sdist
|
|
24
|
+
run: |
|
|
25
|
+
rm -rf "${RUNNER_TEMP}/src"
|
|
26
|
+
mkdir -p "${RUNNER_TEMP}/src"
|
|
27
|
+
tar -xzf "${RUNNER_TEMP}/sdist"/pyfylr-*.tar.gz -C "${RUNNER_TEMP}/src"
|
|
28
|
+
python -m build --wheel --outdir "${RUNNER_TEMP}/wheel" "${RUNNER_TEMP}/src"/pyfylr-*
|
|
29
|
+
- name: Install the wheel outside the checkout
|
|
30
|
+
run: |
|
|
31
|
+
python -m venv "${RUNNER_TEMP}/venv"
|
|
32
|
+
"${RUNNER_TEMP}/venv/bin/pip" install "${RUNNER_TEMP}/wheel"/*.whl matplotlib seaborn "scikit-learn>=1.3" pytest
|
|
33
|
+
"${RUNNER_TEMP}/venv/bin/python" -c 'import pyfylr,inspect; print(inspect.getfile(pyfylr))'
|
|
34
|
+
- name: Run pytest against that install
|
|
35
|
+
run: |
|
|
36
|
+
env -u PYTHONPATH "${RUNNER_TEMP}/venv/bin/python" -m pytest tests -q --tb=line
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# Exported to the public pyfylr repository as .github/workflows/release-pypi.yml.
|
|
2
|
+
# Trusted Publishing uses the GitHub environment name below. There is no
|
|
3
|
+
# API token and no password input. A push does not run this workflow.
|
|
4
|
+
name: release-pypi
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [published]
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
inputs:
|
|
11
|
+
testpypi:
|
|
12
|
+
description: Upload the artifacts to TestPyPI
|
|
13
|
+
type: boolean
|
|
14
|
+
default: false
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
build_sdist:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
timeout-minutes: 20
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
25
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.12"
|
|
28
|
+
- name: Build the sdist and check it
|
|
29
|
+
run: |
|
|
30
|
+
python -m pip install --upgrade pip
|
|
31
|
+
python -m pip install "build==1.6.1" "twine==6.2.0"
|
|
32
|
+
python -m build --sdist --outdir dist
|
|
33
|
+
twine check dist/*
|
|
34
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
35
|
+
with:
|
|
36
|
+
name: pyfylr-sdist
|
|
37
|
+
path: dist/*.tar.gz
|
|
38
|
+
if-no-files-found: error
|
|
39
|
+
|
|
40
|
+
build_wheels:
|
|
41
|
+
needs: build_sdist
|
|
42
|
+
runs-on: ${{ matrix.os }}
|
|
43
|
+
timeout-minutes: 90
|
|
44
|
+
strategy:
|
|
45
|
+
fail-fast: false
|
|
46
|
+
matrix:
|
|
47
|
+
include:
|
|
48
|
+
# GitHub-hosted labels, docs.github.com runners reference:
|
|
49
|
+
# macos-15-intel is Intel x86_64; macos-15 is arm64.
|
|
50
|
+
- os: ubuntu-latest
|
|
51
|
+
arch: x86_64
|
|
52
|
+
- os: macos-15-intel
|
|
53
|
+
arch: x86_64
|
|
54
|
+
- os: macos-15
|
|
55
|
+
arch: arm64
|
|
56
|
+
- os: windows-latest
|
|
57
|
+
arch: auto64
|
|
58
|
+
steps:
|
|
59
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
60
|
+
with:
|
|
61
|
+
name: pyfylr-sdist
|
|
62
|
+
path: sdist-artifact
|
|
63
|
+
- name: Unpack the sdist
|
|
64
|
+
shell: bash
|
|
65
|
+
run: |
|
|
66
|
+
mkdir -p sdist-root
|
|
67
|
+
tar -xzf sdist-artifact/*.tar.gz -C sdist-root --strip-components=1
|
|
68
|
+
test -f sdist-root/pyproject.toml
|
|
69
|
+
test -f sdist-root/CMakeLists.txt
|
|
70
|
+
test -f sdist-root/tests/wheel_check.py
|
|
71
|
+
test -f sdist-root/tests/test_release_wheel.py
|
|
72
|
+
# Wheels are built from that unpacked sdist, not from the git checkout.
|
|
73
|
+
# CMakeLists.txt in the sdist applies the same flags as the sdist build:
|
|
74
|
+
# GCC and Clang get -fno-fast-math -ffp-contract=off -O2.
|
|
75
|
+
# MSVC gets /O2 and is not given /fp:fast. tests/test_release_wheel.py
|
|
76
|
+
# reads build_info()["flags"] and checks that path.
|
|
77
|
+
- name: Build wheels
|
|
78
|
+
uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5
|
|
79
|
+
env:
|
|
80
|
+
CIBW_BUILD: cp311-* cp312-* cp313-*
|
|
81
|
+
CIBW_SKIP: "*-musllinux_* pp*"
|
|
82
|
+
CIBW_ARCHS: ${{ matrix.arch }}
|
|
83
|
+
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
|
|
84
|
+
CIBW_TEST_REQUIRES: pytest
|
|
85
|
+
CIBW_TEST_COMMAND: python {package}/tests/wheel_check.py
|
|
86
|
+
with:
|
|
87
|
+
package-dir: sdist-root
|
|
88
|
+
output-dir: wheelhouse
|
|
89
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
90
|
+
with:
|
|
91
|
+
name: pyfylr-wheels-${{ matrix.os }}
|
|
92
|
+
path: wheelhouse/*.whl
|
|
93
|
+
if-no-files-found: error
|
|
94
|
+
|
|
95
|
+
publish:
|
|
96
|
+
needs: [build_sdist, build_wheels]
|
|
97
|
+
if: github.event_name == 'release'
|
|
98
|
+
runs-on: ubuntu-latest
|
|
99
|
+
environment: pypi
|
|
100
|
+
permissions:
|
|
101
|
+
id-token: write
|
|
102
|
+
timeout-minutes: 15
|
|
103
|
+
steps:
|
|
104
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
105
|
+
with:
|
|
106
|
+
pattern: pyfylr-*
|
|
107
|
+
merge-multiple: true
|
|
108
|
+
path: dist
|
|
109
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
110
|
+
|
|
111
|
+
publish_testpypi:
|
|
112
|
+
needs: [build_sdist, build_wheels]
|
|
113
|
+
if: github.event_name == 'workflow_dispatch' && inputs.testpypi
|
|
114
|
+
runs-on: ubuntu-latest
|
|
115
|
+
environment: testpypi
|
|
116
|
+
permissions:
|
|
117
|
+
id-token: write
|
|
118
|
+
timeout-minutes: 15
|
|
119
|
+
steps:
|
|
120
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
121
|
+
with:
|
|
122
|
+
pattern: pyfylr-*
|
|
123
|
+
merge-multiple: true
|
|
124
|
+
path: dist
|
|
125
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
126
|
+
with:
|
|
127
|
+
repository-url: https://test.pypi.org/legacy/
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.15...3.27)
|
|
2
|
+
if(NOT DEFINED CMAKE_CXX_COMPILER AND NOT WIN32)
|
|
3
|
+
set(CMAKE_CXX_COMPILER g++)
|
|
4
|
+
endif()
|
|
5
|
+
project(pyfylr LANGUAGES CXX)
|
|
6
|
+
|
|
7
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
8
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
9
|
+
|
|
10
|
+
find_package(pybind11 CONFIG REQUIRED)
|
|
11
|
+
|
|
12
|
+
# A monorepo build uses core/ beside pyfylr. An sdist vendors that tree as
|
|
13
|
+
# _staged_core, so a wheel builds from the sdist with no sibling checkout.
|
|
14
|
+
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../core/src/lta.cpp")
|
|
15
|
+
set(LTA_CORE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../core")
|
|
16
|
+
elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/_staged_core/src/lta.cpp")
|
|
17
|
+
set(LTA_CORE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/_staged_core")
|
|
18
|
+
else()
|
|
19
|
+
message(FATAL_ERROR
|
|
20
|
+
"pyfylr needs the C++ core. Build from the monorepo, with core/ beside pyfylr, or from an sdist that contains _staged_core.")
|
|
21
|
+
endif()
|
|
22
|
+
|
|
23
|
+
pybind11_add_module(_core
|
|
24
|
+
src/pyfylr/_core.cpp
|
|
25
|
+
${LTA_CORE_DIR}/src/lta.cpp
|
|
26
|
+
${LTA_CORE_DIR}/src/describe.cpp)
|
|
27
|
+
|
|
28
|
+
target_include_directories(_core PRIVATE
|
|
29
|
+
${LTA_CORE_DIR}/include
|
|
30
|
+
${LTA_CORE_DIR}/vendor)
|
|
31
|
+
|
|
32
|
+
find_package(Threads REQUIRED)
|
|
33
|
+
target_link_libraries(_core PRIVATE Threads::Threads)
|
|
34
|
+
target_compile_definitions(_core PRIVATE EIGEN_DONT_PARALLELIZE NDEBUG EIGEN_NO_DEBUG)
|
|
35
|
+
if(MSVC)
|
|
36
|
+
# MSVC does not contract fused multiply-adds unless /fp:fast is requested.
|
|
37
|
+
target_compile_options(_core PRIVATE /O2)
|
|
38
|
+
target_compile_definitions(_core PRIVATE
|
|
39
|
+
"LTA_COMPILE_FLAGS=\"/O2 -DEIGEN_DONT_PARALLELIZE -DNDEBUG -DEIGEN_NO_DEBUG\"")
|
|
40
|
+
else()
|
|
41
|
+
target_compile_options(_core PRIVATE -fno-fast-math -ffp-contract=off -O2)
|
|
42
|
+
target_compile_definitions(_core PRIVATE
|
|
43
|
+
"LTA_COMPILE_FLAGS=\"-O2 -fno-fast-math -ffp-contract=off -DEIGEN_DONT_PARALLELIZE -DNDEBUG -DEIGEN_NO_DEBUG\"")
|
|
44
|
+
endif()
|
|
45
|
+
|
|
46
|
+
install(TARGETS _core DESTINATION pyfylr)
|
pyfylr-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 David S. Cassell
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pyfylr-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyfylr
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Latent transition, latent class, and latent profile models. Release 1 uses the shared C++ EM core.
|
|
5
|
+
Author-Email: "David S. Cassell" <davidscassell@gmail.com>
|
|
6
|
+
Maintainer-Email: "David S. Cassell" <davidscassell@gmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: THIRD_PARTY_NOTICES
|
|
10
|
+
License-File: _staged_core/vendor/Eigen/COPYING.APACHE
|
|
11
|
+
License-File: _staged_core/vendor/Eigen/COPYING.BSD
|
|
12
|
+
License-File: _staged_core/vendor/Eigen/COPYING.LGPL
|
|
13
|
+
License-File: _staged_core/vendor/Eigen/COPYING.MPL2
|
|
14
|
+
License-File: _staged_core/vendor/Eigen/COPYING.README
|
|
15
|
+
Classifier: Development Status :: 4 - Beta
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: Programming Language :: C++
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
23
|
+
Project-URL: Homepage, https://github.com/davidscassell/pyfylr
|
|
24
|
+
Project-URL: Repository, https://github.com/davidscassell/pyfylr
|
|
25
|
+
Project-URL: Issues, https://github.com/davidscassell/pyfylr/issues
|
|
26
|
+
Requires-Python: <3.14,>=3.11
|
|
27
|
+
Requires-Dist: numpy>=2.1; python_version >= "3.13"
|
|
28
|
+
Requires-Dist: numpy>=2.0; python_version < "3.13"
|
|
29
|
+
Requires-Dist: pandas>=2.2.3
|
|
30
|
+
Provides-Extra: plot
|
|
31
|
+
Requires-Dist: matplotlib; extra == "plot"
|
|
32
|
+
Requires-Dist: seaborn; extra == "plot"
|
|
33
|
+
Provides-Extra: sklearn
|
|
34
|
+
Requires-Dist: scikit-learn>=1.3; extra == "sklearn"
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# pyfylr
|
|
38
|
+
|
|
39
|
+
Latent profile, latent class, and latent transition models for Python. Release 1 estimates a first-order discrete-time Markov model with a C++17 core (Eigen 3.4.0, no external BLAS). The same core is used by [profylr](https://github.com/davidscassell/profylr).
|
|
40
|
+
|
|
41
|
+
**BLRT is experimental and unvalidated.** `selection_rule()` keeps `blrt=False`. A bootstrap result keeps `validated` false until the checks named in that result are shown, and an unvalidated result does not change the selected model. A fitted model does not carry a `validated` flag. Do not use the bootstrap likelihood-ratio test for automatic model selection.
|
|
42
|
+
|
|
43
|
+
## Install
|
|
44
|
+
|
|
45
|
+
This repository contains the package and the C++ sources it compiles, under `_staged_core`. Python 3.11, 3.12, or 3.13. NumPy is at least 2.0 on 3.11 and 3.12, and at least 2.1 on 3.13. pandas is at least 2.2.3. The build uses pybind11 at least 2.13, CMake, and a C++17 compiler. From a checkout:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
pip install .
|
|
49
|
+
pytest
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`pip install .` compiles the extension from source. It does not select a
|
|
53
|
+
prebuilt wheel. Whether a release includes wheels is undecided.
|
|
54
|
+
|
|
55
|
+
`pytest` needs the optional plot and scikit-learn extras (`pip install ".[plot,sklearn]" pytest`). Release 1 is tested on Linux x86_64 and Apple Silicon. Windows and Intel Mac are untested.
|
|
56
|
+
|
|
57
|
+
The defaults are 40 random starts, a screen of 10, 4 full starts, `max_iter=200`, and `tol=1e-7`. Eigen's own multithreading is disabled. Random starts use private streams derived from the master seed, so one thread and several threads return the same fit.
|
|
58
|
+
|
|
59
|
+
## Example
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
import numpy as np
|
|
63
|
+
import pandas as pd
|
|
64
|
+
import pyfylr as pf
|
|
65
|
+
|
|
66
|
+
rng = np.random.default_rng(1)
|
|
67
|
+
y = np.concatenate([rng.normal(-1, 0.5, 30), rng.normal(1, 0.5, 30)])
|
|
68
|
+
ex = pd.DataFrame({"y1": y, "y2": y + rng.normal(0, 0.3, 60)})
|
|
69
|
+
fit = pf.fit_lpa(ex, ["y1", "y2"], n_states=2, covariance="EEI")
|
|
70
|
+
fit.glance()
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
A longitudinal call has the same defaults:
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
pf.fit_lta(data, indicators=["u1", "u2", "y"], id="id", wave="wave",
|
|
77
|
+
n_states=3, family={"u1": "bernoulli", "u2": "nominal", "y": "gaussian"},
|
|
78
|
+
covariance="VVV")
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
A cross-section is `fit_lpa` or `fit_lca`, or `data.pyfylr.fit_lpa(...)`.
|
|
82
|
+
|
|
83
|
+
The same core is available as a scikit-learn-style estimator. scikit-learn itself is optional.
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
model = pf.LatentProfileModel(n_states=2, covariance="VVV", n_starts=40, random_state=1)
|
|
87
|
+
model.fit(frame[["y1", "y2"]])
|
|
88
|
+
model.predict(frame[["y1", "y2"]]) # modal state, 0-based
|
|
89
|
+
model.score(frame[["y1", "y2"]]) # mean log-likelihood, not a way to choose n_states
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`LatentTransitionModel.predict` uses the smoothed modal state. `filter`, `smooth`, and `viterbi` are separate. `fit_result_` is the same object `fit_lpa` returns. `random_state=None` is seed 0. Do not pass `score` to `GridSearchCV` to select `n_states`.
|
|
93
|
+
|
|
94
|
+
Indicators, covariates, and distal outcomes are different roles. Release 1 estimates indicators only. A non-empty covariate specification is an error. Distal outcomes are Release 3 and require a declared timing (`initial`, `final`, `wave`, or `transition`). Modal-assignment ANOVA and logistic regression are not provided.
|
|
95
|
+
|
|
96
|
+
Supported indicator families are Gaussian, Bernoulli, and nominal. One Gaussian block may be combined with categorical indicators. The emission is the product of the block density and the categorical probabilities, so the blocks are conditionally independent given the state. Ordinal indicators are Release 2. Poisson and negative binomial indicators come after that.
|
|
97
|
+
|
|
98
|
+
The fit records `engine="cpp-em"`, an empty draws slot, `interval_type="none"`, and separates plug-in state posteriors from parameter uncertainty. No standard errors are reported in this release.
|
|
99
|
+
|
|
100
|
+
`save_model` stores an analyst selection or a comparison table. Saving a fitted model, including parameters and a way to score new rows from that file, is deferred. `predict` and `predict_proba` on the scikit-learn estimators score new rows from a model that is still in memory. The R package does not have that new-data prediction method in this release.
|
|
101
|
+
|
|
102
|
+
Repository: <https://github.com/davidscassell/pyfylr>
|
pyfylr-0.1.0/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# pyfylr
|
|
2
|
+
|
|
3
|
+
Latent profile, latent class, and latent transition models for Python. Release 1 estimates a first-order discrete-time Markov model with a C++17 core (Eigen 3.4.0, no external BLAS). The same core is used by [profylr](https://github.com/davidscassell/profylr).
|
|
4
|
+
|
|
5
|
+
**BLRT is experimental and unvalidated.** `selection_rule()` keeps `blrt=False`. A bootstrap result keeps `validated` false until the checks named in that result are shown, and an unvalidated result does not change the selected model. A fitted model does not carry a `validated` flag. Do not use the bootstrap likelihood-ratio test for automatic model selection.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
This repository contains the package and the C++ sources it compiles, under `_staged_core`. Python 3.11, 3.12, or 3.13. NumPy is at least 2.0 on 3.11 and 3.12, and at least 2.1 on 3.13. pandas is at least 2.2.3. The build uses pybind11 at least 2.13, CMake, and a C++17 compiler. From a checkout:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install .
|
|
13
|
+
pytest
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`pip install .` compiles the extension from source. It does not select a
|
|
17
|
+
prebuilt wheel. Whether a release includes wheels is undecided.
|
|
18
|
+
|
|
19
|
+
`pytest` needs the optional plot and scikit-learn extras (`pip install ".[plot,sklearn]" pytest`). Release 1 is tested on Linux x86_64 and Apple Silicon. Windows and Intel Mac are untested.
|
|
20
|
+
|
|
21
|
+
The defaults are 40 random starts, a screen of 10, 4 full starts, `max_iter=200`, and `tol=1e-7`. Eigen's own multithreading is disabled. Random starts use private streams derived from the master seed, so one thread and several threads return the same fit.
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
import numpy as np
|
|
27
|
+
import pandas as pd
|
|
28
|
+
import pyfylr as pf
|
|
29
|
+
|
|
30
|
+
rng = np.random.default_rng(1)
|
|
31
|
+
y = np.concatenate([rng.normal(-1, 0.5, 30), rng.normal(1, 0.5, 30)])
|
|
32
|
+
ex = pd.DataFrame({"y1": y, "y2": y + rng.normal(0, 0.3, 60)})
|
|
33
|
+
fit = pf.fit_lpa(ex, ["y1", "y2"], n_states=2, covariance="EEI")
|
|
34
|
+
fit.glance()
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
A longitudinal call has the same defaults:
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
pf.fit_lta(data, indicators=["u1", "u2", "y"], id="id", wave="wave",
|
|
41
|
+
n_states=3, family={"u1": "bernoulli", "u2": "nominal", "y": "gaussian"},
|
|
42
|
+
covariance="VVV")
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
A cross-section is `fit_lpa` or `fit_lca`, or `data.pyfylr.fit_lpa(...)`.
|
|
46
|
+
|
|
47
|
+
The same core is available as a scikit-learn-style estimator. scikit-learn itself is optional.
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
model = pf.LatentProfileModel(n_states=2, covariance="VVV", n_starts=40, random_state=1)
|
|
51
|
+
model.fit(frame[["y1", "y2"]])
|
|
52
|
+
model.predict(frame[["y1", "y2"]]) # modal state, 0-based
|
|
53
|
+
model.score(frame[["y1", "y2"]]) # mean log-likelihood, not a way to choose n_states
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`LatentTransitionModel.predict` uses the smoothed modal state. `filter`, `smooth`, and `viterbi` are separate. `fit_result_` is the same object `fit_lpa` returns. `random_state=None` is seed 0. Do not pass `score` to `GridSearchCV` to select `n_states`.
|
|
57
|
+
|
|
58
|
+
Indicators, covariates, and distal outcomes are different roles. Release 1 estimates indicators only. A non-empty covariate specification is an error. Distal outcomes are Release 3 and require a declared timing (`initial`, `final`, `wave`, or `transition`). Modal-assignment ANOVA and logistic regression are not provided.
|
|
59
|
+
|
|
60
|
+
Supported indicator families are Gaussian, Bernoulli, and nominal. One Gaussian block may be combined with categorical indicators. The emission is the product of the block density and the categorical probabilities, so the blocks are conditionally independent given the state. Ordinal indicators are Release 2. Poisson and negative binomial indicators come after that.
|
|
61
|
+
|
|
62
|
+
The fit records `engine="cpp-em"`, an empty draws slot, `interval_type="none"`, and separates plug-in state posteriors from parameter uncertainty. No standard errors are reported in this release.
|
|
63
|
+
|
|
64
|
+
`save_model` stores an analyst selection or a comparison table. Saving a fitted model, including parameters and a way to score new rows from that file, is deferred. `predict` and `predict_proba` on the scikit-learn estimators score new rows from a model that is still in memory. The R package does not have that new-data prediction method in this release.
|
|
65
|
+
|
|
66
|
+
Repository: <https://github.com/davidscassell/pyfylr>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Releasing pyfylr
|
|
2
|
+
|
|
3
|
+
Wheels and the sdist are built by `.github/workflows/release-pypi.yml`.
|
|
4
|
+
The workflow runs when a GitHub release is published, and when someone
|
|
5
|
+
starts it by hand. A push does not run it. Publishing uses PyPI Trusted
|
|
6
|
+
Publishing. The workflow has no API token and no password.
|
|
7
|
+
|
|
8
|
+
## Pending publisher on PyPI
|
|
9
|
+
|
|
10
|
+
Register the pending publisher before the project exists. The first
|
|
11
|
+
successful publish creates the project. The pending publisher is already
|
|
12
|
+
being registered. Its values are:
|
|
13
|
+
|
|
14
|
+
- PyPI project name: `pyfylr`
|
|
15
|
+
- Owner: `davidscassell`
|
|
16
|
+
- Repository name: `pyfylr`
|
|
17
|
+
- Workflow name: `release-pypi.yml`
|
|
18
|
+
- Environment name: `pypi`
|
|
19
|
+
|
|
20
|
+
The GitHub environment on `davidscassell/pyfylr` must also be named `pypi`.
|
|
21
|
+
|
|
22
|
+
The wheel matrix is CPython 3.11, 3.12, and 3.13 on Linux x86_64,
|
|
23
|
+
macOS x86_64, macOS arm64, and Windows. PyPy and musllinux wheels are
|
|
24
|
+
not built.
|
|
25
|
+
|
|
26
|
+
## TestPyPI
|
|
27
|
+
|
|
28
|
+
The same workflow can upload to TestPyPI when it is started by hand and
|
|
29
|
+
the `testpypi` input is true. A release does not upload there. The
|
|
30
|
+
TestPyPI pending publisher uses the same owner, repository, and workflow
|
|
31
|
+
filename, with environment name `testpypi`.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
Third-party notices for pyfylr
|
|
2
|
+
|
|
3
|
+
pyfylr itself is Copyright (c) 2026 David S. Cassell and is MIT licensed.
|
|
4
|
+
See LICENSE.
|
|
5
|
+
|
|
6
|
+
Eigen 3.4.0
|
|
7
|
+
-----------
|
|
8
|
+
The _core extension compiles Eigen 3.4.0 headers. Eigen's COPYING.README says
|
|
9
|
+
Eigen is primarily MPL-2.0 and that some files contain third-party code under
|
|
10
|
+
BSD or LGPL licenses. This wheel reproduces the Eigen 3.4.0 texts. They are
|
|
11
|
+
members of *.dist-info/licenses/, at:
|
|
12
|
+
|
|
13
|
+
- _staged_core/vendor/Eigen/COPYING.MPL2
|
|
14
|
+
- _staged_core/vendor/Eigen/COPYING.BSD
|
|
15
|
+
- _staged_core/vendor/Eigen/COPYING.APACHE
|
|
16
|
+
- _staged_core/vendor/Eigen/COPYING.LGPL
|
|
17
|
+
- _staged_core/vendor/Eigen/COPYING.README
|
|
18
|
+
|
|
19
|
+
The same bytes are in the source distribution at _staged_core/vendor/Eigen/.
|
|
20
|
+
|
|
21
|
+
Source availability for the executable form (MPL 2.0 section 3.2): the Source
|
|
22
|
+
Code Form of the Eigen files compiled into this wheel is that
|
|
23
|
+
_staged_core/vendor/Eigen tree in the pyfylr source distribution of the same
|
|
24
|
+
version. Those files were taken from the Eigen 3.4.0 release. A recipient of
|
|
25
|
+
this wheel can obtain that source from the matching pyfylr source
|
|
26
|
+
distribution, or from the upstream Eigen 3.4.0 archive:
|
|
27
|
+
|
|
28
|
+
https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2
|
|
29
|
+
|
|
30
|
+
The tag page is https://gitlab.com/libeigen/eigen/-/tags/3.4.0.
|
|
31
|
+
|
|
32
|
+
Parts that are not MPL-2.0 alone:
|
|
33
|
+
|
|
34
|
+
- Intel Corporation, 2011, BSD-3-Clause, on the MKL/LAPACKE binding headers.
|
|
35
|
+
The text is COPYING.BSD.
|
|
36
|
+
- Willow Garage, Inc. (2011-2014) and Open Source Robotics Foundation
|
|
37
|
+
(2014-2015), BSD-3-Clause, on AlignedBox::transform.
|
|
38
|
+
- TensorFlow Authors, 2017, Apache-2.0, on BFloat16.h. The Apache-2.0 text
|
|
39
|
+
is COPYING.APACHE.
|
|
40
|
+
- Intel Corporation, 2001, permissive notice on the 4x4 inverse in
|
|
41
|
+
InverseSize4.h. The header keeps that notice.
|
|
42
|
+
- IncompleteLUT.h is MPL-2.0. Its header says the implementation is derived
|
|
43
|
+
from the LGPL SPARSKIT ILUT and that Yousef Saad permitted relicensing that
|
|
44
|
+
implementation to MPL2 (Eigen mailing list, 8 July 2012). COPYING.LGPL is
|
|
45
|
+
the upstream LGPL 2.1 text, retained unchanged because COPYING.README names
|
|
46
|
+
it. It is not a claim that IncompleteLUT.h remains LGPL.
|
|
47
|
+
|
|
48
|
+
Four Eigen headers have no license header of their own:
|
|
49
|
+
src/Core/arch/HIP/hcc/math_constants.h, src/misc/blas.h, src/misc/lapack.h,
|
|
50
|
+
and src/misc/lapacke_mangling.h. They are shipped as part of Eigen 3.4.0 and
|
|
51
|
+
are covered by the COPYING files above.
|
|
52
|
+
|
|
53
|
+
pybind11
|
|
54
|
+
--------
|
|
55
|
+
Binary wheels compile pybind11 headers into the _core extension. pybind11 is
|
|
56
|
+
not vendored as source. It is BSD-3-Clause. The pybind11 2.13.6 LICENSE reads:
|
|
57
|
+
|
|
58
|
+
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>, All rights reserved.
|
|
59
|
+
|
|
60
|
+
Redistribution and use in source and binary forms, with or without
|
|
61
|
+
modification, are permitted provided that the following conditions are met:
|
|
62
|
+
|
|
63
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
64
|
+
list of conditions and the following disclaimer.
|
|
65
|
+
|
|
66
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
67
|
+
this list of conditions and the following disclaimer in the documentation
|
|
68
|
+
and/or other materials provided with the distribution.
|
|
69
|
+
|
|
70
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
71
|
+
may be used to endorse or promote products derived from this software
|
|
72
|
+
without specific prior written permission.
|
|
73
|
+
|
|
74
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
75
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
76
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
77
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
78
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
79
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
80
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
81
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
82
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
83
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|