python
文章平均质量分 52
SamSha1971
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
情绪识别的两个模型
【代码】情绪识别的两个模型。原创 2023-08-31 15:22:41 · 468 阅读 · 0 评论 -
Convert Python Object(From JSON) To Class Object
Convert Python Object(From JSON) To Class Object 根据官方文档:https://www.runoob.com/python/python-json.html,Python操作JSON主要是以下两个函数: json.dumps 将 Python 对象编码成 JSON 字符串 json.loads 将已编码的 JSON 字符串解码为 Python 对象 问题 假设我们有settings.json的文本文件,内容如下: { "post": { "ena原创 2021-06-04 13:31:15 · 397 阅读 · 0 评论 -
TensorFlow(2.x)对结构化数据进行分类
TensorFlow(2.x)对结构化数据进行分类 参考文档 在参考文档https://tensorflow.google.cn/tutorials/structured_data/feature_columns的基础上,增加了分类模式。 使用说明 $ python bx.py --help usage: bx.py [-h] [-t] [-c] optional arguments: -h, --help show this help message and exit -t, --t原创 2020-12-24 15:26:14 · 1680 阅读 · 0 评论 -
Python通过ctypes调用DLL
例程:Python通过ctypes调用DLL 此例程主要是用来备忘备查,记录一些常用的ctypes调用方式,包括:基本数据类型、指针、引用、数组、结构、类的书写方式。 ctypes官方资料 https://docs.python.org/3/library/ctypes.html 参考代码 C++代码 // PythonDll.cpp : Defines the exported function...原创 2019-06-14 21:12:18 · 1252 阅读 · 0 评论
分享