Tafiti Search Visualization Deployment Guide

本文档提供了详细的Tafiti搜索可视化应用部署步骤,包括Windows Live账户设置、数据库配置、Web应用程序设置等内容。介绍了如何使用SQLCMD或SQL Server Management Studio进行数据库设置,并配置了LiveID Web认证、数据库连接字符串等关键参数。

Tafiti Search Visualization Deployment Guide 

导读:
  This deployment guide is very large (~ 3-4 MB). You can download an XPS of this Wiki Page from here(NOTE: this file may get out of sync with the Wiki).
  Configuration
  Windows Live Account Setup
  Database setup 每 without Management Tools (SQLCMD)
  Database setup 每 with Management Tools
  Web Application Setup
  Solution Overview (Projects)
  Configuring Live ID Web Authentication
  Configuring Database Connection String
  Configuring Search API settings
  Configuring AdCenter Analytics
  Building the project
  Executing &Smoke testing
  Start the project
  Testing Shelves
  Deployment options
  Demonstration Script
  Demonstration machine configuration
  Apple Mac
  PC (Windows Vista/Windows XP)
  Demonstration Walkthrough
  FAQ / More information
  Server / Development Environment Setup / Pre-requisites Install the following on your computer (Windows Server 2003, Windows XP, and Windows Vista or later):
  IIS 6.0 or later
  If IIS 6.0, you'll need to configure it for Silverlight (see http://msdn2.microsoft.com/en-us/library/ms752346.aspx)
  SQL Server 2005 (http://www.microsoft.com/sql/downloads/trial-software.mspx)
  NOTE: You can download SQL Express for free from hereand the SQL Express Management tools from here
  .NET Framework 2.0 (Windows Update)
  .NET Framework 3.0 (Windows Update)
  ASP.NET 2.0 AJAX Extensions
  ASP.NET AJAX Control Toolkit
  Microsoft AntiXSS Library
  Microsoft Visual Studio 2008or Visual Web Developer 2008 (free)
  Configuration
  Windows Live Account SetupYou will need to gain access and/or credentials from each of the following, which will be stored in the Web.config of the Web project:
  Windows Live Authentication (http://msm.live.com/app) (see the web.config for redirect URLs - http://localhost:50008/WLQuickApps.Tafiti.WebSite/Register.aspx if you are running in local debug mode)
  Time Lapse in setting up account: Instant
  
  
  Database setup 每 without Management Tools (SQLCMD)You can configure the database via the Command Line if you do not have the SQL Server Management Studio installed. This can be done via the SQLCMD command line (tutorial).
  Open a command prompt and change the directory to:
  C:/Program Files/Microsoft SQL Server/90/Tools/Binn
  To connect with the SQL instance type:
  sqlcmd 每S ./SQLExpress
  
  
  Paste the following statement and press ENTER. NOTE: These databases will be created in C:/temp if you wish for them to be created elsewhere modify the script before you paste it into the command window.CREATE DATABASE TafitiON
  PRIMARY ( NAME = N'Tafiti', FILENAME = N'c:/temp/Tafiti.mdf' , SIZE = 41984KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
  LOG ON ( NAME = N'Tafiti_log', FILENAME = N'c:/temp/Tafiti_log.ldf' , SIZE = 22144KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
  GO
  
  
  Quit the existing SQLCMD session by typing Quitand press ENTER
  
  
  Create the objects using the Create.sql by using the 每i (InputFile) parameter
  sqlcmd 每s ./SQLExpress 每i C:/Code/Codeplex/WLQuickApps/WLQuickApps.Tafiti/create.sql
  
  
  
  
  Database setup 每 with Management Tools (SQL Server Management Studio)If you have the SQL Server Management Studio installed you can create a new database and configure the tables.
  Open the SQL Server Management Studio
  
  
  Create a database called Tafiti
  
  
  
  
  Run the create.sqlscript found in the project root to set up the tables NOTE: be sure to run this against the Tafiti database and not the master database.
  Open the create.sqlfile in the SQL Management studio (File --> Open --> File) or CTRL+O
  
  
  
  
  
  
  Click Execute to run the script
  
  
  See the command has completed successfully
  Web Application SetupThe web application has several settings in the web.configwhich must be configured to make this application successfully execute.
  Open your development Environment (Visual Web Developer or Visual Studio 2008)
  
  
  Open the solution file
  
  
  Solution Overview (Projects)
  
  
  The solution will open with 3 projects:
  Website 每 the presentation layer
  Business 每 the business layer which stores non presentation specific logic
  Data 每 the data layer manages the persistence of objects back into the data provider (in this case SQL Server)
  Configuring Live ID Web AuthenticationBe sure to update Web.configwith the credentials obtained from the Windows Live? ID configuration steps above. You must copy and paste the Windows Live App ID and the Secret Key
  
  
  
  
  Configuring Database Connection String
  Verify the connection string is correct by default it uses ./SQLExpress with Integrated security.
  You must also copy the connection string into   
  
  Configuring Search API settings
  Generate a Search API developer key at http://search.msn.com/developer
  
  
  
  
  
  
  Embed the search API key in the Web.Config
  
  
  Configuring AdCenter AnalyticsIf you have an AdCenter analytics account or would like your usage of Tafiti to be reported set this field. If you don*t want to report usage of the Tafiti code set the field as blank. AdCenter Analytics accounts are not broadly available yet.
  
  
  Building the project
  
  
  Executing &Smoke testingTo test Tafiti Search Visualization you need to run the code and step over the key areas such as:
  UX Rendering 每 does the website render
  Search API Queries 每 is the search API accessible and has the API Key been successfully set
  Authentication 每 has the Windows Live? ID Web Authentication been configured correctly
  Storage 每 has the SQL database connection string and objects been created/configured correctly.
  Start the projectYou can either F5 to start debugging or right click on the default.aspx to start the local web server.
  
  
  
  
  NOTE: It may take a couple of minutes for the Search API key to become active, during this time you will see: An Error has occurred.
  
  
  Testing ShelvesA shelf is a saved set of search results. You can test these by authenticating and dragging search results to the right hand site. This will test the following piece of technology: Live ID authentication, SQL connection &SQL schema.
  
  
  
  
  NOTE: If you see this error after authentication means you are redirecting to a different port than the debugger is running on. Change this by selecting the Website project and then the property window and change the dynamic ports to FALSE and 50008
  
  
  
  
  
  
  Sign in and drag a result onto the right hand side
  
  
  Close the browser and reopen and sign in and the shelf should be fully populated.
  
  
  The shelf will be created in the database.
  
  
  Deployment options
  Copy/publish the output of the Web project to the virtual directory set up earlier for Web hosting
  Run the site in local debug mode (the Web Site has been set to non dynamic ports)

本文转自
http://www.codeplex.com/WLQuickApps/Wiki/View.aspx?title=Tafiti%20Search%20Visualization&referringTitle=Home

内容概要:本文提出了一种基于融合鱼鹰算法和柯西变异的改进麻雀优化算法(OCSSA),用于优化变分模态分解(VMD)的参数,进而结合卷积神经网络(CNN)与双向长短期记忆网络(BiLSTM)构建OCSSA-VMD-CNN-BILSTM模型,实现对轴承故障的高【轴承故障诊断】基于融合鱼鹰和柯西变异的麻雀优化算法OCSSA-VMD-CNN-BILSTM轴承诊断研究【西储大学数据】(Matlab代码实现)精度诊断。研究采用西储大学公开的轴承故障数据集进行实验验证,通过优化VMD的模态数和惩罚因子,有效提升了信号分解的准确性与稳定性,随后利用CNN提取故障特征,BiLSTM捕捉时间序列的深层依赖关系,最终实现故障类型的智能识别。该方法在提升故障诊断精度与鲁棒性方面表现出优越性能。; 适合人群:具备一定信号处理、机器学习基础,从事机械故障诊断、智能运维、工业大数据分析等相关领域的研究生、科研人员及工程技术人员。; 使用场景及目标:①解决传统VMD参数依赖人工经验选取的问题,实现参数自适应优化;②提升复杂工况下滚动轴承早期故障的识别准确率;③为智能制造与预测性维护提供可靠的技术支持。; 阅读建议:建议读者结合Matlab代码实现过程,深入理解OCSSA优化机制、VMD信号分解流程以及CNN-BiLSTM网络架构的设计逻辑,重点关注参数优化与故障分类的联动关系,并可通过更换数据集进一步验证模型泛化能力。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值