Flex开源项目

Flex框架实战指南:入门到精通 本文还有配套的精品资源,点击获取 简介:Flex,基于Adobe Flash技术的RIA开发框架,提供MXML和ActionScript两种编程语言用于用户界面布局和业务逻辑处理。学习资源包括Flex SDK、组件库、ActionScript 3.0、Adobe AIR以及BlazeDS/LiveCycle Data Services,涵盖从基础到高级主题的全方位知识。经典... 阅读详情

                    Flex开源项目

原文地址:http://www.cnblogs.com/analyzer/archive/2008/06/02/1212050.html

 

1. Flexbox
http://flexbox.mrinalwadhwa.com/
这是一位来自印度的flex开发者在07年2月份建立的flex组件库,里面也有不少好东西。

2. Flexlib
http://code.google.com/p/flexlib/
由Dougmccune等人建立的flex组件库,其中有不少实用的组件。

3.SpringGraph Flex Component
http://mark-shepherd.com/blog/springgraph-flex-component/
非常酷的拓扑关系组件!

4.Flex Visual Graph Library
http://code.google.com/p/flexvizgraphlib/
又一个拓扑图形展示的类库,动态效果那叫“惊艳”!
该项目的讨论组:
http://groups.google.com/group/flexvizgraphlib

5. Open Source Framework for Flex / Flash & AIR(Apollo)
http://code.google.com/p/advancedflex/
The Advanced Flex project is open source Libraries & Framework for Adobe Flex & Flash developer. This is the framework written in AS3.0 & MXML for Flex & Flash & AIR(Apollo).

看起来里面涉及到了AOP及debugger等内容,有时间要好好看看了。

6. Open Source Flex Component: TreeMap
http://www.zeuslabs.us/2007/11/14/open-source-flex-component-treemap/

7. FlexMDI
http://code.google.com/p/flexmdi/
主要解决多窗口应用生成的问题,全名叫做:Flex Multiple Document Interface ,效果很不错,对于做基于窗口的应用来说是个好的起点。

8. 反射组件类reflexutil
http://code.google.com/p/reflexutil/
这是作者的博客:
http://blog.deconcept.com/

9. 对象处理器flex-object-handles
http://code.google.com/p/flex-object-handles/
作者对该组件的介绍:
http://rogue-development.com/objectHandles.xml
WIKI:
http://code.google.com/p/flex-object-handles/wiki/ObjectHandlesUsage
功能是很强大,不过要想自己使用,还需修改一番!

10.CheckboxTree和Carousel组件
http://giles.roadnight.name/components.cfm
都有演示和源码!

11.Flex拖拽库
http://code.google.com/p/flex-drag-n-drop-lib/
新鲜出炉的类库,太棒了,以后做拖拽处理就方便多了!

12. birdeye

http://code.google.com/p/birdeye/

该项目是一个比较庞大的项目涉及数据可视化的多个方面:
关系分析展示:
Relational Analysis (RaVis)
空间信息分析展示:
GeoSpatial Analysis (GeoVis)
数值分析展示:
Quantitative Analysis (QaVis)
历史数据分析
Temporal Analysis (TaVis)
变形类库:
General Utility (GuVis)

13.antennae
http://code.google.com/p/antennae/
基于ant的Flex工程编译模版,内置FlexUnit等测试工具,很强大的说。

14.Degrafa:声明式的图形描述框架
官方网站:
http://www.degrafa.com/
googlecode:
http://code.google.com/p/degrafa/
演示:
http://samples.degrafa.com/
个人还是喜欢用AS3和flashIDE来绘图,不太喜欢这个东西。不过这可框架有专门的组织来推动,似乎前景不错!

15.openflux
号称是 an open-source Flex component framework which allows developers to create radically new and custom Flex components,似乎是基于下一代Flex组件标准,但是目前还没看到更多的东西。只有这个:
http://www.bobjim.com/2008/04/04/updated-plexiglass-openflux-3d-example/
该项目的GoogleCode:
http://code.google.com/p/openflux/

16.FlexReport
http://code.google.com/p/flexreport/
作者博客:
http://www.kemelyon.com/bts/
一个开源的客户端报表生成组件,目前唯一不足的是不能消除字体的锯齿问题,不过只要不放大字体,应该没问题

********************************************************************************************
AS3开源项目

1.Flex/Actionscript Math Library
http://code.google.com/p/as3mathlib/
The Flex/Actionscript Math Library (as3mathlib) is intended to provide a rudimentary numerical analysis toolkit for the Actionscript/Flex programming environment.

一个很不错的基础项目,不过看起来还没有完成:This library has just been converted from Actionscript 2 to Actionscript 3. It is not ready for general use.

2.ActionScript 3.0 library for several basic utilities
http://code.google.com/p/as3corelib/
AS3核心类库,里面有包括加密、图形文件编码等等类库。

3.alivepdf
http://code.google.com/p/alivepdf/
是一个Open-source AS3 PDF library,目的在于将flash内容转为pdf文件信息,通过后台程序来生成pdf文件。

4.Tweener
http://code.google.com/p/tweener/
A class for creating tweens in actionscript 2 and 3 - because there’s infinity between 0 and 1.

5.ActionScript 3 libraries for interactive visualizations on the web
http://flare.prefuse.org/
刚(10.22.2007)发布的数据可视化工具包,目前alpha版,不过有不少亮点了,很有希望。

6.Dependency injection / Inversion of control container for ActionScript 3, Flash 9, and Flex 2
http://code.google.com/p/di-as3/

7.as3ds
http://code.google.com/p/as3ds/
AS3 Data Structures For Game Developers

以前记得这个好像是收费的,现在看起来没限制的使用了。

8.Pulse粒子系统

作者对该系统的介绍:
http://www.rogue-development.com/pulseParticles.html

Google code:
http://code.google.com/p/pulse-particle/

演示地址:
http://rogue-development.com/pulse/explorer/

9.AS3 GIF Player Class
http://www.bytearray.org/?p=95
GoogleCode:
http://code.google.com/p/as3gif/

10.AS3的物理引擎(ActionScript 3 Physics Engines)
http://henryjones.us/articles/actionscript-3-physics-engines

11. 数据可视化类库Prefuse
http://flare.prefuse.org/
the flare visualization toolkit:ActionScript 3 libraries for interactive visualizations on the web.

12.文档解析类库:vanrijkom-flashlibs
http://code.google.com/p/vanrijkom-flashlibs/

其中最有用的可能是地图文件和3D文件的解析类库了!

13.MinimalComps: Minimal AS3 UI Component Set
http://www.bit-101.com/blog/?p=1126

14.GoogleMap Flash Interface
http://code.google.com/p/google-maps-flash-interface/
可惜的是written in ActionScript 2,不过应该有借鉴意义。

15.ScaleBitmap : 9-slice bitmap class
http://www.bytearray.org/?p=118
一个缩放位图的类,很有用!

16.开源AS3即时通讯类库XIFF
http://www.igniterealtime.org/projects/xiff/

17.另一粒子系统Flint Particle system
http://flintparticles.org/

18.as3httpclientlib
An HTTP/HTTPS client library for Actionscript 3.
http://code.google.com/p/as3httpclientlib/

19.AS3 Cryptography Library
http://crypto.hurlant.com/

******************************************************************************
AS33D项目

1. PV3D

虽然该项目发布不长时间,但是它已经名声远扬了,遗憾的是这段时间它的官方博客不能访问了,只能访问它其他网站:
Google code
http://code.google.com/p/papervision3d/
Wiki
http://wiki.papervision3d.org/
John Grden
http://www.rockonflash.com/blog/

2. away3D:

官方网站:
http://www.away3d.com/

google code:
http://code.google.com/p/away3d/

同pv3d一样,是基于actionscript 3的flash3D引擎:
Away3D is a realtime 3d engine for flash in actionscript 3, originally derived from Papervision3D

************************************************************************************
与JS相关类库

1.SWFAddress
http://www.asual.com/swfaddress/
项目地址:
http://sourceforge.net/projects/swfaddress

SWFAddress is a small, but powerful library that provides deep linking for Flash and Ajax. It’s a developer tool, allowing creation of unique virtual URLs that can point to a website section or an application state. SWFAddress enables a number of important capabilities which are missing in today’s rich web technologies

该类库解决了swf的难题,深度链接,也是flex3的一个重要特色,值得关注!

2. 不可不提的swfobject
http://code.google.com/p/swfobject/
SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file

3.HTMLWrapper
http://code.google.com/p/htmlwrapper
Motion & Color Inc. today open-sourced a public beta version of
Wrapper, formerly used for closed-sourced projects. Wrapper is a
cross-browser compliant HTML/CSS rendering engine written in
ActionScript that sits on top of your standards compliant HTML page.
Wrapper eliminates cross-browser issues and makes integrating
ActionScript and HTML/CSS projects possible without needing to
compile. Wrapper will be available free from

***********************************************************************************
企业级组件库

1.YahooFlex/Flash组件ASTRA Galore

ASTRA Galore: New Flash and Flex Components
http://www.yswfblog.com/blog/2008/01/30/astra-galore-new-flash-and-flex-components/
官方的话是这么说的:
Our ASTRA library of components has just been updated with three new Flash components and seven (yeah, we are serious about this) new Flex components, as well as some important updates to the existing ones.

Yahoo,真棒!

***********************************************************************************
ROR与Flex相关类库

1.The Ruby on Rails RIA SDK by Adobe
http://code.google.com/p/rubyonrails-ria-sdk-by-adobe/

2. as3Stomp - Project site and source code
http://flexonrails.net/?p=99
该项目在Googlecode地址:
as3-stomp
This library is an actionscript 3 implementation of the Stomp protocol. It enables communication between Flash or Flex and any Stomp broker.

It has been primarily designed to work with Apache ActiveMQ.
*************************************************************************************
测试类库

1. 使用FlexUnit
http://www.adobe.com/devnet/flex/articles/unit_testing.html
http://code.google.com/p/as3flexunitlib/

2. 可视化Flex单元测试框架visualflexunit:
Announcing Visual FlexUnit - A Visual Testing Extension for FlexUnit

该项目的home page在google code。
作者Douglas McCarroll与合作公司Allurent共同建立了这个项目,并开源供大家使用。
**************************************************************
FlexMap组件
1. uMap(免费)
homepage:
http://www.afcomponents.com/components/umap_as3/
demos:
http://ccgi.arutherford.plus.com/website/flex/UMap/UMapFlexDemo/
mouseover to triangle to show picture:
http://ccgi.arutherford.plus.com/website/flex/modestmaps/sampleCCTV/

2.modesMap(开源)
homepage:
http://modestmaps.com/
demos:
http://modestmaps.com/example.html
http://modestmaps.com/tutorial-actransit/actransit.html

************************************************************************

Flex框架类库

1、针对Cairngorm的扩展框架:Flexcairngoam

http://code.google.com/p/flexcairngorm/

Adobe官方的cairngorm框架早就被人们诟病,这次这个非官方的补充,看来是个容易让人接受的框架了!

flex特效 不错的flex样式生成器 这是一个不错的flex效果,可以通过图形效果里设置的内容给自己的flex工程设置CSS 立即下载

相关推荐

曙光服务器RAID配置避坑指南:MegaRAID SAS 9361-8i实战(含Foreign状态处理)

本文详细解析了曙光服务器搭配MegaRAID SAS 9361-8i控制器的RAID配置全流程,包括RAID0和RAID5的创建、Foreign状态处理及性能优化策略。特别针对磁盘迁移中的Foreign状态问题,提供了系统化的解决方案和高级恢复技巧,助力企业级IT运维提升存储配置的稳定性和可靠性。

weixin_29200741的博客 412

探索FLEX:一款创新的多功能工具平台

探索FLEX:一款创新的多功能工具平台 【免费下载链接】FLEX An in-app debugging and exploration tool for iOS 项目地址: https://gitcode.com/gh_mirrors/fl/FLEX ...

gitblog_00015的博客 539

ArcGIS通过已知坐标点转面(通过excel文件,有工具可批量生成面要素)

通过使用ArcGIS中的工具,将坐标点XY数据转换成可视化的点线面矢量数据,更加方便快捷有效的获取对应信息

qq_41046162的博客 3万+

flexbuilder 开发工具

https://www.cnblogs.com/xuling/archive/2010/02/15/1668580.html 转载于:https://www.cnblogs.com/wangc04/p/10637043.html

weixin_30675247的博客 648

第三节:Vben Admin 最新 v5.0 (vben5) + Python Flask 快速入门 - 对接后端登录接口(上)

这里是Vben Admin V5版本实战体验,上一节我们前端已正常运行,但是没有实现登录。本节的重点是对接后端接口。上一节地址:第一节:Vben Admin 最新 v5.0初体验第二节:Vben Admin 登录逻辑梳理和对接后端准备后端我们采用Python的Flask项目,Flask-SQLAlchemy管理数据库模型,Flask-Migrate进行模型迁移。参考版本如下:Flask3.0.23.1.1到这里,登录接口完成,下一步要实现获取用户信息和权限的接口功能。

cuiwin的专栏 1861

Failed to connect to gitee.com port 443: Time out 连接超时提示【Bug已完美解决-鸿蒙开发】

在进行Sample导入或Git项目Clone时,遇到连接超时问题是一个常见而令人烦扰的情况。连接超时问题通常源于网络限制,可能是由于防火墙、代理设置或其他网络配置导致。因此,首先要关注网络状态,确保网络通畅。如果在网络受限的情况下,代理服务器配置是一个有效的解决方案。通过在Git全局配置中设置代理信息,可以将网络请求通过代理服务器传输,规避一些网络限制。但在使用代理时,需要确保代理服务器的可用性和稳定性,以免引入新的问题。

一键难忘的博客 4557

flex系列文章:第一章. Flex概念和工具初步

第一章. Flex概念和工具初步 1.1 RIA(Rich Internet Application) 我们已经非常熟悉当前标准的WEB应用的触发方式, 客户端请求服务,服务端同步地响应请求并刷新客户端IE.这是一种标准的瘦客户胖服务端的概念.RIA的概念正好相反,RIA应用运行在传统标准的IE上,但是它建立了一套独立于标准Client/Server请求响应模式.请求发出后,客户端异步地侦听

杰维智能 | Jwisdom 1655

YOLO26涨点改进 | 全网独家首发 主干改进篇 | TGRS 2025 | RepViT-TD,告别庞大骨干!YOLO26 + RepViT-TD轻量又强大,实现更快更准的小目标检测!

本文提出将RepViT-TD轻量级主干网络应用于YOLO26目标检测框架,以提升小目标检测性能。RepViT-TD通过优化计算资源分配,强化前两层高分辨率特征提取能力,在保持轻量化的同时(仅4.85M参数)显著提升微小目标的检测精度(AI-TODv2数据集AP50达54.6%)。文章详细介绍了三种主干改进方案(RepVit_ldy1/2/3)的代码实现,并提供了完整的YAML配置文件修改指南,使模型能高效部署于边缘设备。实验表明,该方法在计算复杂度(38.19G FLOPs)和检测精度间取得了良好平衡。

Ai缝合怪、助力小伙伴高效发论文 328

Flex 开源项目教程

Flex 开源项目教程 1. 项目介绍 Flex 是一个由 Xamarin 团队开发的开源项目,旨在提供一个灵活且可扩展的框架,用于构建跨平台的移动应用程序。Flex 结合了 Xamarin 的强大功能和开源社区的灵活性,使得开发者能够快速构建高质量的移动应用。 2. 项目快速启动 2.1 环境准备 在开始之前,请确保您已经安装了以下工具: Visual Studio 2019 或更高版本 Xa...

gitblog_00292的博客 310

使用强化学习快速让AI学会玩贪食蛇游戏(轻量级二十分钟训练+代码)

如何让AI玩会贪食蛇,甚至比你厉害概述构建问题(强化学习求解的一般步骤)环境动作定义状态定义奖励设计训练奖励值收敛图效果代码 概述 所用技术:强化学习(Deep Reinforcement Learning),属于一种无监督学习,利用奖励rewardrewardreward教会智能体AgentAgentAgent在合适的场景做合适的决策。 采用算法:试过两种算法D3QN和离散版本的PPO算法,最终采用离散版本PPO算法+GAE(PPO是我用过的性能最好的算法之一) 编程语言与深度学习框架:Python3.

ZYunfei的博客 2万+

从 ST22 到根因定位:ABAP Dumps 全景排查指南(含典型 Dump 案例、修复套路与云时代实践)

本文系统介绍了SAP系统中ABAP短转储(Dump)的分析方法。首先指出短转储是程序运行时无法处理的错误导致系统强制终止执行。文章详细解析了短转储报告各区块的作用:从概述性的Short Text和What happened,到核心的Error Analysis和Source Code Extract,再到关键的系统字段Contents of system fields和调用栈Active Calls/Events。针对不同场景提供了排查建议:客户代码应建立可控边界,标准对象优先查阅SAP Notes。最后推

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 485

flex 开源项目组件大全

flex 开源项目组件大全 转载自:http://blog.csdn.net/lihua2915/archive/2010/09/13/5881236.aspx Flash Builder Beta下载地址: • http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashbuilder4 Adobe官方资...

Lvmy的个人博客 452

【蓝桥杯单片机组第八届省赛】— 基于单片机的电子钟程序设计与调试

1、初赛试题 1.1 基本要求 (1)使用 CT107D 单片机竞赛板, 完成“电子钟” 功能的程序设计与调试; (2)设计与调试过程中,可参考组委会提供的“资源数据包”; (3)Keil 工程文件以准考证号命名, 完成设计后, 提交完整、 可编译的 Keil工程文件到服务器。 1.2 硬件框图 1.3功能描述 1.3.1 初始化 (1)关闭蜂鸣器、继电器等无关外...

Fanjufei的博客 3661

Flex游戏编程/一些Flex开源项目的整理

Flex游戏编程:http://www.brighthub.com/internet/web-development/articles/11010.aspx一些Flex开源项目的整理:http://swingchen.javaeye.com/blog/133999

Flex/Java爱好者 812

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

Flex Launcher 开源项目教程

Flex Launcher 开源项目教程 1. 项目的目录结构及介绍 Flex Launcher 项目的目录结构如下: flex-launcher/ ├── assets/ ├── config/ ├── docs/ ├── src/ ├── .gitignore ├── CHANGELOG.md ├── CMakeLists.txt ├── README.md ├── UNLICENSE └──...

gitblog_00558的博客 342

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Flex-Convolution 开源项目教程

Flex-Convolution 开源项目教程 1、项目介绍 Flex-Convolution 是一个用于处理大规模点云数据的开源项目,旨在超越传统的基于网格的数据处理方法。该项目由 Fabian Groh、Patrick Wieschollek 和 Hendrik P. A. Lensch 开发,并在 ACCV 2018 会议上被接受。Flex-Convolution 通过引入灵活的卷积层,有效...

gitblog_00229的博客 1137

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

GTFS-Flex 开源项目教程

GTFS-Flex 开源项目教程 1、项目介绍 GTFS-Flex 是一个 GTFS Schedule 扩展项目,旨在促进需求响应型交通服务(Demand Responsive Transportation Services)的可发现性。该项目通过扩展 GTFS 规范,使得像 dial-a-ride 这样的服务能够更容易地被整合和使用。GTFS-Flex 已经被正式采纳,并且与 GTFS 规范合并...

gitblog_01153的博客 632

网友整理的Flex开源项目

FLEX优秀开源项目介绍对于开源项目的开发者,我是一直非常敬佩的,一直非常想加入到这队伍中,无奈能力不够。但我想,对这些优秀的开源项目进行一下宣传,也算是一点点贡献吧,呵呵,下面列出的是我最近经常使用或比较关注的一些优秀开源项目(先写六个,以后有时间再多介绍点),排名不分先后 :)1.    Cairngorm介绍:简单来说,就是为方便FLEX开发企业级应用而开发的一个微架构。这个东西有什

赵晓雷的专栏 1158

Flex开源项目集锦

Flex开源项目集锦 收藏 document.body.oncopy = function() { if (window.clipboardData) { setTimeout(function() { var text = c

jackoo的专栏 1409

FLEX优秀开源项目介绍

<br /><br />FLEX优秀开源项目介绍 <br /><br />对 于开源项目的开发者,我是一直非常敬佩的,一直非常想加入到这队伍中,无奈能力不够。但我想,对这些优秀的开源项目进行一下宣传,也算是一点点贡献吧,呵 呵,下面列出的是我最近经常使用或比较关注的一些优秀开源项目(先写六个,以后有时间再多介绍点),排名不分先后 :)<br />1. Cairngorm<br />介 绍:简单来说,就是为方便FLEX开发企业级应用而开发的一个微架构。这个东西有什么用处?假如你们项目比较复杂,需要3个开发员以

lu_cy的专栏 588

Apache Flex BlazeDS 开源项目教程

Apache Flex BlazeDS 开源项目教程 项目介绍 Apache Flex BlazeDS 是一个基于 Java 的服务器端远程调用和网络消息传递技术,它使得开发者能够轻松连接到后端分布式数据,并将数据实时推送到 Adobe® Flex® 和 Adobe AIR™ 应用程序中,从而提供更加响应迅速的富互联网应用(RIA)体验。BlazeDS 是 Apache 软件基金会的一个项目,它是...

gitblog_01108的博客 961
上一篇: 聊天室的多种实现原理
下一篇: Subversion之路---实现精细的目录访问权限控制
jamesjun
博客等级 码龄19年 25粉丝 33原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值