`

FileTypeUtils

阅读更多
package api.xxx.com.upload.utils;

        import cn.hutool.core.io.FileUtil;

/**
 *
 * @author Kelvin范显
 * @createDate 2019年02月21日
 */
final public class FileTypeUtils{

    /**
     * 根据文件名获取文件类型
     * @param filename
     * @return
     */
    public static String getContentTypeByFilename(String filename) {
        return getContentTypeByExtName(FileUtil.extName(filename));
    }

    /**
     * 根据文件后缀名获取文件类型
     * @param extName
     * @return
     */
    public static String getContentTypeByExtName(String extName){
        switch (extName){
            case "jpeg": return "image/jpeg";
            case "jpg": return "image/jpeg";
            case "js": return "application/x-javascript";
            case "jsp": return "text/html";
            case "gif": return "image/gif";
            case "htm": return "text/html";
            case "html": return "text/html";
            case "asf": return "video/x-ms-asf";
            case "avi": return "video/avi";
            case "bmp": return "application/x-bmp";
            case "asp": return "text/asp";
            case "wma": return "audio/x-ms-wma";
            case "wav": return "audio/wav";
            case "wmv": return "video/x-ms-wmv";
            case "ra": return "audio/vnd.rn-realaudio";
            case "ram": return "audio/x-pn-realaudio";
            case "rm": return "application/vnd.rn-realmedia";
            case "rmvb": return "application/vnd.rn-realmedia-vbr";
            case "xhtml": return "text/html";
            case "png": return "image/png";
            case "tif": return "image/tiff";
            case "tiff": return "image/tiff";
            case "xlw": return "application/x-xlw";
            case "xml": return "text/xml";
            case "xpl": return "audio/scpls";
            case "swf": return "application/x-shockwave-flash";
            case "torrent": return "application/x-bittorrent";
            case "dll": return "application/x-msdownload";
            case "asa": return "text/asa";
            case "asx": return "video/x-ms-asf";
            case "au": return "audio/basic";
            case "css": return "text/css";
            case "exe": return "application/x-msdownload";
            case "mp1": return "audio/mp1";
            case "mp2": return "audio/mp2";
            case "mp2v": return "video/mpeg";
            case "mp3": return "audio/mp3";
            case "mp4": return "video/mpeg4";
            case "mpa": return "video/x-mpg";
            case "mpd": return "application/vnd.ms-project";
            case "mpe": return "video/x-mpeg";
            case "mpeg": return "video/mpg";
            case "mpg": return "video/mpg";
            case "mpga": return "audio/rn-mpeg";
            case "mpp": return "application/vnd.ms-project";
            case "mps": return "video/x-mpeg";
            case "mpt": return "application/vnd.ms-project";
            case "mpv": return "video/mpg";
            case "mpv2": return "video/mpeg";
            case "wml": return "text/vnd.wap.wml";
            case "wsdl": return "text/xml";
            case "xsd": return "text/xml";
            case "xsl": return "text/xml";
            case "xslt": return "text/xml";
            case "htc": return "text/x-component";
            case "mdb": return "application/msaccess";
            case "zip": return "application/zip";
            case "rar": return "application/x-rar-compressed";

            //BEGIN Microsoft Office MIME Types
            case "doc": return "application/msword";
            case "dot": return "application/msword";
            case "docx": return "application/vndopenxmlformats-officedocumentwordprocessingmldocument";
            case "dotx": return "application/vndopenxmlformats-officedocumentwordprocessingmltemplate";
            case "docm": return "application/vndms-worddocumentmacroEnabled12";
            case "dotm": return "application/vndms-wordtemplatemacroEnabled12";
            case "xls": return "application/vndms-excel";
            case "xlt": return "application/vndms-excel";
            case "xla": return "application/vndms-excel";
            case "xlsx": return "application/vndopenxmlformats-officedocumentspreadsheetmlsheet";
            case "xltx": return "application/vndopenxmlformats-officedocumentspreadsheetmltemplate";
            case "xlsm": return "application/vndms-excelsheetmacroEnabled12";
            case "xltm": return "application/vndms-exceltemplatemacroEnabled12";
            case "xlam": return "application/vndms-exceladdinmacroEnabled12";
            case "xlsb": return "application/vndms-excelsheetbinarymacroEnabled12";
            case "ppt": return "application/vndms-powerpoint";
            case "pot": return "application/vndms-powerpoint";
            case "pps": return "application/vndms-powerpoint";
            case "ppa": return "application/vndms-powerpoint";
            case "pptx": return "application/vndopenxmlformats-officedocumentpresentationmlpresentation";
            case "potx": return "application/vndopenxmlformats-officedocumentpresentationmltemplate";
            case "ppsx": return "application/vndopenxmlformats-officedocumentpresentationmlslideshow";
            case "ppam": return "application/vndms-powerpointaddinmacroEnabled12";
            case "pptm": return "application/vndms-powerpointpresentationmacroEnabled12";
            case "potm": return "application/vndms-powerpointtemplatemacroEnabled12";
            case "ppsm": return "application/vndms-powerpointslideshowmacroEnabled12";
            //END Microsoft Office MIME Types

            // others
            case "*": return "application/octet-stream";
            case "001": return "application/x-001";
            case "301": return "application/x-301";
            case "323": return "text/h323";
            case "906": return "application/x-906";
            case "907": return "drawing/907";
            case "a11": return "application/x-a11";
            case "acp": return "audio/x-mei-aac";
            case "ai": return "application/postscript";
            case "aif": return "audio/aiff";
            case "aifc": return "audio/aiff";
            case "aiff": return "audio/aiff";
            case "anv": return "application/x-anv";
            case "awf": return "application/vnd.adobe.workflow";
            case "biz": return "text/xml";
            case "bot": return "application/x-bot";
            case "c4t": return "application/x-c4t";
            case "c90": return "application/x-c90";
            case "cal": return "application/x-cals";
            case "cat": return "application/vnd.ms-pki.seccat";
            case "cdf": return "application/x-netcdf";
            case "cdr": return "application/x-cdr";
            case "cel": return "application/x-cel";
            case "cer": return "application/x-x509-ca-cert";
            case "cg4": return "application/x-g4";
            case "cgm": return "application/x-cgm";
            case "cit": return "application/x-cit";
            case "class": return "java/*";
            case "cml": return "text/xml";
            case "cmp": return "application/x-cmp";
            case "cmx": return "application/x-cmx";
            case "cot": return "application/x-cot";
            case "crl": return "application/pkix-crl";
            case "crt": return "application/x-x509-ca-cert";
            case "csi": return "application/x-csi";
            case "cut": return "application/x-cut";
            case "dbf": return "application/x-dbf";
            case "dbm": return "application/x-dbm";
            case "dbx": return "application/x-dbx";
            case "dcd": return "text/xml";
            case "dcx": return "application/x-dcx";
            case "der": return "application/x-x509-ca-cert";
            case "dgn": return "application/x-dgn";
            case "dib": return "application/x-dib";
            case "drw": return "application/x-drw";
            case "dtd": return "text/xml";
            case "dwf": return "application/x-dwf";
            case "dwg": return "application/x-dwg";
            case "dxb": return "application/x-dxb";
            case "dxf": return "application/x-dxf";
            case "edn": return "application/vnd.adobe.edn";
            case "emf": return "application/x-emf";
            case "eml": return "message/rfc822";
            case "ent": return "text/xml";
            case "epi": return "application/x-epi";
            case "eps": return "application/x-ps";
            case "etd": return "application/x-ebx";
            case "fax": return "image/fax";
            case "fdf": return "application/vnd.fdf";
            case "fif": return "application/fractals";
            case "fo": return "text/xml";
            case "frm": return "application/x-frm";
            case "g4": return "application/x-g4";
            case "gbr": return "application/x-gbr";
            case "gcd": return "application/x-gcd";
            case "gl2": return "application/x-gl2";
            case "gp4": return "application/x-gp4";
            case "hgl": return "application/x-hgl";
            case "hmr": return "application/x-hmr";
            case "hpg": return "application/x-hpgl";
            case "hpl": return "application/x-hpl";
            case "hqx": return "application/mac-binhex40";
            case "hrf": return "application/x-hrf";
            case "hta": return "application/hta";
            case "htt": return "text/webviewhtml";
            case "htx": return "text/html";
            case "icb": return "application/x-icb";
            case "ico": return "application/x-ico";
            case "iff": return "application/x-iff";
            case "ig4": return "application/x-g4";
            case "igs": return "application/x-igs";
            case "iii": return "application/x-iphone";
            case "img": return "application/x-img";
            case "ins": return "application/x-internet-signup";
            case "isp": return "application/x-internet-signup";
            case "IVF": return "video/x-ivf";
            case "java": return "java/*";
            case "jfif": return "image/jpeg";
            case "jpe": return "application/x-jpe";
            case "la1": return "audio/x-liquid-file";
            case "lar": return "application/x-laplayer-reg";
            case "latex": return "application/x-latex";
            case "lavs": return "audio/x-liquid-secure";
            case "lbm": return "application/x-lbm";
            case "lmsff": return "audio/x-la-lms";
            case "ls": return "application/x-javascript";
            case "ltr": return "application/x-ltr";
            case "m1v": return "video/x-mpeg";
            case "m2v": return "video/x-mpeg";
            case "m3u": return "audio/mpegurl";
            case "m4e": return "video/mpeg4";
            case "mac": return "application/x-mac";
            case "man": return "application/x-troff-man";
            case "math": return "text/xml";
            case "mfp": return "application/x-shockwave-flash";
            case "mht": return "message/rfc822";
            case "mhtml": return "message/rfc822";
            case "mi": return "application/x-mi";
            case "mid": return "audio/mid";
            case "midi": return "audio/mid";
            case "mil": return "application/x-mil";
            case "mml": return "text/xml";
            case "mnd": return "audio/x-musicnet-download";
            case "mns": return "audio/x-musicnet-stream";
            case "mocha": return "application/x-javascript";
            case "movie": return "video/x-sgi-movie";
            case "mpw": return "application/vnd.ms-project";
            case "mpx": return "application/vnd.ms-project";
            case "mtx": return "text/xml";
            case "mxp": return "application/x-mmxp";
            case "net": return "image/pnetvue";
            case "nrf": return "application/x-nrf";
            case "nws": return "message/rfc822";
            case "odc": return "text/x-ms-odc";
            case "out": return "application/x-out";
            case "p10": return "application/pkcs10";
            case "p12": return "application/x-pkcs12";
            case "p7b": return "application/x-pkcs7-certificates";
            case "p7c": return "application/pkcs7-mime";
            case "p7m": return "application/pkcs7-mime";
            case "p7r": return "application/x-pkcs7-certreqresp";
            case "p7s": return "application/pkcs7-signature";
            case "pc5": return "application/x-pc5";
            case "pci": return "application/x-pci";
            case "pcl": return "application/x-pcl";
            case "pcx": return "application/x-pcx";
            case "pdf": return "application/pdf";
            case "pdx": return "application/vnd.adobe.pdx";
            case "pfx": return "application/x-pkcs12";
            case "pgl": return "application/x-pgl";
            case "pic": return "application/x-pic";
            case "pko": return "application/vnd.ms-pki.pko";
            case "pl": return "application/x-perl";
            case "plg": return "text/html";
            case "pls": return "audio/scpls";
            case "plt": return "application/x-plt";
            case "ppm": return "application/x-ppm";
            case "pr": return "application/x-pr";
            case "prf": return "application/pics-rules";
            case "prn": return "application/x-prn";
            case "prt": return "application/x-prt";
            case "ps": return "application/x-ps";
            case "ptn": return "application/x-ptn";
            case "pwz": return "application/vnd.ms-powerpoint";
            case "r3t": return "text/vnd.rn-realtext3d";
            case "ras": return "application/x-ras";
            case "rat": return "application/rat-file";
            case "rdf": return "text/xml";
            case "rec": return "application/vnd.rn-recording";
            case "red": return "application/x-red";
            case "rgb": return "application/x-rgb";
            case "rjs": return "application/vnd.rn-realsystem-rjs";
            case "rjt": return "application/vnd.rn-realsystem-rjt";
            case "rlc": return "application/x-rlc";
            case "rle": return "application/x-rle";
            case "rmf": return "application/vnd.adobe.rmf";
            case "rmi": return "audio/mid";
            case "rmj": return "application/vnd.rn-realsystem-rmj";
            case "rmm": return "audio/x-pn-realaudio";
            case "rmp": return "application/vnd.rn-rn_music_package";
            case "rms": return "application/vnd.rn-realmedia-secure";
            case "rmx": return "application/vnd.rn-realsystem-rmx";
            case "rnx": return "application/vnd.rn-realplayer";
            case "rp": return "image/vnd.rn-realpix";
            case "rpm": return "audio/x-pn-realaudio-plugin";
            case "rsml": return "application/vnd.rn-rsml";
            case "rt": return "text/vnd.rn-realtext";
            case "rtf": return "application/msword";
            case "rv": return "video/vnd.rn-realvideo";
            case "sam": return "application/x-sam";
            case "sat": return "application/x-sat";
            case "sdp": return "application/sdp";
            case "sdw": return "application/x-sdw";
            case "sit": return "application/x-stuffit";
            case "slb": return "application/x-slb";
            case "sld": return "application/x-sld";
            case "slk": return "drawing/x-slk";
            case "smi": return "application/smil";
            case "smil": return "application/smil";
            case "smk": return "application/x-smk";
            case "snd": return "audio/basic";
            case "sol": return "text/plain";
            case "sor": return "text/plain";
            case "spc": return "application/x-pkcs7-certificates";
            case "spl": return "application/futuresplash";
            case "spp": return "text/xml";
            case "ssm": return "application/streamingmedia";
            case "sst": return "application/vnd.ms-pki.certstore";
            case "stl": return "application/vnd.ms-pki.stl";
            case "stm": return "text/html";
            case "sty": return "application/x-sty";
            case "svg": return "text/xml";
            case "tdf": return "application/x-tdf";
            case "tg4": return "application/x-tg4";
            case "tga": return "application/x-tga";
            case "tld": return "text/xml";
            case "top": return "drawing/x-top";
            case "tsd": return "text/xml";
            case "txt": return "text/plain";
            case "uin": return "application/x-icq";
            case "uls": return "text/iuls";
            case "vcf": return "text/x-vcard";
            case "vda": return "application/x-vda";
            case "vdx": return "application/vnd.visio";
            case "vml": return "text/xml";
            case "vpg": return "application/x-vpeg005";
            case "vsd": return "application/vnd.visio";
            case "vss": return "application/vnd.visio";
            case "vst": return "application/vnd.visio";
            case "vsw": return "application/vnd.visio";
            case "vsx": return "application/vnd.visio";
            case "vtx": return "application/vnd.visio";
            case "vxml": return "text/xml";
            case "wax": return "audio/x-ms-wax";
            case "wb1": return "application/x-wb1";
            case "wb2": return "application/x-wb2";
            case "wb3": return "application/x-wb3";
            case "wbmp": return "image/vnd.wap.wbmp";
            case "wiz": return "application/msword";
            case "wk3": return "application/x-wk3";
            case "wk4": return "application/x-wk4";
            case "wkq": return "application/x-wkq";
            case "wks": return "application/x-wks";
            case "wm": return "video/x-ms-wm";
            case "wmd": return "application/x-ms-wmd";
            case "wmf": return "application/x-wmf";
            case "wmx": return "video/x-ms-wmx";
            case "wmz": return "application/x-ms-wmz";
            case "wp6": return "application/x-wp6";
            case "wpd": return "application/x-wpd";
            case "wpg": return "application/x-wpg";
            case "wpl": return "application/vnd.ms-wpl";
            case "wq1": return "application/x-wq1";
            case "wr1": return "application/x-wr1";
            case "wri": return "application/x-wri";
            case "wrk": return "application/x-wrk";
            case "ws": return "application/x-ws";
            case "ws2": return "application/x-ws";
            case "wsc": return "text/scriptlet";
            case "wvx": return "video/x-ms-wvx";
            case "xdp": return "application/vnd.adobe.xdp";
            case "xdr": return "text/xml";
            case "xfd": return "application/vnd.adobe.xfd";
            case "xfdf": return "application/vnd.adobe.xfdf";
            case "xq": return "text/xml";
            case "xql": return "text/xml";
            case "xquery": return "text/xml";
            case "xwd": return "application/x-xwd";
            case "x_b": return "application/x-x_b";
            case "x_t": return "application/x-x_t";
        }
        return "application/octet-stream";
    }
}

分享到:
评论

相关推荐

    java代码开发常用工具类

    1.文件类型工具类:FileTypeUtils 2.文件处理工具类:FileUtils 3.图片处理工具类:ImageUtils 4.媒体类型工具类:MimeTypeUtils 5.字符集工具类:CharsetKit 6.request请求处理工具类:CommonUtil 7.类型转换器:...

    Python自动化办公源码-34 Python批量新建文件夹并保存日志信息

    Python自动化办公源码-34 Python批量新建文件夹并保存日志信息

    粒子滤波算法在目标跟踪中的实践与源码解析集合:多套系统源码包括基于meanshift的应用、MATLAB实现及与卡尔曼滤波比较,粒子滤波(器)滤波(器)及应用源码集合目标跟踪提取图像特征 以下多套系统

    粒子滤波算法在目标跟踪中的实践与源码解析集合:多套系统源码包括基于meanshift的应用、MATLAB实现及与卡尔曼滤波比较,粒子滤波(器)滤波(器)及应用源码集合目标跟踪提取图像特征 以下多套系统源码 1、基于meanshift和粒子滤波的目标跟踪代码 2、MATLAB编写的粒子滤波器的源代码 3、粒子滤波算法实例 4、粒子滤波mcmc介绍 5、粒子滤波算法 matlab(粒子滤波用于剩余寿命预测的实例代码 MATLAB语言编写 附有详细代码说明) 6、粒子滤波matlab代码(能够运行。 Pf粒子滤波实现的目标跟踪程序,可实现针对非高斯噪声情况下的跟踪) 7、粒子滤波代码(三个粒子滤波的演示程序,一个滤波,一个目标跟踪,一个机器人定位) 8、发个Matlab实现粒子滤波算法的程序 9、粒子滤波的简介和5中matlab程序仿真 10、粒子滤波代码与卡尔曼做比较(这是用于目标跟踪的粒子滤波代码, 用matlab编写的,很有借鉴性,一维情况下, 非高斯非线性,其中将扩展卡尔曼滤波与粒子滤波进行比较,更好的说明了粒子滤波的优越性) 11、EKF,UKF和PF粒子滤波的性能(对比分析EKF

    基于java+ssm+mysql的数学竞赛网站 源码+数据库+论文(高分毕设项目).zip

    项目已获导师指导并通过的高分毕业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 包含:项目源码、数据库脚本、软件工具等,该项目可以作为毕设、课程设计使用,前后端代码都在里面。 该系统功能完善、界面美观、操作简单、功能齐全、管理便捷,具有很高的实际应用价值。 项目都经过严格调试,确保可以运行!可以放心下载 技术组成 语言:java 开发环境:idea 数据库:MySql8.0 部署环境:Tomcat(建议用 7.x 或者 8.x 版本),maven 数据库工具:navicat

    西门子PLC与三菱变频器通讯程序:触摸屏控制变频器实现精准频率调节与实时监控,西门子1200 PLC与3台三菱E700变频器通讯程序 器件:西门子1200 PLC,3台三菱E700变频

    西门子PLC与三菱变频器通讯程序:触摸屏控制变频器实现精准频率调节与实时监控,西门子1200 PLC与3台三菱E700变频器通讯程序 器件:西门子1200 PLC,3台三菱E700变频器,西门子KTP700 Basic Pn触摸屏,昆仑通态触摸屏(带以太网),中途可以加路由器 控制方式:触摸屏与plc以太网通讯,PLC与变频器通讯485口相连 功能:触摸屏控制变频器设定频率,启停,读取输出频率,电压 说明:是程序,非硬件。 程序有注释,西门子触摸屏程序,昆仑通态程序,变频器设置,接线都有,一应俱全 ,核心关键词:西门子1200 PLC; 三菱E700变频器; 通讯程序; 触摸屏控制; 设定频率; 启停; 读取输出频率; 电压; PLC与变频器485口相连; 程序注释; 西门子触摸屏程序; 昆仑通态程序; 变频器设置; 接线。,基于西门子PLC与三菱变频器通讯的控制系统程序

    Python自动化办公源码-35Python从Excel表中批量复制粘贴数据到新表

    Python自动化办公源码-35Python从Excel表中批量复制粘贴数据到新表

    基于Spring Boot + Vue框架的出租车管理系统设计源码

    本项目为基于Spring Boot和Vue框架构建的出租车管理系统源码,总计包含118个文件,涵盖99个Java源文件、15个XML配置文件、1个Git忽略文件、1个JAR包文件以及1个Markdown文件。该系统采用Java语言开发,适用于出租车行业的智能化管理需求。

    基于滑膜与PID控制的分布式电动汽车动态载荷分配与操稳控制优化策略,滑膜+pid+上层设计下层平均分配 优化分配 动态载荷分配,分布式电动汽车操稳控制 本研究在matlab simulink建立七自由

    基于滑膜与PID控制的分布式电动汽车动态载荷分配与操稳控制优化策略,滑膜+pid+上层设计下层平均分配 优化分配 动态载荷分配,分布式电动汽车操稳控制 本研究在matlab simulink建立七自由度轮毂电机驱动汽车模型,使用滑膜联合控制以及pid控制实现转向过程中质心侧偏角,橫摆角速度,滑转率稳定性控制, ,关键词:滑膜控制; PID控制; 七自由度轮毂电机驱动汽车模型; 联合控制; 稳定性控制; 动态载荷分配; 操稳控制; 分布式电动汽车。,"基于滑膜与PID控制的分布式电动汽车操稳控制与动态载荷分配研究"

    单相PWM整流器两种控制策略仿真研究:PR控制器与PI控制器的应用及性能分析,单相PWM整流器两种控制策略实现(交流220V-直流350V整流)仿真,分别采用直接电流控制(PR控制器)与dq控制(PI

    单相PWM整流器两种控制策略仿真研究:PR控制器与PI控制器的应用及性能分析,单相PWM整流器两种控制策略实现(交流220V-直流350V整流)仿真,分别采用直接电流控制(PR控制器)与dq控制(PI控制器)实现,两个仿真动稳态性能良好,附带仿真介绍文档,详细讲述仿真搭建过程,并附带参考文献与原理出处,内容详实,适合电力电子入门仿真参考。 ,核心关键词:单相PWM整流器;控制策略;直接电流控制(PR控制器);虚拟dq控制(PI控制器);仿真动稳态性能;仿真介绍文档;仿真搭建过程;参考文献;原理出处;电力电子入门仿真参考。,《单相PWM整流器仿真:直接电流与虚拟dq控制策略对比解析》

    chromedriver-win64-125版本所有资源打包:125.0.6368.0 -125.0.6422.78之间的所有版本打包下载

    chromedriver-win64-125版本所有资源打包:125.0.6368.0 -125.0.6422.78之间的所有版本打包下载

    基于java+ssm+mysql的二手车交易平台 源码+数据库+论文(高分毕设项目).zip

    项目已获导师指导并通过的高分毕业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 包含:项目源码、数据库脚本、软件工具等,该项目可以作为毕设、课程设计使用,前后端代码都在里面。 该系统功能完善、界面美观、操作简单、功能齐全、管理便捷,具有很高的实际应用价值。 项目都经过严格调试,确保可以运行!可以放心下载 技术组成 语言:java 开发环境:idea 数据库:MySql8.0 部署环境:Tomcat(建议用 7.x 或者 8.x 版本),maven 数据库工具:navicat

    IEEE69节点系统Simulink仿真模型:潮流计算与故障分析及分布式电源影响观察,IEEE69节点系统Simulink仿真 1.基础功能:基于Matlab simulink平台搭建IEEE33节点

    IEEE69节点系统Simulink仿真模型:潮流计算与故障分析及分布式电源影响观察,IEEE69节点系统Simulink仿真 1.基础功能:基于Matlab simulink平台搭建IEEE33节点仿真模型,对电力系统进行潮流计算 2.拓展功能: 可在该IEEE69节系统仿真模型上进行故障分析(短路,断线等),也可以在该模型上接入分布式电源,观察分布式电源接入对系统的影响。 ,IEEE69节点系统Simulink仿真; Matlab Simulink平台; 潮流计算; 故障分析; 分布式电源接入影响; 短路分析; 断线分析。,Matlab Simulink中IEEE 69节点系统仿真:功能扩展与分布式电源接入影响分析

    2025最新人工智能与健康题库及答案.docx

    2025最新人工智能与健康题库及答案.docx

    蛇优化算法SO优化LSSVM的c和g参数在多输入单输出下的拟合预测建模-Matlab程序实现与结果展示,蛇优化算法SO优化支持向量机LSSVM的c和g参数做多输入单输出的拟合预测建模 程序内注释详

    蛇优化算法SO优化LSSVM的c和g参数在多输入单输出下的拟合预测建模——Matlab程序实现与结果展示,蛇优化算法SO优化支持向量机LSSVM的c和g参数做多输入单输出的拟合预测建模。 程序内注释详细直接替数据就可以使用。 程序语言为matlab。 程序直接运行可以出拟合预测图,迭代优化图,线性拟合预测图,多个预测评价指标。 PS:以下效果图为测试数据的效果图,主要目的是为了显示程序运行可以出的结果图,具体预测效果以个人的具体数据为准。 2.由于每个人的数据都是独一无二的,因此无法做到可以任何人的数据直接替就可以得到自己满意的效果。 ,蛇优化算法; SO优化; 支持向量机; LSSVM; c和g参数; 多输入单输出; 拟合预测建模; MATLAB程序; 拟合预测图; 迭代优化图; 线性拟合预测图; 预测评价指标。,基于蛇优化算法与SO优化的LSSVM多输入单输出预测建模及可视化工具

    基于Django+Yolov8+Tensorflow的智能鸟类识别平台

    系统旨在为了帮助鸟类爱好者、学者、动物保护协会等群体更好的了解和保护鸟类动物。用户群体可以通过平台采集野外鸟类的保护动物照片和视频,甄别分类、实况分析鸟类保护动物,与全世界各地的用户,沟通交流。使用方法请参考文章:https://blog.csdn.net/m0_64027967/article/details/145266648

    http和https的区别?(保姆级教程)

    http和https的区别?【http和https有什么区别?实现网站https化-让网站更安全!简介】 内容概要: 本文为初学者提供了一个全面的学习指南,通过通俗易懂的语言,介绍了http和https的区别,以及如何实现网站https化。本文旨在帮助读者理解网站安全性的重要性,并掌握网站https化的实现方法。 适用人群: 本篇文章主要面向初学者,特别是那些对网络安全感兴趣的读者。它为读者提供了一个实用的指南,帮助他们了解网站安全的基本概念和方法。 使用场景及目标: 本篇文章适用于那些想要提高自己网站安全性的读者。它的目标是帮助读者理解https的作用,掌握实现网站https化的方法和步骤,从而保护自己的网站和用户的安全。 其他说明: 文章采用通俗易懂、口语化的语言风格,旨在让读者轻松理解并吸收内容。同时,文章还强调了实际操作的重要性,鼓励读者亲自动手实践,提高自己的网络安全技能。最后,文章鼓励读者保持积极的心态,将网络安全作为一项重要的技能进行学习和实践。

    基于FATFS系统的STM32F407 SD卡升级Bootloader程序:自动检测与升级流程,stm32f407 SD卡升级 bootloader程序 基于sdio fatfs系统的stm32 b

    基于FATFS系统的STM32F407 SD卡升级Bootloader程序:自动检测与升级流程,stm32f407 SD卡升级 bootloader程序 基于sdio fatfs系统的stm32 bootloader程序 功能简介: 本程序使用fatfs系统读取bin文件。 开机后会自动检测sd卡,检测到sd卡后,再读取固定名称的bin文件,之后会对bin文件进行首包校验,判断该升级包的起始地址是否正确,正确的话,就循环读取bin文件并写入到flash中。 完成升级。 详细流程请看流程图 ,stm32f407; SD卡升级; bootloader程序; fatfs系统读取bin文件; 检测SD卡; 首包校验; 循环写入flash。,STM32F407 SD卡升级Bootloader程序:基于SDIO FATFS系统实现自动升级功能

    Python自动化办公源码-16从Excel总表中分割10个部门的年假数据

    Python自动化办公源码-16从Excel总表中分割10个部门的年假数据

    大规模MIMO-D2D蜂窝网络中的下行传输速率研究.pdf

    大规模MIMO-D2D蜂窝网络中的下行传输速率研究.pdf

    Python自动化办公源码-44 excel处理实例(二维表转一维表)

    Python自动化办公源码-44 excel处理实例(二维表转一维表)

Global site tag (gtag.js) - Google Analytics