Esempio di utilizzo con MongoDB e accesso al db via REST
[ | |
{ | |
"priority": 0, | |
"category": "", | |
"title": "DAJE", | |
"body": "Oh regaz daje eh che ci siamo" | |
} | |
] |
{ | |
"tipoTreno": "PG", | |
"orientamento": null, | |
"codiceCliente": 2, | |
"fermateSoppresse": null, | |
"dataPartenza": null, | |
"fermate": [ | |
{ | |
"orientamento": null, | |
"kcNumTreno": null, |
import java.text.SimpleDateFormat | |
import java.util.{Calendar, Date} | |
import scala.collection.mutable | |
object Solution { | |
def main(args: Array[String]) { | |
val rawLogs = mutable.MutableList[String]( |
/** | |
* ANY | |
*/ | |
fun Any.toJson(): String = GsonInitializer.toJson(this) | |
/** | |
* VIEW | |
*/ | |
fun View.toggleVisibility(setAsVisible: Boolean) = if (setAsVisible) this.visible() else this.gone() |
def get_bpcer(self, feature_vectors, classes): | |
# apcer - attack presentation classification error rate: proportion of morphed presentations incorrectly classified as bona fide | |
# bpcer - bonafide presentation classification error rate: proportion of bona fide presentations incorrectly classified as morphed face attacks | |
apcer = [0.001, 0.003, 0.005, 0.01, 0.02, 0.03, 0.05, 0.1] | |
# apcer = [0.05, 0.1] | |
bpcer = [] | |
X_test = feature_vectors | |
y_test = classes | |
self._load_classifier() |
Alberto Giunta built the JustInTrain app as an Ad Supported app. This SERVICE is provided by Alberto Giunta at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at JustInTrain unless otherwise defined in this Privacy Policy.
built the ReadIT 🔥 Never forget to read a link again app as an Ad Supported app. This SERVICE is provided by at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at ReadIT 🔥 Never forget to read a link again unless otherwise defined in this Privacy Policy.