// Path: src/main/java/io/izenecloud/larser/feature/OnlineVectorWritable.java
// public class OnlineVectorWritable implements Writable {
// 	private Double offset;
// 	private Integer action;
// 	private Vector sample;
// 
// 	public OnlineVectorWritable() {
// 
// 	}
// 
// 	public OnlineVectorWritable(Double offset, Integer action, Vector sample) {
// 		this.offset = offset;
// 		this.action = action;
// 		this.sample = sample;
// 	}
// 
// 	public Double getOffset() {
// 		return offset;
// 	}
// 
// 	public Integer getOction() {
// 		return action;
// 	}
// 
// 	public Vector getSample() {
// 		return sample;
// 	}
// 
// 	public void write(DataOutput out) throws IOException {
// 		out.writeDouble(offset);
// 		out.writeInt(action);
// 		VectorWritable.writeVector(out, sample);
// 	}
// 
// 	public void readFields(DataInput in) throws IOException {
// 		offset = in.readDouble();
// 		action = in.readInt();
// 		sample = VectorWritable.readVector(in);
// 	}
// 
// }


import io.izenecloud.larser.feature.OnlineVectorWritable;
import org.apache.mahout.math.Vector;
package io.izenecloud.lr;



public class LrIterationMapContext {
	private static final double LAMBDA_VALUE = 1e-6;

	private Vector[] a;

	private double[] b;

	private double[] knownOffset;

	private double[] x;

	private double rho;

	private double lambdaValue;

// Path: src/main/java/io/izenecloud/larser/feature/OnlineVectorWritable.java
// public class OnlineVectorWritable implements Writable {
// 	private Double offset;
// 	private Integer action;
// 	private Vector sample;
// 
// 	public OnlineVectorWritable() {
// 
// 	}
// 
// 	public OnlineVectorWritable(Double offset, Integer action, Vector sample) {
// 		this.offset = offset;
// 		this.action = action;
// 		this.sample = sample;
// 	}
// 
// 	public Double getOffset() {
// 		return offset;
// 	}
// 
// 	public Integer getOction() {
// 		return action;
// 	}
// 
// 	public Vector getSample() {
// 		return sample;
// 	}
// 
// 	public void write(DataOutput out) throws IOException {
// 		out.writeDouble(offset);
// 		out.writeInt(action);
// 		VectorWritable.writeVector(out, sample);
// 	}
// 
// 	public void readFields(DataInput in) throws IOException {
// 		offset = in.readDouble();
// 		action = in.readInt();
// 		sample = VectorWritable.readVector(in);
// 	}
// 
// }


// Path: src/main/java/io/izenecloud/lr/LrIterationMapContext.java
import io.izenecloud.larser.feature.OnlineVectorWritable;
import org.apache.mahout.math.Vector;

package io.izenecloud.lr;



public class LrIterationMapContext {
	private static final double LAMBDA_VALUE = 1e-6;

	private Vector[] a;

	private double[] b;

	private double[] knownOffset;

	private double[] x;

	private double rho;

	private double lambdaValue;

	public LrIterationMapContext(OnlineVectorWritable[] ab) {