上一页 1 ··· 591 592 593 594 595 596 597 598 599 ··· 782 下一页
摘要: .\PokeLLMon\poke_env\environment\move_category.py # 导入需要的模块 from enum import Enum, auto, unique # 定义一个枚举类 MoveCategory,表示一个移动类别 @unique class MoveCate 阅读全文
posted @ 2024-03-07 14:58 绝不原创的飞龙 阅读(38) 评论(0) 推荐(0)
摘要: .\PokeLLMon\poke_env\environment\double_battle.py # 从 logging 模块中导入 Logger 类 from logging import Logger # 从 typing 模块中导入 Any, Dict, List, Optional, Un 阅读全文
posted @ 2024-03-07 14:57 绝不原创的飞龙 阅读(33) 评论(0) 推荐(0)
摘要: .\PokeLLMon\poke_env\concurrency.py # 导入必要的模块 import asyncio import atexit import sys from logging import CRITICAL, disable from threading import Thre 阅读全文
posted @ 2024-03-07 14:52 绝不原创的飞龙 阅读(42) 评论(0) 推荐(0)
摘要: 原文:stockcharts.com/school/doku.php?id=chart_school:technical_indicators 译者:飞龙 协议:CC BY-NC-SA 4.0 相对强度指数(RSI) 目录 相对强度指数(RSI) 介绍 计算 参数 超买-超卖 背离 失败摆动 趋势识 阅读全文
posted @ 2024-03-07 13:56 绝不原创的飞龙 阅读(207) 评论(0) 推荐(0)
摘要: 原文:stockcharts.com/school/doku.php?id=chart_school:technical_indicators 译者:飞龙 协议:CC BY-NC-SA 4.0 去趋势价格振荡器(DPO) 目录 去趋势价格振荡器(DPO) 介绍 计算 位移移动平均线 DPO 衡量什么 阅读全文
posted @ 2024-03-07 13:53 绝不原创的飞龙 阅读(102) 评论(0) 推荐(0)
摘要: 原文:stockcharts.com/school/doku.php?id=chart_school:technical_indicators 译者:飞龙 协议:CC BY-NC-SA 4.0 成交量加权平均价格(VWAP) 目录 成交量加权平均价格(VWAP) 介绍 Tick 与 Minute 计 阅读全文
posted @ 2024-03-07 13:51 绝不原创的飞龙 阅读(558) 评论(0) 推荐(0)
摘要: 原文:stockcharts.com/school/doku.php?id=chart_school:technical_indicators 译者:飞龙 协议:CC BY-NC-SA 4.0 技术指标和振荡器简介 目录 技术指标和振荡器简介 介绍 什么是技术指标? 技术指标提供了什么? 为什么使用 阅读全文
posted @ 2024-03-07 13:49 绝不原创的飞龙 阅读(249) 评论(0) 推荐(0)
摘要: SelfAttention class SelfAttention(torch.nn.Module): """ 自注意力的逻辑,包含四部分: + 从输入计算 QKV, + 对 QKV 分头, + 从 QKV 计算 O(在`CoreAttention`里面), + 从 O 计算输出 """ def _ 阅读全文
posted @ 2024-03-07 00:02 绝不原创的飞龙 阅读(109) 评论(0) 推荐(0)
摘要: MLP class MLP(torch.nn.Module): """ MLP 把隐藏状态的尺寸从 HidSize 映射到 4HidSize,执行非线性激活,然后再映射回 HidSize """ def __init__(self, config: ChatGLMConfig, device=Non 阅读全文
posted @ 2024-03-04 19:07 绝不原创的飞龙 阅读(195) 评论(0) 推荐(0)
摘要: 一、线性模型 1.1 线性回归 digraph LinearRegression { rankdir=BT node [ style=filled, color=Black fontcolor=White, fillcolor="#30638e", fontname="SimHei", fontsi 阅读全文
posted @ 2024-03-04 11:41 绝不原创的飞龙 阅读(25) 评论(0) 推荐(0)
上一页 1 ··· 591 592 593 594 595 596 597 598 599 ··· 782 下一页