assessment predictions pipelines added
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
# Example usage
|
||||
from scripts.run_assessment_prediction_trainer import CompanyModelPipeline
|
||||
company_ids = ['company_123', 'company_456', 'company_789']
|
||||
input_base_path = '/root/ds_erp_ai/data/raw/dummy_assessment_data.csv' # The base path where the raw data for each company is stored
|
||||
'''from scripts.run_assessment_prediction_trainer import CompanyModelPipeline
|
||||
company_ids = ['testid']
|
||||
input_base_path = '/root/ds_erp_ai/data/raw/erp_assessment_prediction' # The base path where the raw data for each company is stored
|
||||
|
||||
pipeline = CompanyModelPipeline(company_ids=company_ids, input_base_path=input_base_path)
|
||||
pipeline.run_pipeline()
|
||||
pipeline.run_pipeline()'''
|
||||
|
||||
from src.pipeline.inference import AssessmentInference
|
||||
|
||||
|
||||
|
||||
inference = AssessmentInference(
|
||||
company_id="testid",num_assessments=2
|
||||
)
|
||||
|
||||
result = inference.run()
|
||||
|
||||
|
||||
print(result)
|
||||
|
||||
Reference in New Issue
Block a user