LogRegRanker

io.github.metarank.ltrlib.ranking.pointwise.LogRegRanker
See theLogRegRanker companion object

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Logging
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
override def fit(options: RegressionOptions): LogRegModel

Attributes

Definition Classes
def predict(row: RealVector, weights: RealVector, intercept: Double): Double
def prepare(): (Array2DRowRealMatrix, ArrayRealVector)
def randomSample(from: Int, to: Int, count: Int): Array[Int]
def trainBatchSGD(x: Array2DRowRealMatrix, y: RealVector, iterations: Int, batchSize: Int, lr: Double): RegWeights
def trainSGD(x: Array2DRowRealMatrix, y: RealVector, iterations: Int, lr: Double): RegWeights

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val x: Array2DRowRealMatrix
val y: ArrayRealVector

Inherited fields

val logger: Logger

Attributes

Inherited from:
Logging