Giter VIP home page Giter VIP logo

joint_bayesian-1's Introduction

包含文件:jointbayesian.h,jointbayesian.cpp

实现了一个JointBayesian类,类中封装了两个函数

  1. void jointbayesian_train(Matrix<double, Dynamic, Dynamic>trainset, Matrix<int, Dynamic, 1>trainlabel); 功能:用于训练模型 参数:trainset: 训练数据集矩阵,每行为一张图片; trainlabel: 训练集标签,每张图片属于哪个人;

2.void jointbayesian_test(Matrix<double, Dynamic, Dynamic>testset, Matrix<int, Dynamic, 1>testlabel, double threshold_start, double threshold_end, double step);

功能:测试训练模型的性能 参数:testset: 测试集矩阵,每行为一张图片,每两张图片为一对; label: 测试集标签,1表示一对图片为同一人,0表示一对图片为不同的人; threshold_start: 阈值起始值 threshold_end: 阈值结束值 step: 阈值步进大小。

joint_bayesian-1's People

Contributors

xiaoma340 avatar

Watchers

James Cloos avatar GreedyIsGood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.