leifos / simiir Goto Github PK
View Code? Open in Web Editor NEWA toolkit for simulating interactive information retrieval
License: MIT License
A toolkit for simulating interactive information retrieval
License: MIT License
Hello,
I downloaded the framework and setup all required libraries. Trying to run the provided sample simulations:
python run_simiir.py ../example_sims/trec_bm25_simulation.xml
Throws an at the end of the simulation. The output of the command is:
`SIMULATION 'example_bm25_sim-367-smartuser'
Simulation Configuration:
Topic: 367
Search Interface: WhooshSearchInterface
whoosh_index_dir: ../example_data/index
implicit_or: True
model: 1
User Configuration (smartuser):
Query Generator: SmarterQueryGenerator
stopword_file: ../example_data/terms/stopwords.txt
Snippet Classifier: StochasticInformedTrecTextClassifier
qrel_file: ../example_data/qrels/trec2005.qrels.all
rprob: 0.75
nprob: 0.35
data_handler: 0
Document Classifier: StochasticInformedTrecTextClassifier
qrel_file: ../example_data/qrels/trec2005.qrels.all
rprob: 0.85
nprob: 0.25
data_handler: 0
Stopping Decision Maker: SequentialNonrelDecisionMakerSkip
nonrelevant_threshold: 3
SERP Impression: SimpleSERPImpression
qrel_file: ../example_data/qrels/trec2005.qrels.all
Logger: FixedCostLogger
time_limit: 600
query_cost: 10
document_cost: 20
snippet_cost: 3
serp_results_cost: 5
mark_document_cost: 3
Search Context: SearchContext
relevance_revision: 1
Results Summary:
Number of Queries Issued: 4
Number of Snippets Examined: 36
Number of Documents Examined: 20
Number of Documents Marked Relevant: 13
Number of Attractive SERPs Examined: 4
Number of Unattractive SERPs Examined: 0
Traceback (most recent call last):
File "run_simiir.py", line 50, in
main(sys.argv[1])
File "run_simiir.py", line 19, in main
for configuration in config_reader:
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/simulation_config_reader.py", line 59, in next
bg = SimulationComponentGenerator(self._config_dict['@id'], configuration_set)
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/component_generators/simulation_generator.py", line 33, in init
self.user = UserConfigReader(user_config_file).get_component_generator(self)
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/user_config_reader.py", line 16, in get_component_generator
return UserComponentGenerator(simulation_components, self._config_dict)
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/component_generators/user_generator.py", line 58, in init
components=[('search_context', self.search_context)])
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/component_generators/base_generator.py", line 66, in _get_object_reference
reference = available_class1
TypeError: init() takes at least 3 arguments (2 given)`
However, I still see in the output folder the simulation results but still don't know if this error effect the output in anyway.
Thanks in advance for your help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.