Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

binary-independence-model

a notebook and python code aimed at demonstrating information retrieval using binary independence model

example usage

implementing this code is as easy as importing the BIMModel class, then search the query, with the limit of documents you want to retrieve. The search_query function takes 2 parameters, the query to be searched and the number/limit of results you want to retrieve. The steps are as follows:

  • from model import BIMModel

  • bim_model = BIMModel()

  • results = bim_model.search_query("secondary emission of electrons by positive ion bombardment of the cathode", 10)

  • print(results)

Dataset and notebook

  • unzip the dataset from HW04 zip FILE
  • notebook is provided in code

Codes details

  • There are 2 implemetations, a notebook and .py files.
  • All are similar, just pick your choice.

About

a notebook and python code aimed at demonstrating information retrieval using binary independence model

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages