Skip to content

mhasan08/quantum-machine-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Machine Learning

Demo:

python demo.py

Output:

<<evaluating qml on train dataset>> ....
Model
	 Warning:  prediction index is none, generating prediction index ....
	 using prediction index as  {0: 0, 1: 3}

100% |#################################################################################################################|
calculating metrics .....
100% |#################################################################################################################|
train metrics:  {'acc': 0.8946, 'f1_score': 0.8950826199482381, 'recall': 0.8963317384370016, 'precision': 0.8938369781312128}

<<evaluating qml on test dataset>> ....
Model
	 Warning:  prediction index is none, generating prediction index ....
	 using prediction index as  {0: 0, 1: 3}

100% |#################################################################################################################|
calculating metrics .....
100% |#################################################################################################################|
test metrics:  {'acc': 0.8975333333333333, 'f1_score': 0.9359770067063773, 'recall': 0.8988, 'precision': 0.9763622143043365}

❗under development.
⚠️ research grade implementation.