# noqa
# type: ignore
# flake8: noqa
# pylint: skip-file
# mypy: ignore-errors
# yapf: disable
# pylama:skip=1
# *** PLEASE DO NOT MODIFY DIRECTLY: Automatically generated code ***
VERSION = "2.16.3"
import re
from .fastjsonschema_exceptions import JsonSchemaValueException
REGEX_PATTERNS = {
'^.*$': re.compile('^.*$'),
'.+': re.compile('.+'),
'^.+$': re.compile('^.+$'),
'idn-email_re_pattern': re.compile('^[^@]+@[^@]+\\.[^@]+\\Z')
}
NoneType = type(None)
def validate(data, custom_formats={}, name_prefix=None):
validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats, (name_prefix or "data") + "")
return data
def validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats={}, name_prefix=None):
if not isinstance(data, (dict)):
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-project-metadata/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}
没有合适的资源?快使用搜索试试~ 我知道了~
基于向量的表示方法TF-IDF和卷积神经网络(CNN)
共818个文件
py:740个
exe:24个
txt:10个
需积分: 3 0 下载量 170 浏览量
2024-05-07
16:01:23
上传
评论
收藏 4.21MB ZIP 举报
温馨提示
1.基于向量的表示方法:这种方法将项目的内容转化为向量形式,通过计算向量之间的相似度来找出与用户兴趣相似的项目。例如,可以利用TF-IDF或Word2Vec等技术将文本内容转化为向量,然后计算用户历史喜好向量与新项目向量之间的相似度,从而为用户推荐相似度高的项目。 2.深度学习技术:深度学习技术可以实现对项目内容的深度理解和分析。例如,可以利用卷积神经网络(CNN)或循环神经网络(RNN)处理图像或文本内容,提取出更高层次的特征表示。然后,可以根据这些特征表示为用户推荐新项目。
资源推荐
资源详情
资源评论
收起资源包目录
基于向量的表示方法TF-IDF和卷积神经网络(CNN) (818个子文件)
activate 2KB
activate.bat 1KB
deactivate.bat 537B
pydoc.bat 24B
pyvenv.cfg 442B
python.exe 257KB
pythonw.exe 246KB
t64-arm.exe 179KB
w64-arm.exe 165KB
pip.exe 106KB
pip3.exe 106KB
pip-3.10.exe 106KB
pip3.10.exe 106KB
wheel3.exe 106KB
wheel-3.10.exe 106KB
wheel.exe 106KB
wheel3.10.exe 106KB
t64.exe 106KB
w64.exe 100KB
t32.exe 96KB
w32.exe 90KB
gui-64.exe 14KB
cli-64.exe 14KB
cli-arm64.exe 14KB
gui-arm64.exe 14KB
cli.exe 12KB
cli-32.exe 12KB
gui-32.exe 12KB
gui.exe 12KB
activate.fish 3KB
.gitignore 190B
.gitignore 42B
pythonProject.iml 396B
INSTALLER 5B
INSTALLER 5B
INSTALLER 5B
LICENSE 1023B
METADATA 6KB
METADATA 4KB
METADATA 2KB
activate.nu 3KB
cacert.pem 272KB
activate.ps1 2KB
distutils-precedence.pth 151B
_virtualenv.pth 18B
fastjsonschema_validations.py 268KB
core.py 219KB
uts46data.py 202KB
_emoji_codes.py 137KB
more.py 132KB
langrussianmodel.py 125KB
more.py 115KB
typing_extensions.py 109KB
__init__.py 107KB
__init__.py 107KB
langbulgarianmodel.py 102KB
langthaimodel.py 100KB
langhungarianmodel.py 99KB
console.py 97KB
langgreekmodel.py 96KB
langhebrewmodel.py 96KB
langturkishmodel.py 93KB
typing_extensions.py 85KB
easy_install.py 84KB
typing_extensions.py 78KB
_mapping.py 71KB
util.py 65KB
unistring.py 62KB
progress.py 58KB
python.py 52KB
locators.py 51KB
database.py 50KB
dist.py 49KB
distro.py 48KB
ccompiler.py 48KB
msvc.py 46KB
text.py 44KB
idnadata.py 43KB
wheel.py 43KB
johabfreq.py 42KB
compat.py 40KB
__init__.py 39KB
connectionpool.py 39KB
metadata.py 39KB
table.py 39KB
specifiers.py 38KB
specifiers.py 38KB
specifiers.py 38KB
helpers.py 38KB
dist.py 38KB
package_index.py 37KB
package_finder.py 37KB
euctwfreq.py 36KB
pretty.py 35KB
html.py 35KB
models.py 34KB
syntax.py 34KB
six.py 34KB
lexer.py 34KB
six.py 34KB
共 818 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
xiaozixiaoya
- 粉丝: 14
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- mod-ldap-2.4.6-31.el7.centos.1.x86-64.rpm
- mod-ldap-2.4.6-40.el7.centos.x86-64.rpm
- ResNet50模型训练猫狗数据集
- mod-ldap-2.4.6-80.el7.centos.x86-64.rpm
- mod-ldap-2.4.6-88.el7.centos.x86-64.rpm
- mod-ldap-2.4.6-89.el7.centos.1.x86-64.rpm
- mod-ldap-2.4.6-89.el7.centos.x86-64.rpm
- mod-ldap-2.4.6-99.el7.centos.1.x86-64.rpm
- 开源代码分享(31)-计及电转气协同的含碳捕集与垃圾焚烧虚拟电厂优化调度
- meta-llama-3-8b-instruct 的 model-00002-of-00004.safetensors 的1/3
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功