Introducing New Model Operators

With our newly released Model Mode, you can combine non-trainable model operators with trainable models into AI workflows for production.

Clarifai
3 min readMar 5, 2021

Concept Thresholder
Threshold input concepts according to both a threshold and an operator (>, >=, =, <=, or <). For example, assume the “ > “ threshold type is set for the model, then if the input concept.value is greater than the threshold for that concept, the input concept will be output from this model, otherwise it will not be output by the model.

Concept Synonym Mapper
Map the input concepts to output concepts by following synonym concept relations in the knowledge graph of your app.

Annotation Writer
Write the input data to the database in the form of an annotation with a specified status as if a specific user created the annotation.

Image Cropper
Crop the input image according to each input region that is present in the input. When used in a workflow this model can look back along the graph of the workflow to find the input image if the preceding model does not output an image itself so that you can do image -> detector -> cropper type of workflow easily.

Random Sampler
Randomly sample allowing the input to pass to the output. This is done with the conditional keep_fraction > rand() where keep_fraction is the fraction to allow through on average.

Cross App Visual Searcher
This model performs a visual search in another app that is configured in the model configuration and returns the matched search hits as concept.

KNN Classifier Model
Use k nearest neighbor search and plurality voting amongst the nearest neighbors to classify new instances. Recommended when you only have a small dataset like one image per concept.

In our next blog post we’ll talk about how to create active learning workflows — stay tuned! To learn more contact us or sign up.

To start using Clarifai’s Computer Vision, NLP and AI platform, click here to signup for a free API key: https://www.clarifai.com. and get 1000 free operations per month.

About Clarifai

Clarifai is a leading provider of artificial intelligence for unstructured image, video, and text data. It delivers deep learning to its enterprise and public sector customers through its end-to-end computer vision and NLP platform, which manages the entire AI lifecycle.

Founded in 2013 by Matt Zeiler, Ph.D., Clarifai has been a market leader in computer vision AI since winning the top five places in image classification at the 2013 ImageNet Challenge. Clarifai, headquartered in Delaware, has raised $40M from top technology investors and is continuing to grow with more than 90 employees and offices in New York City, San Francisco, Washington, D.C., and Tallinn, Estonia. For more information, please visit www.clarifai.com.

--

--

Clarifai

The World’s AI Deep learning workspace for developers, data scientists, and business operators.