自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 问答 (2)
  • 收藏
  • 关注

原创 WEB-INF访问jsp

*WEB-INF访问jsp * webinf下面的文件处于保护状态,通过地址是不能直接通过地址栏访问的 百度了一下,有4种方法 第一 通过web.xml中配置servlet<servlet> <servlet-name>name</servlet-name> &lt...

2019-07-14 00:53:30 288

翻译 scikit-learn_LinearModel_02_峰回归和峰归类

Ridge regression and classification峰回归和峰归类regression峰回归Ridge regression addresses some of the problems of Ordinary Least Squares by imposing a penalty on the size of the coefficients. The ridge coefficients minimize a penalized residual sum of squares:

2020-09-02 19:14:10 1960

翻译 scikit-learn_LinearModel_01_经典最小二乘

1 Ordinary Least Squares1 最小二乘法LinearRegression fits a linear model with coefficients w=(w1,…,wp) to minimize the residual sum of squares between the observed targets in the dataset, and the targets predicted by the linear approximation. Mathematically

2020-09-02 18:36:38 206

翻译 scikit-learn_LinearModel_00_前言

LinearModel线性模型The following are a set of methods intended for regression in which the target value is expected to be a linear combination of the features. In mathematical notation, if y^ is the predicted value.以下公式是为了得到线性组合的特点(参数)进行的线性回归,在数学符号中,假设y^是代表

2020-09-02 17:51:36 111

翻译 react学习_基础2

react事件处理react事件属性绑定属性命名采用驼峰如果采用 JSX 的语法你需要传入一个函数作为事件处理函数,而不是一个字符串(DOM 元素的写法)实例class Toggle extends React.Component { constructor(props) { super(props); this.state = {isToggleOn: true};...

2020-04-15 08:25:32 116

翻译 React学习

state和propsReact 把组件看成是一个状态机(State Machines)。通过与用户的交互,实现不同状态,然后渲染 UI,让用户界面和数据保持一致。React 里,只需更新组件的 state,然后根据新的 state 重新渲染用户界面(不要操作 DOM)。以下实例创建一个名称扩展为 React.Component 的 ES6 类,在 render() 方法中使用 this.s...

2020-04-14 16:59:21 74

原创 实用基于shrio的权限关系管理入门!附源码

话不多直接上代码,简单的shrio的权限管理,需要两个部分就好了,shrioConfig(配置)和Realm里面的认证逻辑和授权逻辑首先讲一下Realm首先是认证逻辑的overwrite,假设下列代码的password和username是根据登陆信息在数据库查找出来的结果。用户名是自己认证,密码的对比直接return new SimpleAuthenticationInfo("",passwo...

2020-03-06 20:46:13 106

原创 jsp分页技术

很多初学jsp的小伙伴们,都为数据库的信息如何在jsp上面如何显着急,一次性显示数据过于庞大,不美观,无法突出程序员的设计感,揭晓来,小编就为各位介绍一种分页查询的实现方法。第一步建立数据存放的界面st为servlet返回的结果<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="...

2019-07-15 11:14:09 250

原创 javaweb简单登录验证功能

打开esplise,新建DynamicWeb项目在src目录下建立Model的package在package中建立User类首先创建User类package Model;public class User { private int id; private String username; @Override public String toString() { retur...

2019-07-15 07:07:11 1539

权限管理shrio的入门级教程

demo是一个很简单的程序,代码量非常少,弄几下,因该就明白了,里面都有注释可以取消授权,然后跳转失误,从而验证shrio的权限管理

2020-03-06

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除