# 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.15.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://www.python.org/dev/peps/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://www.python.org/dev/peps/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': '#/definition
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本资源提供了一个基于Bi-LSTM(双向长短期记忆网络)的亚马逊评论情感二分类模型及其可视化实现的Python源码,以及详细的项目说明。该模型旨在通过对亚马逊产品评论进行情感分析,将评论分为正面和负面两类,帮助用户快速了解产品口碑。在项目中,首先使用自然语言处理技术对评论数据进行预处理,包括分词、去除停用词等。然后,利用Bi-LSTM模型提取文本特征,并通过全连接层进行情感分类。为了提高模型性能,还采用了交叉熵损失函数和Adam优化器进行训练。此外,项目还提供了可视化工具,可以直观地展示模型的训练过程和预测结果。通过绘制损失曲线和准确率曲线,用户可以清晰地看到模型在不同迭代次数下的表现。本资源适合有一定深度学习基础的学习者使用,可以帮助他们更好地理解Bi-LSTM模型在情感分析领域的应用。同时,项目说明中详细介绍了代码结构和关键步骤,方便学习者进行二次开发和扩展。总之,这是一个非常实用的学习资源,可以帮助学习者掌握Bi-LSTM模型在情感分析方面的应用技巧。
资源推荐
资源详情
资源评论
收起资源包目录
基于Bi-LSTM的亚马逊评论情感二分类模型及可视化python源码+项目说明.zip (1507个子文件)
activate 2KB
activate.bat 953B
deactivate.bat 347B
sysconfig.cfg 3KB
pyvenv.cfg 71B
python_d.exe 691KB
pythonw_d.exe 690KB
python.exe 523KB
pythonw.exe 522KB
t64-arm.exe 177KB
w64-arm.exe 163KB
gui-arm64.exe 135KB
cli-arm64.exe 134KB
pip.exe 104KB
pip3.exe 104KB
pip3.9.exe 104KB
t64.exe 104KB
w64.exe 98KB
t32.exe 95KB
w32.exe 88KB
gui-64.exe 74KB
cli-64.exe 73KB
cli-32.exe 64KB
cli.exe 64KB
gui-32.exe 64KB
gui.exe 64KB
.gitignore 247B
emoAna.iml 392B
INSTALLER 4B
INSTALLER 4B
LICENSE 1KB
README.md 1KB
METADATA 6KB
METADATA 4KB
cacert.pem 260KB
Activate.ps1 18KB
distutils-precedence.pth 151B
fastjsonschema_validations.py 254KB
pyparsing.py 221KB
pyparsing.py 221KB
core.py 207KB
uts46data.py 200KB
_emoji_codes.py 137KB
more.py 129KB
langrussianmodel.py 128KB
more.py 115KB
html5parser.py 114KB
__init__.py 106KB
__init__.py 106KB
langbulgarianmodel.py 103KB
langthaimodel.py 101KB
langhungarianmodel.py 100KB
langgreekmodel.py 97KB
langhebrewmodel.py 96KB
langturkishmodel.py 94KB
tarfile.py 90KB
typing_extensions.py 85KB
typing_extensions.py 85KB
easy_install.py 84KB
constants.py 82KB
console.py 79KB
_tokenizer.py 75KB
_mapping.py 68KB
util.py 66KB
unistring.py 62KB
python.py 52KB
locators.py 51KB
database.py 50KB
msvc.py 49KB
dist.py 49KB
distro.py 47KB
ccompiler.py 47KB
dist.py 45KB
text.py 43KB
idnadata.py 43KB
wheel.py 42KB
compat.py 41KB
__init__.py 39KB
package_index.py 39KB
metadata.py 38KB
connectionpool.py 38KB
helpers.py 37KB
package_finder.py 36KB
table.py 36KB
progress.py 35KB
bdist_msi.py 35KB
html.py 35KB
models.py 34KB
six.py 34KB
six.py 34KB
fallback.py 34KB
securetransport.py 34KB
utils.py 33KB
pretty.py 32KB
req_install.py 32KB
_inputstream.py 32KB
lexer.py 31KB
euctwfreq.py 31KB
build_ext.py 31KB
big5freq.py 31KB
共 1507 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
葡萄籽儿
- 粉丝: 557
- 资源: 859
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Java语言的云南旅游主题设计源码
- 基于Java的ExamManageSystem软件详细设计课程设计源码
- 基于Java开发的简洁方便ORM工具BeetlSQL设计源码
- 基于Java语言的Reactor-QL:用SQL简化Reactor API实时数据处理设计源码
- 基于Java的tio-http-server演示学习源码
- 基于Java和C#的C#课程实验与Winform学习及Android实验设计源码
- 基于Java的电厂职工管理系统设计源码
- 基于Python的RSA+AES加密的SecureHTTP设计源码
- 基于Java平台的集成nsg-dao设计源码,涵盖jdbc、hibernate、mybatis框架
- 基于Vue的Java+JavaScript+CSS+HTML搭建的二手交易平台设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功