From 33f0b38a31e35a0b52cb7c5e9e9ac9ded8bd5c65 Mon Sep 17 00:00:00 2001 From: paynie Date: Fri, 16 Aug 2019 17:37:43 +0800 Subject: [PATCH] Add copyright --- .../ml/math2/matrix/CooIntDoubleMatrix.java | 16 ++++++++++++++++ .../angel/ml/math2/matrix/CooIntFloatMatrix.java | 16 ++++++++++++++++ .../angel/ml/math2/matrix/CooIntMatrix.java | 16 ++++++++++++++++ .../ml/math2/matrix/CooLongDoubleMatrix.java | 16 ++++++++++++++++ .../ml/math2/matrix/CooLongFloatMatrix.java | 16 ++++++++++++++++ .../angel/ml/math2/matrix/CooLongMatrix.java | 16 ++++++++++++++++ .../angel/ml/math2/matrix/CsrDoubleMatrix.java | 16 ++++++++++++++++ .../angel/ml/math2/matrix/CsrFloatMatrix.java | 16 ++++++++++++++++ .../tencent/angel/ml/math2/matrix/CsrMatrix.java | 16 ++++++++++++++++ .../tencent/angel/ml/math2/matrix/MapMatrix.java | 16 ++++++++++++++++ .../ml/math2/ufuncs/expression/DivNonZero.java | 16 ++++++++++++++++ .../angel/ml/math2/ufuncs/expression/FMGrad.java | 16 ++++++++++++++++ .../ufuncs/expression/FTRLThresholdInit.java | 16 ++++++++++++++++ .../ufuncs/expression/FtrlDeltaIntersect.java | 16 ++++++++++++++++ .../ml/math2/ufuncs/expression/FtrlPossion.java | 16 ++++++++++++++++ .../ml/math2/ufuncs/expression/IndexGet.java | 16 ++++++++++++++++ .../ml/math2/ufuncs/expression/MomentUpdate.java | 16 ++++++++++++++++ .../ml/math2/ufuncs/expression/PageRankCal.java | 16 ++++++++++++++++ .../tencent/angel/ml/math2/utils/DataBlock.java | 16 ++++++++++++++++ .../angel/ml/math2/utils/LabeledData.java | 16 ++++++++++++++++ .../angel/ml/math2/utils/MathException.java | 16 ++++++++++++++++ .../tencent/angel/ml/math2/utils/RowType.java | 16 ++++++++++++++++ .../matrix/CooMatrixTest/CooMatrixTest.scala | 16 ++++++++++++++++ .../matrix/CsrMatrixTest/CsrMatrixTest.scala | 16 ++++++++++++++++ 24 files changed, 384 insertions(+) diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntDoubleMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntDoubleMatrix.java index 4e90c2f..28551ae 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntDoubleMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntDoubleMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.storage.IntDoubleSparseVectorStorage; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntFloatMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntFloatMatrix.java index 6d3dfdd..9b1a6d3 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntFloatMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntFloatMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.storage.IntFloatSparseVectorStorage; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntMatrix.java index a0960b2..48a3f16 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CooIntMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.vector.Vector; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongDoubleMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongDoubleMatrix.java index ee47e06..ccae627 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongDoubleMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongDoubleMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.storage.LongDoubleSparseVectorStorage; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongFloatMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongFloatMatrix.java index aff795b..a7eadb9 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongFloatMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongFloatMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.storage.IntFloatSparseVectorStorage; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongMatrix.java index 251bc05..05df3d8 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CooLongMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.vector.Vector; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CsrDoubleMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CsrDoubleMatrix.java index f3ad047..60dfc95 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CsrDoubleMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CsrDoubleMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.storage.IntDoubleSparseVectorStorage; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CsrFloatMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CsrFloatMatrix.java index 438f95f..e89611c 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CsrFloatMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CsrFloatMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.storage.IntFloatSparseVectorStorage; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/CsrMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/CsrMatrix.java index a039598..f7a6cd0 100644 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/CsrMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/CsrMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.vector.Vector; diff --git a/src/main/java/com/tencent/angel/ml/math2/matrix/MapMatrix.java b/src/main/java/com/tencent/angel/ml/math2/matrix/MapMatrix.java index 1afccfc..4d27f1d 100755 --- a/src/main/java/com/tencent/angel/ml/math2/matrix/MapMatrix.java +++ b/src/main/java/com/tencent/angel/ml/math2/matrix/MapMatrix.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix; import com.tencent.angel.ml.math2.vector.Vector; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/DivNonZero.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/DivNonZero.java index b5f71eb..092d8bb 100755 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/DivNonZero.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/DivNonZero.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FMGrad.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FMGrad.java index 95ab3f2..4c9fd22 100644 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FMGrad.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FMGrad.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FTRLThresholdInit.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FTRLThresholdInit.java index 8efc40c..69e2b76 100644 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FTRLThresholdInit.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FTRLThresholdInit.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlDeltaIntersect.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlDeltaIntersect.java index 358c0be..90d0e8a 100644 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlDeltaIntersect.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlDeltaIntersect.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlPossion.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlPossion.java index ef48bb3..c0b65f8 100644 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlPossion.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/FtrlPossion.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/IndexGet.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/IndexGet.java index 86a3086..f2a0d93 100644 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/IndexGet.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/IndexGet.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/MomentUpdate.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/MomentUpdate.java index e407358..acd2468 100644 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/MomentUpdate.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/MomentUpdate.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/PageRankCal.java b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/PageRankCal.java index 74af06d..c559ad9 100755 --- a/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/PageRankCal.java +++ b/src/main/java/com/tencent/angel/ml/math2/ufuncs/expression/PageRankCal.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.ufuncs.expression; import com.tencent.angel.ml.math2.utils.Constant; diff --git a/src/main/java/com/tencent/angel/ml/math2/utils/DataBlock.java b/src/main/java/com/tencent/angel/ml/math2/utils/DataBlock.java index 9c5ddbb..b9157ba 100755 --- a/src/main/java/com/tencent/angel/ml/math2/utils/DataBlock.java +++ b/src/main/java/com/tencent/angel/ml/math2/utils/DataBlock.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.utils; diff --git a/src/main/java/com/tencent/angel/ml/math2/utils/LabeledData.java b/src/main/java/com/tencent/angel/ml/math2/utils/LabeledData.java index 07fb371..f59bdc4 100755 --- a/src/main/java/com/tencent/angel/ml/math2/utils/LabeledData.java +++ b/src/main/java/com/tencent/angel/ml/math2/utils/LabeledData.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.utils; diff --git a/src/main/java/com/tencent/angel/ml/math2/utils/MathException.java b/src/main/java/com/tencent/angel/ml/math2/utils/MathException.java index 5703fd8..8c547dc 100644 --- a/src/main/java/com/tencent/angel/ml/math2/utils/MathException.java +++ b/src/main/java/com/tencent/angel/ml/math2/utils/MathException.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.utils; diff --git a/src/main/java/com/tencent/angel/ml/math2/utils/RowType.java b/src/main/java/com/tencent/angel/ml/math2/utils/RowType.java index daf1605..838a5b7 100755 --- a/src/main/java/com/tencent/angel/ml/math2/utils/RowType.java +++ b/src/main/java/com/tencent/angel/ml/math2/utils/RowType.java @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.utils; public enum RowType { diff --git a/src/test/java/com/tencent/angel/ml/math2/matrix/CooMatrixTest/CooMatrixTest.scala b/src/test/java/com/tencent/angel/ml/math2/matrix/CooMatrixTest/CooMatrixTest.scala index dd8e61e..144daac 100644 --- a/src/test/java/com/tencent/angel/ml/math2/matrix/CooMatrixTest/CooMatrixTest.scala +++ b/src/test/java/com/tencent/angel/ml/math2/matrix/CooMatrixTest/CooMatrixTest.scala @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix.CooMatrixTest import com.tencent.angel.ml.math2.MFactory diff --git a/src/test/java/com/tencent/angel/ml/math2/matrix/CsrMatrixTest/CsrMatrixTest.scala b/src/test/java/com/tencent/angel/ml/math2/matrix/CsrMatrixTest/CsrMatrixTest.scala index ed47907..84f8f1c 100644 --- a/src/test/java/com/tencent/angel/ml/math2/matrix/CsrMatrixTest/CsrMatrixTest.scala +++ b/src/test/java/com/tencent/angel/ml/math2/matrix/CsrMatrixTest/CsrMatrixTest.scala @@ -1,3 +1,19 @@ +/* + * Tencent is pleased to support the open source community by making Angel available. + * + * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/Apache-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + * + */ package com.tencent.angel.ml.math2.matrix.CsrMatrixTest import com.tencent.angel.ml.math2.MFactory