[REFACTOR] Rename LikelihoodRatioLVQ to SLVQ
This commit is contained in:
committed by
Alexander Engelsberger
parent
e62a8e6582
commit
fc11d78b38
@@ -19,7 +19,7 @@ from .glvq import (
|
||||
)
|
||||
from .knn import KNN
|
||||
from .lvq import LVQ1, LVQ21, MedianLVQ
|
||||
from .probabilistic import CELVQ, RSLVQ, LikelihoodRatioLVQ
|
||||
from .probabilistic import CELVQ, RSLVQ, SLVQ
|
||||
from .unsupervised import GrowingNeuralGas, HeskesSOM, KohonenSOM, NeuralGas
|
||||
from .vis import *
|
||||
|
||||
|
@@ -61,8 +61,8 @@ class ProbabilisticLVQ(GLVQ):
|
||||
return loss
|
||||
|
||||
|
||||
class LikelihoodRatioLVQ(ProbabilisticLVQ):
|
||||
"""Learning Vector Quantization based on Likelihood Ratios."""
|
||||
class SLVQ(ProbabilisticLVQ):
|
||||
"""Soft Learning Vector Quantization."""
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.loss = LossLayer(nllr_loss)
|
||||
|
Reference in New Issue
Block a user