- 博客(372)
- 资源 (73)
- 收藏
- 关注
原创 scikit实现机器学习常用模型
1.线性模型import matplotlib.pyplot as pltimport numpy as npfrom sklearn import linear_modelx = np.linspace(-3,3,30);y = 2 * x + 1plt.scatter(x,y)plt.show()X = x + np.random.rand(30)print("X",len(X))print("Y",len(y))plt.scatter(X,y)# plt.show().
2020-08-09 13:29:00 239
原创 我心中控制科学与工程中的最美公式
前言前些年网络上流行了物理学最美妙的十大公式,感觉很有意思,看到美好的事物是一件赏心悦目的事情。本人学习控制科学与工程已经十年了,虽然不能说登堂入室,总归有一些心得。突然也想总结一下我心中控制科学与工程中最美的公式,本人才学和学科见识有限,欢迎探讨不同观点。No.1 pid控制pid控制是自动化专业的看家本领,百分之九十以上的工业控制都是pid控制算法,这个说法一点也不假,无须多言,必须是排名第一的公式。 No.2...
2020-08-09 11:13:20 1980 3
原创 结合Kalman滤波的RBF神经网络PID控制
图1是结合卡尔曼滤波的RBF神经网络自整定PID控制系统结构,这是一个自适应控制系统,相对于传统的RBF神经网络自整定PID控制,它可以有效提高控制系统的鲁棒性和精确度。Kalman滤波器对控制过程中存在的状态噪声和观测噪声进行处理,滤波后还原出系统本来输出,经过闭环计算系统误差并传递给RBF网络。RBF神经网络一边进行系统辨识,一边对PID参数自适应调节,然后不断循环,直到系统输出很好的跟随参考输入。 图1 结合卡...
2020-08-02 23:26:41 3505 16
转载 手势识别综述论文
Computing the number of swaps in insertion sortInsertion sort is a simple sorting algorithm that builds the final sorted array one item at a time. It is much less efficient on large lists than more advanced algorithms such as“Quick Sort”,“Heap Sort”, o..
2023-05-31 18:00:09 876
原创 sed用法详解
sed在处理文本时是逐行读取文件内容,读到匹配的行就根据指令做操作,不匹配就跳过。sed是Linux下一款功能强大的非交互流式文本编辑器,可以对文本文件进行增、删、改、查等操作,支持按行、按字段、按正则匹配文本内容,灵活方便,特别适合于大文件的编辑。本文主要介绍sed的一些基本用法,并通过shell脚本演示sed的使用实例。1.sed的使用方法,调用sed 命令的语法有两种:一.在命令行指定sed指令对文本进行处理:sed +选项‘指令’ 文件二.先将sed指令保存到文件中,将该文件作为..
2023-05-31 17:55:17 3610 1
转载 阻抗控制概述
阻抗控制是一种基于力的控制方法,它可以使机器人在与环境交互时具有更好的适应性和灵活性。本文将介绍阻抗控制的基本原理、应用领域和未来发展方向。
2023-05-31 15:03:02 1795 1
转载 机器人控制技术的研究与应用 --chatgpt
随着科技的不断发展,机器人已经成为了人们生活中不可或缺的一部分。机器人控制技术是机器人能够完成各种任务的关键。本文将介绍机器人控制技术的研究现状和应用情况,以及未来的发展方向。
2023-05-31 14:53:13 147
原创 自学网站地址
sklearn 随机梯度下降(sgd) @狐狸教程:~#在这里,我们将学习Sklearn中的优化算法,称为随机梯度下降(SGD)。随机梯度下降法(SGD)是一种简单而有效的优化算法,用于查找使成本函数最小化的函数参数/系数值。换句话说,它用于凸损失函数(例如SVM和Logistic回归)下的线性分类器的判别学习。它已成功应用于大型数据集,因为是针对每个训练实例(而不是在实例结束时)执行系数更新。随机梯度下降(SGD)分类器基本上实现了简单的SGD学习例https://www.freeaihub.com/sk
2022-05-18 17:30:30 79
转载 java servlet例子
package com.csdn;import javax.servlet.*;import javax.servlet.annotation.WebServlet;import java.io.IOException;@WebServlet(name = "HelloServlet",urlPatterns = "/b")public class HelloServlet implements Servlet { public void init(ServletConfig conf.
2022-04-29 11:06:22 227
转载 html+javascript 俄罗斯方块
<!DOCTYPE html><html><head> <meta name="author" content="Yeeku.H.Lee(CrazyIt.org)" /> <meta http-equiv="Content-Type" content="text/html; charset=GBK" /> <title> 疯狂俄罗斯方块 </title> <script type="text/javasc.
2022-04-25 11:40:22 384
转载 java简单手绘程序
package CrazyJava;import java.awt.*;import java.awt.image.*;import java.awt.event.*;import javax.swing.*;/** * Description: * 网站: <a href="http://www.crazyit.org">疯狂Java联盟</a><br> * Copyright (C), 2001-2018, Yeeku.H.Lee<br>.
2022-04-18 15:41:34 211
转载 java pinBall
package CrazyJava;import java.util.Random;import java.awt.*;import javax.swing.*;import java.awt.event.*;public class PinBall{ // 桌面的宽度 private final int TABLE_WIDTH = 300; // 桌面的高度 private final int TABLE_HEIGHT = 400; // 球拍的.
2022-04-18 10:04:41 95
转载 java 五子棋AI
package wuziqAI;//import jdk.nashorn.internal.scripts.JO;import javax.imageio.ImageIO;import javax.swing.*;import java.awt.*;import java.awt.event.MouseEvent;import java.awt.event.MouseListener;import java.awt.image.BufferedImage;import java.io.Fi.
2022-04-14 10:53:39 253
转载 java贪吃蛇
package tanchishe;import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.util.Random;public class Snake extends JFrame implements KeyListener, ActionListener, MouseListener { int slong = 2;//蛇当前长度 //蛇坐标 int[] Snakex .
2022-04-14 09:50:48 105
转载 java象棋打谱系统
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package 中国象棋打谱系统;/** * * @author Administrator */import javax.swing.*;import java.awt.*;import java.awt.event.*;public class ChessPiece extends .
2022-04-08 11:03:44 280
转载 java局域网广播系统
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package client;/** * * @author Administrator */import java.net.*;import java.awt.*; import java.awt.event.*;public class Receive extends Frame i.
2022-04-07 16:49:17 478
转载 java汉诺塔演示
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package hannoi;/** * * @author Administrator */import java.io.*;import java.awt.*;public class Disk extends Button{ int number; boolean 上.
2022-04-07 15:24:38 158
转载 java魔板游戏
//// Source code recreated from a .class file by IntelliJ IDEA// (powered by FernFlower decompiler)//package 魔板游戏;import java.awt.Container;import javax.swing.JButton;public class SquarePoint { int x; int y; boolean 有方块; JButton .
2022-04-07 11:15:44 474 1
转载 java日历记事本
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package 日历记事本;/** * * @author Administrator */import javax.swing.*;import java.awt.*;import java.awt.event.*;public class Year extends Box imple.
2022-04-07 10:03:17 2463 2
转载 java学生管理系统
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package 学籍管理系统;/** * * @author Administrator */public class Student implements java.io.Serializable{ String number,name,discipling,grade,borth,s.
2022-04-06 15:22:49 161
转载 java计算器
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package computerpad;/** * * @author Administrator */import java.awt.*;import java.awt.event.*;import javax.swing.*;public class NumberButton exten..
2022-04-06 11:15:31 134
转载 斐波那契数列求解
int fib(int N) {if (N == 1 || N == 2) return 1;return fib(N - 1) + fib(N - 2);}暴力递归求解,时间复杂度O(2^n)int fib(int N) {if (N < 1) return 0; // 备忘录全初始化为 0 vector<int> memo(N + 1, 0); // 初始化最简情况 return helper(memo, N);}int he.
2022-01-27 10:20:34 72
转载 无监督学习python实现
1 -K-means Algorithmfrom sklearn import clusterimport pandas as pdimport numpy as npdataset = pd.DataFrame({ 'x': [11, 11, 20, 12, 16, 33, 24, 14, 45, 52, 51, 52, 55, 53, 55, 61, 62, 70, 72, 10], 'y': [39, 36, 30, 52, 53, 46, 55, 59, 12, 15,
2022-01-21 15:14:03 222
转载 python dfs和bfs
def bfs(graph, start): visited = [] queue = [start] while queue: node = queue.pop(0) if node not in visited: visited.append(node) neighbours = graph[node] for neighbour in neighbours: .
2022-01-21 10:56:00 136
转载 python线性规划
import pulpmodel = pulp.LpProblem("Profit_maximising_problem", pulp.LpMaximize)A = pulp.LpVariable('A', lowBound=0, cat='Integer')B = pulp.LpVariable('B', lowBound=0, cat='Integer')# Objective functionmodel += 5000 * A + 2500 * B, "Profit"# Constr.
2022-01-21 10:11:10 922
转载 查找算法python实现
Linear Searchdef LinearSearch(list, item): index = 0 found = False# Match the value with each data element while index < len(list) and found is False: if list[index] == item: found = True else:
2022-01-21 09:43:00 70
转载 排序算法python实现
Selection Sortdef SelectionSort(list): for fill_slot in range(len(list) - 1, 0, -1): max_index = 0 for location in range(1, fill_slot + 1): if list[location] > list[max_index]: max_index = location .
2022-01-20 11:11:02 53
转载 Eigen库基本类型使用
#include <iostream>using namespace std;#include <ctime>// Eigen 核心部分#include <Eigen/Core>// 稠密矩阵的代数运算(逆,特征值等)#include <Eigen/Dense>using namespace Eigen;#define MATRIX_SIZE 50/***************************** 本程序演示了 Eig.
2021-12-13 14:33:02 352
原创 github资源
GitHub - dragen1860/Deep-Learning-with-TensorFlow-book: 深度学习入门开源书,基于TensorFlow 2.0案例实战。Open source Deep Learning book, based on TensorFlow 2.0 framework.
2021-11-22 10:35:51 294
原创 ubuntua安装FinalShell
rm -f finalshell_install_linux.sh ;wget www.hostbuf.com/downloads/finalshell_install_linux.sh;chmod +x finalshell_install_linux.sh;./finalshell_install_linux.sh;
2021-11-12 10:44:04 1052
opencv+contrib4.5版本
2023-01-03
ros机械臂仿真,课件和代码
2022-12-20
机器学习,深度学习源代码
2022-06-08
ROS机器人编程与SLAM算法解析指南SourceCodeandBook.zip
2022-01-04
learning_communication.zip
2020-12-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人