二维二分法获取函数最大时的,两个参数值

def get_best_param_2d(x_min, x_max, y_min, y_max, fun, epsilon=1e-6): """ 使用二维二分法在区间 [x_min, x_max] 和 [y_min, y_max] 内找到使目标函数 fun 最大的参数值 (x, y

iohannes iohannes Published on 2025-04-11

二分法获取函数最大值参数

def get_best_param(min_val, max_val, fun, epsilon=1e-6): """ 使用二分法在区间 [min_val, max_val] 内找到使目标函数 fun 最大的参数值。 参数: min_val: 搜索

iohannes iohannes Published on 2025-04-11

常见数据挖掘算法

1. DBSCAN聚类 原理:DBSCAN是一种基于密度的聚类算法,其核心思想是通过密度来划分簇。算法使用两个参数:ε(邻域半径)和MinPts(邻

iohannes iohannes Published on 2025-04-11

http常见状态码

HTTP(超文本传输协议)状态码是用于表示客户端与服务器之间请求和响应状态的数字代码。以下是主要的HTTP状态码及其含义:

iohannes iohannes Published on 2025-04-01

模型预测准确度

预测准确度 95 - 100%:非常好。历史数据具有很明显的趋势或季节性模式。 90 - 94.9%:好。历史数据具有缓和的趋势或季节性模式。 &#

iohannes iohannes Published on 2025-03-18

three.js普通地面视角

import * as THREE from 'three'; import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; //scene let scene = new THREE.Scene(); //gri

iohannes iohannes Published on 2025-03-18

three.js常见贴图

import * as THREE from 'three'; import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; //scene let scene = new THREE.Scene(); //lig

iohannes iohannes Published on 2025-03-18

ros联机

获取主从机的ip地址 ifconfig 主机: 172.17.0.4 从机x:172.17.0.3 主机配置 export ROS_MASTER_URI=http://172.17.0.4:11311 export ROS_

iohannes iohannes Published on 2025-03-18

ros编译运行步骤

1、创建工作区间 mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_ws,名字不一定要一模一样,只是大家约定俗成用这个

iohannes iohannes Published on 2025-03-18

run llama-7b model

download llama.cpp git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp make download model mkdir models/7B cd models/7B wget https://hu

iohannes iohannes Published on 2025-03-18
Previous Next