From b835ddf3dffe8698dab3b42c14a9da472868b13c Mon Sep 17 00:00:00 2001 From: Tor Myklebust <tmyklebu@gmail.com> Date: Fri, 20 Dec 2013 01:55:03 -0500 Subject: [PATCH] Licence notice. --- .../apache/spark/mllib/api/PythonMLLibAPI.scala | 17 +++++++++++++++++ python/pyspark/mllib.py | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/mllib/src/main/scala/org/apache/spark/mllib/api/PythonMLLibAPI.scala b/mllib/src/main/scala/org/apache/spark/mllib/api/PythonMLLibAPI.scala index bcf2f07517..bad1f66424 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/api/PythonMLLibAPI.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/api/PythonMLLibAPI.scala @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 + * + * http://www.apache.org/licenses/LICENSE-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. + */ + import org.apache.spark.api.java.JavaRDD import org.apache.spark.mllib.regression._ import org.apache.spark.mllib.classification._ diff --git a/python/pyspark/mllib.py b/python/pyspark/mllib.py index 1877404cc1..ce1363fd17 100644 --- a/python/pyspark/mllib.py +++ b/python/pyspark/mllib.py @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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 +# +# http://www.apache.org/licenses/LICENSE-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. +# + from numpy import * from pyspark import SparkContext -- GitLab