Split this tuple into two tuples of degree 1 and 4.
183739
public final Tuple2<Tuple1<T1>, Tuple4<T2, T3, T4, T5>> split1() {
        return new Tuple2<>(limit1(), skip1());
    }
795187
def split(s):
  """"""
  l = [_split(x) for x in _SPLIT_RE.split(s)]
  return [item for sublist in l for item in sublist]
197006
public final <U4> Tuple4<T1, T2, T3, U4> map4(Function<? super T4, ? extends U4> function) {
        return Tuple.tuple(v1, v2, v3, function.apply(v4));
    }
108177
public final Tuple2<Tuple6<T1, T2, T3, T4, T5, T6>, Tuple0> split6() {
        return new Tuple2<>(limit6(), skip6());
    }
904632
public final Tuple2<Tuple2<T1, T2>, Tuple1<T3>> split2() {
        return new Tuple2<>(limit2(), skip2());
    }
311495
def split(examples, ratio=0.8):
        
        split = int(ratio * len(examples))
        return examples[:split], examples[split:]
63127
public final Tuple2<Tuple0, Tuple5<T1, T2, T3, T4, T5>> split0() {
        return new Tuple2<>(limit0(), skip0());
    }
1233233
public final Tuple2<Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, Tuple2<T14, T15>> split13() {
        return new Tuple2<>(limit13(), skip13());
    }
785062
public final Tuple2<Tuple2<T1, T2>, Tuple3<T3, T4, T5>> split2() {
        return new Tuple2<>(limit2(), skip2());
    }
230055
public final Tuple2<Tuple3<T1, T2, T3>, Tuple0> split3() {
        return new Tuple2<>(limit3(), skip3());
    }
265845
def Split(axis, a, n):
    
    return tuple(np.split(np.copy(a), n, axis=axis))
390327
def split(self):
        
        x = self.__class__()
        y = self.__class__()
        for dim, val in self.items():
            if isinstance(val, tuple):
                x[dim] = val[0]
                y[dim] = val[1]
            else:
                x[dim] = val
                y[dim] = val
        return x, y
257568
public final Tuple2<Tuple5<T1, T2, T3, T4, T5>, Tuple0> split5() {
        return new Tuple2<>(limit5(), skip5());
    }
496573
public final Tuple7<T5, T6, T7, T8, T9, T10, T11> skip4() {
        return new Tuple7<>(v5, v6, v7, v8, v9, v10, v11);
    }
654289
@SuppressWarnings("JavaDoc")
    public static <_1, _2> Tuple2<_1, _2> tuple(_1 _1, _2 _2) {
        return singletonHList(_2).cons(_1);
    }
452273
public static <T1, T2, T3> Tuple3<T1, T2, T3> tuple(T1 v1, T2 v2, T3 v3) {
        return new Tuple3<>(v1, v2, v3);
    }
1264052
public final <U1> Tuple2<U1, T2> map1(Function<? super T1, ? extends U1> function) {
        return Tuple.tuple(function.apply(v1), v2);
    }