- 博客(17)
- 收藏
- 关注
原创 【机器学习-吴恩达】Week4 神经网络表示
文章目录TerminologyNeural Networks: RepresentationMotivationsNon-linear HypothesesNeurons and the BrainNeural NetworksModel RepresentationNeuron in the brainNeuron model: Logistic unitNeural NetworkcomputationsForward propagation: Vectorized implementationElem
2022-05-02 19:36:59
1426
原创 【机器学习-吴恩达】Week3 分类问题——逻辑回归&正则化
文章目录TerminologyLogistic RegressionClassification and RepresentationClassificationlinear regression to a classification problemLogistic Regression - a classification algorithmHypothesis RepresentationLogistic Regression ModelSigmoid(Logistic) function -- g(
2022-04-28 22:29:55
2275
原创 【机器学习-吴恩达】Week2 多变量线性回归——梯度下降&正规方程
文章目录TerminologyMultivariate Linear RegressionHypothesisGradient descent for multiple variablesGradient Descent in Practice I - Feature ScalingFeature ScalingMean NormalizationGradient Descent in Practice II - Learning RateFeatures and Polynomial Regression
2022-04-18 12:23:01
1477
原创 【机器学习-吴恩达】Week1 介绍&线性回归之梯度下降
文章目录TerminologySupervised LearningExampleRegression (real-valued output)Classification (discrete-valued output)Unsupervised LearningExampleClusteringNon-clusteringCocktail party problemLinear Regression with One Variable/ Univariate Linear RegressionModel
2022-04-15 17:23:39
1278
原创 Windows下配置Python(numpy,opencv)的踩雷历史
原来我还写过这个,贴一下。C:\Windows\system32>pip listTraceback (most recent call last): File "d:\python\python\lib\runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "d:\python\python\lib\runpy.py", line 85, in _run_code exec(code,
2022-01-24 13:12:47
3095
原创 Java代码赌一手
面向对象:实验三/四面向对象 舍友版图形界面与线程:计算器 哭脸笑脸 矩形圆形计算器 哭脸笑脸 标签乱跑异常处理与输入输出流:package com.cumt.java.five;import javax.swing.*;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.io.*;public class FileDemo ext
2022-01-09 19:52:55
469
原创 矿大2021编译原理考点
文章目录《2021年编译原理A卷》真题回忆复习资料《2021年编译原理A卷》真题回忆1、给出关于货币的自然语言描述:写正则表达式,画有限状态自动机,写代码。(难,考场上老师直接提醒了跳过去,先做后面的题)2、最右推导,说明一个句型是该文法的句型;画出语法树;写出短语,直接短语,句柄。3、LL(1),消除左递归,提取公共左因子,构造分析表。4、LR(1),画出识别活前缀的DFA,构造分析表,说明为什么是LR(1)文法,写出句子的分析过程(考的分析失败!)。5、while do - if then
2021-12-28 18:30:52
2133
1
原创 矿大2021计算机图形学考点
6章中文课件为主,英文课件简单,下划线标出延伸部分斜体是去年的考点+考题,去年考了12题https://blog.youkuaiyun.com/qq_41792460/article/details/103824915?spm=1001.2014.3001.55016道算法计算大题固定,剩下6题都是概念、简述类型第一章(基本概念)成像颜色,硬件成像,光栅显示器,如何进行光栅化显存大小和哪些有关,大小为什么和颜色有关帧缓冲存储器的构成,结构,大小怎么有关的,给出面数、分辨率,计算颜色空间大小图形学软件当中
2021-12-24 23:46:58
2609
2
原创 实验三 JAVA 面向对象程序设计
JAVA 面向对象程序设计一、实验目的和要求二、实验内容程序设计题阅读程序题三、实验心得一、实验目的和要求掌握类、对象、方法、继承、接口的编程技术;要求至少完成实验内容题的70%。(分工合作) 二、实验内容程序设计题3.编写一个包含圆类的程序,并为圆类设计几个构造方法和一般方法,在主方法中创建一个圆类对象并输出它的周长和面积。要求: 属性有3个:x,y,r,分别放置圆心坐标和半径; 构造方法有2个。一个是无参的,用于设置3个属性的值都为0;另一个有参的,用于设置3个属性的值
2021-12-21 00:14:02
1760
1
原创 【编译器代码优化技术】前期优化中的复制传播、常数折叠与常数传播
目 录一、优化简介二、优化编译器的结构三、优化技术3.1 复制传播3.2 常数折叠3.3 常数传播3.3.1 常量传播四种算法概述3.3.2 稀疏条件常量传播3.3.3 GCC关于常量传播的优化操作总结一、优化简介对于许多高级语言而言,编译器的词法分析(lexical analysis)、语法分析(syntactic analysis or parsing)、静态语义检查(static-semantic validity or semantic checking)、代码生成(code generatio
2021-12-02 10:05:37
3425
1
原创 实验二 JAVA 流程控制程序设计
JAVA 流程控制程序设计一、实验目的和要求二、实验内容三、实验心得一、实验目的和要求掌握Java流程控制语句、Math类、数组的编程方法。完成偶数编号的题目。二、实验内容1、编写一程序,将从键盘输入的每个月份数(整数)显示出其对应的英文,直至输入0结束,注意对非法数据的处理。 (while,switch语句)package month_2;import java.util.Scanner;public class month { public static void main(
2021-11-20 21:29:58
1121
原创 MySQL实验
括号内是结果显示的字段1.求选修了老师“王刚”开课课程且成绩在90分以上的学生姓名、课程名称和成绩;(姓名,课程名,成绩)select 姓名, 课程名, 成绩from exp.教师, exp.授课, exp.课程, exp.学生, exp.学习, exp.学院where 教师.教师号 = 授课.教师号and 授课.课程号 = 课程.课程号and 学生.学号 = 学习.学号and 学院.学院代码 = 学生.学院代码and 成绩>="90"and 教师名 = "王刚";2.求选修了“
2021-05-08 12:03:05
1987
1
原创 C Linux 读者写者(写者优先)
#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <unistd.h>#include <semaphore.h>#define P sem_wait #define V sem_postsem_t mrc, mwc; //互斥对readcount,writecount的访问sem_t rsem, wsem; //rsem:当至少有一个写进程
2021-03-31 00:18:57
289
原创 C Linux 读者写者(相对公平)
#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <unistd.h>#include <semaphore.h>#define P sem_wait #define V sem_postsem_t rmutex, wmutex; //读者互斥,写者互斥sem_t S; //S在写着到达后封锁读者int readcount=0; //
2021-03-31 00:16:37
142
原创 C Linux 公交司机售票员问题
#include<stdio.h>#include<stdlib.h>#include<unistd.h>#include<pthread.h>#include<errno.h>#include<semaphore.h>#include<time.h> sem_t sem_d; //driver信号量,阻塞conductor线程 sem_t sem_c;
2021-03-30 23:27:19
5822
原创 C Linux 读者写者(读者优先)
参考文章:https://blog.youkuaiyun.com/lllllyt/article/details/80506885https://blog.youkuaiyun.com/fuziwang/article/details/79824996#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <unistd.h>#include <semaphore.h>#defi
2021-03-30 22:28:24
515
原创 C Linux 生产者消费者
#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <unistd.h>#include <semaphore.h>#define PRODUCER 4 //生产者数目#define CONSUMER 4 //消费者数目#define SIZE 8 //缓冲区大小int pool[S
2021-03-21 21:32:32
154
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人