当前位置: 首页 > news >正文

Machine Learning(study notes)

There is no studying without going crazy

Studying alwats drives us crazy

文章目录

  • Define
    • Machine Learning
    • Supervised Learning(监督学习)
      • Regression problem
      • Classidication
    • Unspervised Learning
      • Clustering
  • Study
    • Model representation(模型概述)
      • const function
      • How to use and t
      • solve problem
    • gradient descent

Define

Machine Learning

A computer program is said to learn from experience E with respect to some task T and some performance measure P , if its performance on T, as measued

计算机程序从经验E中学习,解决某一任务T进行某一性能度量P,通过P测定在T上的表现因经验E而提高
realy rhyme

Supervised Learning(监督学习)

right answers given

Regression problem

tring to predict continuios valued ouput

需要预测连续的数值输出

in that problem , you should give its some right valued with different classic and machine learning will learn to predict it

在这里插入图片描述

Classidication

discrete valued output (zero or one)

离散取值输出

in that problem, you should give some valued . Different with regression , maybe the type of data
在这里插入图片描述

Unspervised Learning

Clustering

maybe using clustring algorithm to break that data into two separate clusters

使用聚类算法将数据分为两簇

do not know what data mean and data features and so on(just about data information),and you know ,machine learning should classification those data into different clusters

the classic problem of that maybe Cocktail party problem algorithm

经典问题就是鸡尾酒派对算法,就是有背景音乐以及人声,能分理分离出两者的声音

Study

Model representation(模型概述)

using this example
在这里插入图片描述

And we will give some training set
在这里插入图片描述
As you can see , we put
m as number of training examples,
x’s as “input” variable / features ,
y’s as “output” variable / “target” variable ,
(x,y) as one training example ,
(x(i),y(i)) refer to the ith training example.(this superscript i over here , this is not exponentiation.The superscript i in parenthess that’s just an index into my training set)

在这里插入图片描述
We saw that with the training set like our training set of housing prices and we feed that to our learning algorithm.Is the job of a learning algorithm to then output a function which by convention is usually denoted lowercase h

const function

在这里插入图片描述
In this chart , we want the difference between h(x) and y to be small .And one thing I’m gonna do is try to minimize the square difference between the output of the hypothesis and the actual price of the house.

在这里插入图片描述
What we want to do is minimize over theta zero and theta one my function J of theta zero comma theta one

error cost function is probably the most commonly used one for regeression problem

How to use and t

solve problem

gradient descent

It turns out gradient descent is a more general algorithm, and is used not only in linear regression. It’s actually used all over the place in machine learning.

在这里插入图片描述
Here is the problem setup.
We are going to see that we have some function J of (θ01). Maybe it is a cost function from linear regression.And we want to come up with an algorithm for minimizing that as a function of J of (θ01).

For the sake of brevity , for the sake of your succinctness of notation , so we just goingn to pretend that have only two parameters through the rest of this video.


The idea for gradient descent :

What we’re going to do is we are going to strat off with some initial guesses for θ0 and θ1.
What we are going to do in gradient descent is we’ll keep changing θ0 and θ1 a little bit to try to reduce J of (θ01)

相关文章:

Machine Learning(study notes)

There is no studying without going crazy Studying alwats drives us crazy 文章目录 DefineMachine LearningSupervised Learning(监督学习)Regression problemClassidication Unspervised LearningClustering StudyModel representation&#xff08…...

centos7通过docker搭建nginx+php环境

以下环境都是基于centos7.9完成。 1.安装docker yum install docker-ce 说明:这一步,由于centos软件仓库没有收纳docker,需要自己去官网爬文档安装。 安装完成之后,就是启动docker服务以及添加到开机启动。 systemctl enable do…...

Node.js 学习笔记

小插件Template String Converter 当输入${}时,自动为其加上 反引号 一、node入门 node.js是什么 node的作用 开发服务器应用 开发工具类应用 开发桌面端应用 1.命令行工具 命令的结构 常用命令 切换到D盘——D: 查看D盘目录——dir 切换工作目录——c…...

RabbitMQ之发布确认高级

RabbitMQ之发布确认高级 一、发布确认 SpringBoot 版本1.1 确认机制方案1.2 代码架构图1.3 配置文件1.4 添加配置类1.5 消息生产者1.6 回调接口1.7 消息消费者1.8 结果分析 二、回退消息2.1 Mandatory 参数2.2 消息生产者代码2.3 回调接口2.4 结果分析 三、备份交换机3.1 代码架…...

lv5 嵌入式开发-10 信号机制(下)

目录 1 信号集、信号的阻塞 2 信号集操作函数 2.1 自定义信号集 2.2 清空信号集 2.3 全部置1 2.4 将一个信号添加到集合中 2.5 将一个信号从集合中移除 2.6 判断一个信号是否在集合中 2.7 设定对信号集内的信号的处理方式(阻塞或不阻塞) 2.8 使进程挂起(…...

【postgresql】 ERROR: multiple assignments to same column “XXX“

Cause: org.postgresql.util.PSQLException: ERROR: multiple assignments to same column "XXX"; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: multiple assignments to same column "XXX"; 原因:or…...

一文读懂Llama 2(从原理到实战)

简介 Llama 2,是Meta AI正式发布的最新一代开源大模型。 Llama 2训练所用的token翻了一倍至2万亿,同时对于使用大模型最重要的上下文长度限制,Llama 2也翻了一倍。Llama 2包含了70亿、130亿和700亿参数的模型。Meta宣布将与微软Azure进行合…...

完整指南:如何使用 Node.js 复制文件

文件拷贝指的是将一个文件的数据复制到另一个文件中,使目标文件与源文件内容一致。Node.js 提供了文件系统模块 fs,通过该模块可以访问文件系统,实现文件操作,包括拷贝文件。 Node.js 中文件拷贝方法 在 Node.js 中,有…...

ElementUI - 主页面--动态树右侧内容管理

一.左侧动态树 1.定义组件 ①样式&数据处理 <template><el-menu class"el-menu-vertical-demo" background-color"#334157"text-color"#fff" active-text-color"#ffd04b" :collapse"collapsed" router :def…...

全国排名前三的直播公司无锋科技入驻天府蜂巢成都直播产业基地

最近&#xff0c;全国排名前三的直播公司——无锋科技&#xff0c;正式宣布入驻位于成都的天府蜂巢直播产业基地&#xff0c;这一消息引起了业内人士的高度关注。成都直播产业基地一直是中国直播产业的重要地标之一&#xff0c;其强大的技术和资源优势为众多直播公司提供了广阔…...

机器人中的数值优化|【五】BFGS算法非凸/非光滑处理

机器人中的数值优化|【五】BFGS算法的非凸/非光滑处理 往期内容回顾 机器人中的数值优化|【一】数值优化基础 机器人中的数值优化|【二】最速下降法&#xff0c;可行牛顿法的python实现&#xff0c;以Rosenbrock function为例 机器人中的数值优化|【三】无约束优化&#xff0…...

ESP32S3的MPU-6050组件移植教程

前言 &#xff08;1&#xff09;实习公司要搞ESP32BOX的驱动移植&#xff0c;所有资料自己找还是比较折磨人的现在我分享几个官方的组件移植资料&#xff1a; <1>Find the most exciting ESP-IDF components&#xff08;ESP32的官方组件都可以在里面查&#xff0c;按照他…...

excel筛选后求和

需要对excel先筛选&#xff0c;后对“完成数量”进行求和。初始表格如下&#xff1a; 一、选中表内任意单元格&#xff0c;按ctrlshiftL&#xff0c;开启筛选 二、根据“部门”筛选&#xff0c;比如选择“一班” 筛选完毕后&#xff0c;选中上图单元格&#xff0c;然后按alt后&…...

pyspark 检测任务输出目录是否空,避免读取报错

前言 在跑调度任务时候&#xff0c;有时候子任务需要依赖前置任务的输出&#xff0c;但类似读取 Parquet 或者 Orc 文件时&#xff0c;如果不判断目录是否为空&#xff0c;在输出为空时会报错&#xff0c;所以需要 check 一下&#xff0c;此外Hadoop通常在写入数据时会在目录中…...

「网页开发|前端开发|Vue」10 vuex模块化:将数据划分成不同modules分别管理

本文主要介绍如何使用vuex的modules将状态数据根据不同模块进行划分并分别管理以及如何使用mapGetters快速将状态管理中的数据导入成local变量。 文章目录 本系列前文传送门一、场景说明二、使用modules划分不同模块三、使用Getters获取状态管理数据Getter传参mapGetters 辅助…...

苹果CMS插件-苹果CMS全套插件免费

网站内容的生成和管理对于网站所有者和内容创作者来说是一个挑战。有一些强大的工具可以帮助您轻松地解决这些问题。苹果CMS插件自动采集插件、采集发布插件以及采集伪原创发布插件&#xff0c;是这些工具之一。它们不仅可以极大地节省您的时间和精力&#xff0c;还可以提高您网…...

域环境介绍

一、概述 内网也指局域网&#xff0c;指的是某个区域由多台计算机互连而成的计算机组&#xff0c;范围通常在数千米以内&#xff0c;在局域网中&#xff0c;可以实现文件管理&#xff0c;应用软件共享&#xff0c;打印机共享、工作组内的日程安排、电子邮件和传真通信服务等&a…...

地球同步静止轨道上的中国卫星

3万6千公里地球同步静止轨道上的中国控制的卫星&#xff08;包括香港属非国产平台卫星、外国属中国平台卫星&#xff09;&#xff0c;共80颗&#xff1b;截止到2023年8月3日&#xff0c;共有563颗在轨卫星。 号定位名称发射时间用途重量1141.1W中星1C(FH2C)2015.12.10DFH4平台…...

HAProxy代理TCP(使用HAProxy 为TiDB-Server 做负载均衡)

目录 一、使用HAProxy 为TiDB-Server 做负载均衡环境1、创建文件夹2、配置haproxy.cfg3、创建 docker-compose.yaml 文件haproxy.cfg 配置说明[参照官方文档](https://pingcap.com/docs-cn/v3.0/reference/best-practices/haproxy/ "参照官方文档") 一、使用HAProxy …...

全新自适应导航网模板 导航网系统源码 网址导航系统源码 网址目录网系统源码

高价值目录网导航网整站源码 | 2999元价值,最新版本源码下载推荐 1、导航网一键获取目标站SEO信息,7.5版本增加会员中心一键获取网站信息网站权重,增加小程序提交发布,全新自适应模板; 2、可设置游客提交、游客提交人工审核,会员免审提交,会员提交人工审核,VIP会员免…...

告别硬件依赖:用Proteus玩转STM32F1,从CubeMX生成代码到仿真调试的避坑实践

零硬件玩转STM32F103&#xff1a;Proteus仿真全流程与LL库高效开发指南 从真实硬件到虚拟仿真的思维转换 嵌入式开发者的传统认知里&#xff0c;调试灯闪烁必须连接实物开发板——直到他们遇到Proteus。这款电路仿真软件让STM32F103系列芯片在虚拟环境中完美运行&#xff0c;配…...

客户要求改iServer访问路径?别慌,手把手教你修改Tomcat配置+Nginx代理(附避坑点)

深度解析iServer访问路径修改&#xff1a;从Tomcat配置到Nginx代理的全链路实践 当客户提出"需要将iServer访问地址调整为特定路径格式"的需求时&#xff0c;许多运维工程师的第一反应可能是简单修改Nginx配置。但实际操作中会发现&#xff0c;仅靠代理层调整会导致…...

AI驱动的计划驱动开发:Gemini Plan Commands深度解析与实践指南

1. 项目概述&#xff1a;当AI工程师遇上“计划指挥官” 如果你是一名开发者&#xff0c;尤其是经常和AI模型打交道的工程师&#xff0c;你肯定遇到过这样的场景&#xff1a;面对一个复杂的代码库&#xff0c;你想快速理解它的架构&#xff1b;或者接到一个新功能需求&#xff…...

C#集成AI对话:开源库ha.openclaw.conversation实战指南

1. 项目概述&#xff1a;一个面向对话式AI的C#开源库最近在折腾一个需要集成智能对话能力的桌面应用&#xff0c;后台服务是用C#写的。大家都知道&#xff0c;现在搞AI对话&#xff0c;主流玩法是调用OpenAI、Claude这些大模型的API&#xff0c;或者用一些开源的本地模型。但真…...

魔百和CM311-1A刷机后体验:S905L3A芯片+安卓9,到底能装哪些好玩的应用?

魔百和CM311-1A刷机后应用生态全攻略&#xff1a;释放S905L3A芯片的隐藏潜力 当你的魔百和CM311-1A成功刷入纯净安卓9系统后&#xff0c;这台搭载S905L3A芯片的设备便从一台普通电视盒子蜕变为开放式的娱乐中心。ADB功能默认开启的状态下&#xff0c;它的可能性只受限于你的想…...

CircuitPython库管理全攻略:从手动安装到CircUp工具实战

1. 项目概述&#xff1a;CircuitPython库管理的核心价值 如果你刚开始接触CircuitPython&#xff0c;可能会被一个看似简单的问题绊住&#xff1a;为什么我复制了别人的代码&#xff0c;板子却毫无反应&#xff0c;或者串口里报了一堆看不懂的错误&#xff1f;十有八九&#x…...

如何在3分钟内掌握PowerPoint专业公式编辑:LaTeX-PPT终极指南

如何在3分钟内掌握PowerPoint专业公式编辑&#xff1a;LaTeX-PPT终极指南 【免费下载链接】latex-ppt Use LaTeX in PowerPoint 项目地址: https://gitcode.com/gh_mirrors/la/latex-ppt 还在为PowerPoint中编辑复杂的数学公式而头疼吗&#xff1f;LaTeX-PPT这款开源插件…...

北航毕业论文LaTeX模板终极指南:快速掌握专业排版技巧

北航毕业论文LaTeX模板终极指南&#xff1a;快速掌握专业排版技巧 【免费下载链接】BUAAthesis 北航毕设论文LaTeX模板 项目地址: https://gitcode.com/gh_mirrors/bu/BUAAthesis 还在为北航毕业论文的格式要求而烦恼吗&#xff1f;手动调整页边距、页眉页脚、参考文献格…...

如何用DouyinLiveWebFetcher实现抖音直播数据自动化采集与智能分析

如何用DouyinLiveWebFetcher实现抖音直播数据自动化采集与智能分析 【免费下载链接】DouyinLiveWebFetcher 抖音直播间网页版的弹幕数据抓取&#xff08;2025最新版本&#xff09; 项目地址: https://gitcode.com/gh_mirrors/do/DouyinLiveWebFetcher 面对直播电商的爆发…...

Agent 工具调用链路的稳定性设计:从触发决策到异常兜底的工程实践

在构建基于 Agent 的 AI 应用时&#xff0c;工具调用链路是核心能力之一。我们曾遇到一个典型问题&#xff1a;用户提问“帮我查一下昨天北京天气”&#xff0c;Agent 判断应调用天气工具&#xff0c;但实际未执行任何操作&#xff0c;既未返回错误也未返回结果&#xff0c;前端…...