Python 社交媒体查询工具包 SMQTK

码农软件 · 软件分类 · 多媒体处理 · 2019-09-12 19:13:28

软件介绍

SMQTK (Social Multimedia Query ToolKit) 是一个 Python 工具包,用于基于多媒体的机器学习中可插入式的算法和数据结构。

SMQTK 的 API 提供:

  • 可伸缩的数据结构接口和实现,侧重于机器学习相关内容.

  • 机器学习的算法接口和实现

  • 带算法和数据结构支持的高级应用和工具

通过这些特性,用户和开发者可以使用不同的机器学习算法和技术来使用不同类型的数据。适用场景包括基于语料库的媒体搜索来查找相似内容;或者提供基于内容的相关反馈接口。

示例代码:

import abc

from smqtk.representation import SmqtkRepresentation
from smqtk.utils.plugin import Pluggable, get_plugins


class FooBar (SmqtkRepresentation, Pluggable):
    """
    Some documentation on what this does.
    """
    # Interface methods and/or abstract functionality here.
    # -> See the abc module on how to decorate abstract methods.

    @abc.abstractmethod
    def do_something(self):
        """ Does Something """


def get_foo_bar_impls(reload_modules=False):
    import os.path as osp
    from smqtk.utils.plugin import get_plugins
    this_dir = osp.abspath(osp.dirname(__file__))
    env_var = 'FOO_BAR_PATH'
    helper_var = 'FOO_BAR_CLASS'
    return get_plugins(__name__, this_dir, env_var, helper_var, FooBar,
                       reload_modules)

本文地址:https://codercto.com/soft/d/14457.html

Weaving the Web

Weaving the Web

Tim Berners-Lee / Harper Paperbacks / 2000-11-01 / USD 15.00

Named one of the greatest minds of the 20th century by Time , Tim Berners-Lee is responsible for one of that century's most important advancements: the world wide web. Now, this low-profile genius-wh......一起来看看 《Weaving the Web》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具