WELCOME TO Pluto134340小行星

清风湿润,茶烟轻扬。
摘要: 题目描述: 给你一个字符串数组,请你将字母异位词 组合在一起。可以按任意顺序返回结果列表。 示例 1: 输入: strs = ["eat", "tea", "tan", "ate", "nat", "bat"] 输出: [["bat"],["nat","tan"],["ate","eat","tea 阅读全文
posted @ 2026-01-05 21:10 Pluto134340 阅读(1) 评论(0) 推荐(0)
摘要: 1、暴力枚举 num.length 获取长度 返回数组 int[]{i,j} class Solution { public int[] twoSum(int[] nums, int target) { int n = nums.length; for(int i = 0;i<n-1;i++){ f 阅读全文
posted @ 2026-01-05 20:05 Pluto134340 阅读(4) 评论(0) 推荐(0)
摘要: 1. RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some othe 阅读全文
posted @ 2025-04-08 15:44 Pluto134340 阅读(120) 评论(0) 推荐(0)
摘要: 简单线性回归 import numpy as np from sklearn.linear_model import LinearRegression x = np.array([143, 145, 147, 149, 150, 153, 154, 155, 156, 157, 158, 159, 阅读全文
posted @ 2022-07-03 19:35 Pluto134340 阅读(270) 评论(0) 推荐(0)
摘要: 一、原理 注意 专有名词。(例如:极高相关) 二、代码 import numpy as np f = open('../file/Pearson.csv', encoding='utf-8') data = np.loadtxt(f,int,delimiter = ",", skiprows = 1 阅读全文
posted @ 2022-07-01 13:12 Pluto134340 阅读(993) 评论(0) 推荐(0)