资源简介
fancyimpute, 在 python 中,实现了多元插值和矩阵完成算法 fancyimputepython 中实现的多种矩阵完成和插补算法。用法from fancyimpute import BiScaler, KNN, NuclearNormMinimization, SoftIm
代码片段和文件信息
# Licensed under the Apache License Version 2.0 (the “License“);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing software
# distributed under the License is distributed on an “AS IS“ BASIS
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
import logging
import re
from setuptools import setup
package_name = “fancyimpute“
readme_dir = os.path.dirname(__file__)
readme_filename = os.path.join(readme_dir ‘README.md‘)
try:
with open(readme_filename ‘r‘) as f:
readme_markdown = f.read()
except:
logging.warn(“Failed to load %s“ % readme_filename)
readme_markdown = ““
with open(‘%s/__init__.py‘ % package_name ‘r‘) as f:
version = re.search(
r‘^__version__\s*=\s*[\‘“]([^\‘“]*)[\‘“]‘
f.read()
re.MULTILINE).group(1)
if __name__ == ‘__main__‘:
setup(
name=package_name
version=version
description=“Matrix completion and feature imputation algorithms“
author=“Alex Rubinsteyn Sergey Feldman“
author_email=“alex.rubinsteyn@gmail.com“
url=“https://github.com/iskandr/%s“ % package_name
license=“http://www.apache.org/licenses/LICENSE-2.0.html“
classifiers=[
‘Development Status :: 4 - Beta‘
‘Environment :: Console‘
‘Operating System :: OS Independent‘
‘Intended Audience :: Science/Research‘
‘License :: OSI Approved :: Apache Software License‘
‘Programming Language :: Python‘
‘Topic :: Scientific/Engineering :: Bio-Informatics‘
]
install_requires=[
‘knnimpute‘
# need at least 1.10 for np.multi_dot
‘numpy>=1.10‘
‘scipy‘
# used by NuclearNormMinimization
‘cvxpy>=1.0.6‘
‘scikit-learn>=0.21.2‘
# used by MatrixFactorization
‘keras>=2.0.0‘
‘tensorflow‘
]
long_description=readme_markdown
long_description_content_type=‘text/markdown‘
packages=[package_name]
)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-09-28 17:32 fancyimpute-master\
文件 702 2019-09-28 17:32 fancyimpute-master\.gitignore
文件 2315 2019-09-28 17:32 fancyimpute-master\.travis.yml
文件 11358 2019-09-28 17:32 fancyimpute-master\LICENSE
文件 4416 2019-09-28 17:32 fancyimpute-master\README.md
目录 0 2019-09-28 17:32 fancyimpute-master\experiments\
文件 10454 2019-09-28 17:32 fancyimpute-master\experiments\complete_faces.py
文件 2321 2019-09-28 17:32 fancyimpute-master\experiments\readme_example.py
目录 0 2019-09-28 17:32 fancyimpute-master\fancyimpute\
文件 865 2019-09-28 17:32 fancyimpute-master\fancyimpute\__init__.py
文件 3268 2019-09-28 17:32 fancyimpute-master\fancyimpute\common.py
文件 9665 2019-09-28 17:32 fancyimpute-master\fancyimpute\dictionary_helpers.py
文件 3371 2019-09-28 17:32 fancyimpute-master\fancyimpute\iterative_svd.py
文件 3168 2019-09-28 17:32 fancyimpute-master\fancyimpute\keras_models.py
文件 3824 2019-09-28 17:32 fancyimpute-master\fancyimpute\knn.py
文件 4225 2019-09-28 17:32 fancyimpute-master\fancyimpute\matrix_factorization.py
文件 3996 2019-09-28 17:32 fancyimpute-master\fancyimpute\nuclear_norm_minimization.py
文件 14126 2019-09-28 17:32 fancyimpute-master\fancyimpute\scaler.py
文件 6704 2019-09-28 17:32 fancyimpute-master\fancyimpute\similarity_weighted_averaging.py
文件 1292 2019-09-28 17:32 fancyimpute-master\fancyimpute\simple_fill.py
文件 6530 2019-09-28 17:32 fancyimpute-master\fancyimpute\soft_impute.py
文件 7938 2019-09-28 17:32 fancyimpute-master\fancyimpute\solver.py
文件 75 2019-09-28 17:32 fancyimpute-master\requirements.txt
文件 2383 2019-09-28 17:32 fancyimpute-master\setup.py
目录 0 2019-09-28 17:32 fancyimpute-master\test\
文件 863 2019-09-28 17:32 fancyimpute-master\test\common.py
文件 843 2019-09-28 17:32 fancyimpute-master\test\low_rank_data.py
文件 2618 2019-09-28 17:32 fancyimpute-master\test\test_dictionary_helpers.py
文件 537 2019-09-28 17:32 fancyimpute-master\test\test_iterative_svd.py
文件 1035 2019-09-28 17:32 fancyimpute-master\test\test_knn.py
文件 662 2019-09-28 17:32 fancyimpute-master\test\test_matrix_factorization.py
............此处省略4个文件信息
评论
共有 条评论